Page 1 of 1

Crop @ problem

Posted: 2014-12-15T02:29:16-07:00
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

Re: Crop @ problem

Posted: 2014-12-15T05:41:12-07:00
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.