Re: How to know the image's transparent space?
Posted: 2019-07-02T14:46:38-07:00
My error. Snibgo is correct -- it could be any color. Any perfectly constant color will trim to 0x0.
Use https://github.com/ImageMagick/ImageMagick/discussions instead.
https://imagemagick.com/discourse-server/
https://imagemagick.com/discourse-server/viewtopic.php?t=36219
Code: Select all
magick -size 10x10 xc:White -format %@ info:
magick: geometry does not contain image `' @ warning/attribute.c/GetImageBoundingBox/240.
0x0+10+10
magick -size 10x10 xc:None -format %@ info:
magick: geometry does not contain image `' @ warning/attribute.c/GetImageBoundingBox/240.
0x0+10+10