possible bug string format %G IM 6.8.6.8 Q16
Posted: 2013-08-07T09:16:39-07:00
The documentation on http://www.imagemagick.org/script/escape.php shows:
%G image size ( = %wx%h )
%P page (canvas) size ( = %Wx%H )
But %G reports the same values as %P which are the page size and the the image size
convert -size 500x500 xc:black -size 100x100 xc:white \
-geometry +200+300 -compose over -composite -trim -format "%G" info:
500x500
convert -size 500x500 xc:black -size 100x100 xc:white \
-geometry +200+300 -compose over -composite -trim -format "%P" info:
500x500
convert -size 500x500 xc:black -size 100x100 xc:white \
-geometry +200+300 -compose over -composite -trim -format "%wx%h" info:
100x100
%G image size ( = %wx%h )
%P page (canvas) size ( = %Wx%H )
But %G reports the same values as %P which are the page size and the the image size
convert -size 500x500 xc:black -size 100x100 xc:white \
-geometry +200+300 -compose over -composite -trim -format "%G" info:
500x500
convert -size 500x500 xc:black -size 100x100 xc:white \
-geometry +200+300 -compose over -composite -trim -format "%P" info:
500x500
convert -size 500x500 xc:black -size 100x100 xc:white \
-geometry +200+300 -compose over -composite -trim -format "%wx%h" info:
100x100