You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure whether i'm doing something wrong or it is a bug. I'm running vips vips-8.9.1-Sun on aarch64 ubuntu. I'm trying to compress tiff image using ccittfax4 algorithm, which requires the input image to be black & white. Here what i'm doing:
Other savers (eg. the JPEG saver) will flatten for you if you pass an image with alpha, but of course TIFF supports everything (except ccittfax4 compression with alpha!), so it doesn't do much automatic conversion for you.
Perhaps selecting ccittfax4 compression should automatically convert to b-w, flatten, and set bitdepth to 1? Something for the todo list.
I'm not sure whether i'm doing something wrong or it is a bug. I'm running vips
vips-8.9.1-Sun
on aarch64 ubuntu. I'm trying to compress tiff image usingccittfax4
algorithm, which requires the input image to be black & white. Here what i'm doing:vips pdfload input.pdf output1.v --n -1
vips colourspace output1.v output2.v b-w
vips tiffsave output2.v result.tiff --compression ccittfax4
on third command i'm getting:
Which is unexpected for me because the input image is black & white. Any help?
The text was updated successfully, but these errors were encountered: