|
之前写了一个带界面的图片格式批量转换工具,现在根据客户需求,要改成能通过bat调用,以下是bat文件内容:
CPB = E:\EV5800\ev2000\fscreate\png2bmp\Debug\png2bmp.exe
DIR = E:\EV5800\ev2000\fscreate\test\icons
BACKGROUND = $(DIR)\common\background.bmp
#all: $(HOMES)
#$(ALARMS) $(MSG) $(NUM) $(TALK) $(STATUS)
HOMES: $(DIR)\common\background.bmp \
$(DIR)\common\toolbar_bg.bmp \
$(DIR)\num\toolbar_num\lcdnum_fuhao.bmp \
$(DIR)\num\toolbar_num\lcdnum_maohao.bmp\
$(DIR)\home\alarm_clock_icon.bmp \
$(DIR)\common\text_bg_normal.bmp\
$(DIR)\common\text_bg_active.bmp\
$(DIR)\common\text_bg_normal.bmp\
$(DIR)\home\talker_icon.bmp\
$(DIR)\home\talker_icon_h.bmp\
$(DIR)\home\alarm_icon.bmp\
$(DIR)\home\alarm_icon_h.bmp\
$(DIR)\home\msg_icon.bmp\
$(DIR)\home\msg_icon_h.bmp\
$(DIR)\home\photo_icon.bmp\
$(DIR)\home\photo_icon_h.bmp\
$(DIR)\home\setting_icon.bmp\
$(DIR)\home\setting_icon_h.bmp
$(DIR)\common\background.bmp: $(DIR)\common\background.png
$(CPB) $(DIR)\common\background.png $(DIR)\common\background.bmp -c000000 0 0
$(DIR)\common\toolbar_bg.bmp: $(DIR)\common\toolbar_bg.png $(BACKGROUND)
$(CPB) $(DIR)\common\toolbar_bg.png $(DIR)\common\toolbar_bg.bmp $(BACKGROUND) 0 0
|
|