Crop @ problem

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
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Crop @ problem

Post by snibgo »

Maybe it's my understanding (wouldn't be the first time), but there seems to be a bug in crop "@".

This makes the expected 110 crops:

f:\web\im>%IM%convert -size 268x233 xc: -crop 10x11@ +repage -format "%p " INFO:

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 8
3 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 10
7 108 109

But changing 268x233 to 267x233, we get only ten crops.

f:\web\im>%IM%convert -size 267x233 xc: -crop 10x11@ +repage -format "%p " INFO:

0 1 2 3 4 5 6 7 8 9
snibgo's IM pages: im.snibgo.com
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Crop @ problem

Post by magick »

We can reproduce the problem you posted and have a patch in ImageMagick 6.9.0-1 Beta available by sometime tomorrow. Thanks.
Post Reply