Login
Back to forumSee the full topicGo to last reply

Posted By

IstvanV
on 2008-09-12
06:07:31
 Re: plus4emu FLI converter

The converter can be used from the command line, so you can simply write a .bat file that converts all files in a directory. For example, the following batch file would convert all .png files in the current directory to raw compressed 160x240 non-interlaced multicolor FLI images (p4fliconv.exe and compress.exe should be in the PATH):
@echo off
for %%i in (*.png) do p4fliconv.exe -mode 5 -size 240 -xshift 0 0 -outfmt 1 -mcquality 30 -dither 2 1 0.95 %%i %%i.fli
for %%i in (*.fli) do compress.exe -m2 -9 -fli %%i %%i.cmp
del *.fli
ren *.png.fli.cmp *.fli
You can print the command line usage for each utility with the --help option:
compress.exe --help
p4fliconv.exe --help




Back to top


Copyright © Plus/4 World Team, 2001-2024