inline resize by percentage on builtin patterns and images

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
tazalh
Posts: 1
Joined: 2013-04-08T01:50:22-07:00
Authentication code: 6789

inline resize by percentage on builtin patterns and images

Post by tazalh »

When using inline resize with a percentage scale on built-in patterns and images the scaling is done twice.

examples:
'pattern:bricks' is 16x16
'pattern:bricks[200%]' is 64x64 when it should be 32x32
-size 256x256 'pattern:bricks[200%]' is 512x512 tiled 8x8 when it should be 256x256 tiles 8x8

The last example seems to show the two separate points where the scaling is applied when it should be only the first one.

Alan.
Post Reply