The code seems to be correct, i think my calculation of the crop rectangle was not correct.
It works now so i can move on.
Search found 2 matches
- 2012-12-12T11:12:03-07:00
- Forum: Magick++
- Topic: Tiling an image (sequential crop/chop)
- Replies: 1
- Views: 7755
- 2012-12-11T15:14:35-07:00
- Forum: Magick++
- Topic: Tiling an image (sequential crop/chop)
- Replies: 1
- Views: 7755
Tiling an image (sequential crop/chop)
Hi, I'm trying to chop my image into X x Y tiles. But i cannot find a way to do it effeciently. Bellow is the code. The first loop works (the 0,0 tile is created) but the next loop will fail. My guess is that the image data is not copied each loop and that the crop has broken the 'original' image ...