I have decided to use "convert" utility, usually located in 
/usr/X11R6/bin/ directory, to convert PNG images to BMP, because
I don't seem to understand libpng calls enough to add them to Arachne.
Additionaly, this makes Arachne completely independent on libpng and
libjpeg - you can use minimalistic Arachne just to view HTML pages with
GIFs, while you can still view JPEG and PNG images if you have ImageMagick
and djpeg packages installed... (which is default in RedHat 6.1)

But: convert's "bmp+" and "bmp" output filters seem to generate BMP files
undreadable by Arachne - especially file size is smaller, than declared 
bit depth would suggest. I have to force "bmp24" output filter, which
means, that results will be quite poor with Arachne running in 256 color
modes... please, can someone reverse-engineer output of "convert" and
explain me, how less-than-24bit BMPs from convert differ from output from
djpeg, which can be read by Arachne without problems... at least I think
so... ?

--
http://arachne.cz/ 
(Arachne WWW browser for DOS+Linux / Webhosting / MP3streaming)

Reply via email to