From: Cristy Date: Sun, 19 Aug 2018 11:18:29 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.8-11~61 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9d750c2abeeb459214f5e34ee783d3168cf09247;p=imagemagick ... --- diff --git a/MagickCore/fx.c b/MagickCore/fx.c index 4581b225d..dfd87137e 100644 --- a/MagickCore/fx.c +++ b/MagickCore/fx.c @@ -1766,6 +1766,10 @@ static double FxGetSymbol(FxInfo *fx_info,const PixelChannel channel, return((double) image->page.x); if (LocaleCompare(symbol,"page.y") == 0) return((double) image->page.y); + if (LocaleCompare(symbol,"printsize.x") == 0) + return(image->columns/image->resolution.x); + if (LocaleCompare(symbol,"printsize.y") == 0) + return(image->rows/image->resolution.y); break; } case 'Q':