(imagemagick_compute_animated_image): Setting the iterator row to
zero is apparently not allowed.
* image.c (imagemagick_compute_animated_image): Animate correctly
when sub-images are smaller than the main image.
+ (imagemagick_compute_animated_image): Setting the iterator row to
+ zero is apparently not allowed.
2013-08-15 Jan Djärv <jan.h.d@swipnet.se>
/* The sub-image may not start at origo, so move the destination
iterator to where the sub-image should start. */
- PixelSetIteratorRow (dest_iterator, source_top);
+ if (source_top > 0)
+ PixelSetIteratorRow (dest_iterator, source_top);
while ((source = PixelGetNextIteratorRow (source_iterator, &source_width))
!= NULL)