I made a hybrid utility "fi_c44".
It is с44 which uses FreeImage.sf.net library to open the graphical files.
fi_c44 converts any FreeImage-supported graphical file (more than 30 - TIF, BMP, JPEG-2000, etc.) DIRECTLY to DjVu (DjVuPhoto).
fi_c44 - is a console Win32-only utility. It requires FreeImage.dll for its functioning.
I also introduced a new option:
-bsf n -- select an int background subsampling factor (2..12)"
It is analoguous to csepdjvu. It is needed if you plan to reuse later the BG44 chunk from the resulting DjVu.
Download fi_c44 binary (sourcecode + FreeImage.dll included) here:
http://www.djvu-soft.narod.ru/soft/fi_c44.rar (546 KB)
P.S. Thanks to Leon Bottou and Andrew Zhezherun who helped me greatly to create this utility.
Thanks monday? this is very very useful for the non imagemagick people :-)
The `Only 24-bit color or 8-bit greyscale images are supported` message is from freeimage or from c44?
It is my limitation and it was made just for simplicity.
There is no problem to modify fi_c44 to make it work with 8-bit color images.
Log in to post a comment.
I made a hybrid utility "fi_c44".
It is с44 which uses FreeImage.sf.net library to open the graphical files.
fi_c44 converts any FreeImage-supported graphical file (more than 30 - TIF, BMP, JPEG-2000, etc.) DIRECTLY to DjVu (DjVuPhoto).
fi_c44 - is a console Win32-only utility. It requires FreeImage.dll for its functioning.
I also introduced a new option:
-bsf n -- select an int background subsampling factor (2..12)"
It is analoguous to csepdjvu. It is needed if you plan to reuse later the BG44 chunk from the resulting DjVu.
Download fi_c44 binary (sourcecode + FreeImage.dll included) here:
http://www.djvu-soft.narod.ru/soft/fi_c44.rar (546 KB)
P.S. Thanks to Leon Bottou and Andrew Zhezherun who helped me greatly to create this utility.
Thanks monday? this is very very useful for the non imagemagick people :-)
The `Only 24-bit color or 8-bit greyscale images are supported` message is
from freeimage or from c44?
It is my limitation and it was made just for simplicity.
There is no problem to modify fi_c44 to make it work with 8-bit color images.