Hello,
I have problems with png images that are not in RGBA format, but are greyscale or pallete based. If I try to process such an image with vips, I get a fully black image.
I tried with http://upload.wikimedia.org/wikipedia/commons/6/6f/Encyclopedie_volume_3-320.png
D:\Bryan\vips>bin\vips im_png2vips Encyclopedie_volume_3-320.png Encyclopedie_volume_3-320.v
D:\Bryan\vips>bin\vips im_resize_linear Encyclopedie_volume_3-320.v thumb.png 365 492
The resulting thumb.png is a 365x492 black image.
I searched the wiki, but could not find anything about palette PNG images. Is this a bug, or should I use some different commands to get vips to recognize the image properly?
Regards,
Bryan
|