Cannot write extremely wide PNG files
Posted: 2018-06-16T17:02:36-07:00
This works:
convert rose: -resize '34040x256!' out.png
But this produces an image that is solid blue:
convert rose: -resize '34041x256!' out.png
I'm doing this because I have a 1-bit 127296x256 PBM image that I need to convert to PNG. ImageMagick can't convert it, but "pnmtopng" can (which proves that the PNG format is capable of representing images of that size).
Version: ImageMagick 7.0.7-31 Q16 x86_64 2018-05-08 https://www.imagemagick.org
Features: Cipher DPC HDRI
Delegates (built-in): bzlib djvu fftw fontconfig freetype gslib gvc jbig jng jp2 jpeg lcms lzma openexr pangocairo png ps raw tiff webp xml zlib
convert rose: -resize '34040x256!' out.png
But this produces an image that is solid blue:
convert rose: -resize '34041x256!' out.png
I'm doing this because I have a 1-bit 127296x256 PBM image that I need to convert to PNG. ImageMagick can't convert it, but "pnmtopng" can (which proves that the PNG format is capable of representing images of that size).
Version: ImageMagick 7.0.7-31 Q16 x86_64 2018-05-08 https://www.imagemagick.org
Features: Cipher DPC HDRI
Delegates (built-in): bzlib djvu fftw fontconfig freetype gslib gvc jbig jng jp2 jpeg lcms lzma openexr pangocairo png ps raw tiff webp xml zlib