t246246

Results comments of t246246

It seems this happens only on Windows, both with version 1.1.1 and 2.0.0-rc.17. The very first time, i.e. no .awcache folder, it works, but after that folder was created, this...

So far as I tried, this happened input file is black and white only but also has alpha. ``` $ magick x.png -format '%c' histogram:info:- 1990: ( 0, 0, 0,255)...

@richmarisa Your case seems to be fixed in recent changes, I checked at `7.0.9-2 Q16 x86_64 2019-11-01` version. ``` $ magick \( -size 2500x3300 xc:white -density 300x300 \) -compress group4...

It seems working as expected with ImageMagick 7.0.9-17 Q16 x86_64 2020-01-21 using your file.

Imagmagick will try to do some optimize when converting. Similar issue will be found at https://github.com/dlemstra/Magick.NET/issues/376 . IMO there should be a option to keep it as RGB, but currently...

If -define auto-grayscale=off dose not work, this seems to be a bug. (Sorry I cannot try it now.)

snibgo, can we use -type TrueColor or -type TrueColorAlpha in this case? https://www.imagemagick.org/discourse-server/viewtopic.php?p=167184#p167184

That's only applicable for PNG. I think it is more general solution to use -type if it works. However, if one can use -type, users need to know the input...

According to GS manual https://www.ghostscript.com/doc/9.53.3/Use.htm#EPS_parameters, -dEPSCrop see the bounding box. So BoundingBox is enough to crop, but it looks -g5100x6600 is honored rather than that. (See also https://github.com/ImageMagick/ImageMagick/discussions/2632#discussioncomment-89114 )

But the command and input file is always the same.