+2011-04-14 6.6.9-5 Anthony Thyssen <A.Thyssen@griffith...>
+ * Layers Composition Bug Fix, animations attributes of first image not
+ transfered in a single destination, multi-source image composition.
+
2011-04-09 6.6.9-5 Anthony Thyssen <A.Thyssen@griffith...>
* Add a special 'Voronoi' Distance method that will fill in holes using
the nearest non-transparent edge pixel. This is experimental, and one
CompositeCanvas(destination, compose, source, x_offset, y_offset);
/* copy source image attributes ? */
+ if ( source->next != (Image *) NULL )
+ {
+ destination->delay = source->delay;
+ destination->iterations = source->iterations;
+ }
source=GetNextImageInList(source);
while ( source != (Image *) NULL )
height += page.y-next->page.y;
page.y = next->page.y;
}
- if ( (ssize_t) width < (next->page.x + next->columns - page.x) )
- width = (size_t) next->page.x + next->columns - page.x;
- if ( (ssize_t) height < (next->page.y + next->rows - page.y) )
- height = (size_t) next->page.y + next->rows - page.y;
+ if ( (ssize_t) width < (next->page.x + (ssize_t)next->columns - page.x) )
+ width = (size_t) next->page.x + (ssize_t)next->columns - page.x;
+ if ( (ssize_t) height < (next->page.y + (ssize_t)next->rows - page.y) )
+ height = (size_t) next->page.y + (ssize_t)next->rows - page.y;
}
break;
}
if (method == MosaicLayer) {
page.x=next->page.x;
page.y=next->page.y;
- if ( (ssize_t) width < (next->page.x + next->columns) )
+ if ( (ssize_t) width < (next->page.x + (ssize_t)next->columns) )
width = (size_t) next->page.x + next->columns;
- if ( (ssize_t) height < (next->page.y + next->rows) )
+ if ( (ssize_t) height < (next->page.y + (ssize_t)next->rows) )
height = (size_t) next->page.y + next->rows;
}
}