/*
Initialise Previous Image as fully transparent
*/
- prev_image=CloneImage(curr,curr->page.width,curr->page.height,
- MagickTrue,exception);
+ prev_image=CloneImage(curr,curr->columns,curr->rows,MagickTrue,exception);
if (prev_image == (Image *) NULL)
{
bounds=(RectangleInfo *) RelinquishMagickMemory(bounds);
dup_bounds.width=dup_bounds.height=0; /* no dup, no pixel added */
if ( add_frames )
{
- dup_image=CloneImage(curr->previous,curr->previous->page.width,
- curr->previous->page.height,MagickTrue,exception);
+ dup_image=CloneImage(curr->previous,curr->previous->columns,
+ curr->previous->rows,MagickTrue,exception);
if (dup_image == (Image *) NULL)
{
bounds=(RectangleInfo *) RelinquishMagickMemory(bounds);
/*
Now compare against a simple background disposal
*/
- bgnd_image=CloneImage(curr->previous,curr->previous->page.width,
- curr->previous->page.height,MagickTrue,exception);
+ bgnd_image=CloneImage(curr->previous,curr->previous->columns,
+ curr->previous->rows,MagickTrue,exception);
if (bgnd_image == (Image *) NULL)
{
bounds=(RectangleInfo *) RelinquishMagickMemory(bounds);
bgnd_image=DestroyImage(bgnd_image);
if ( disposals[i-1] == NoneDispose )
{
- prev_image=CloneImage(curr->previous,curr->previous->page.width,
- curr->previous->page.height,MagickTrue,exception);
+ prev_image=CloneImage(curr->previous,curr->columns,
+ curr->rows,MagickTrue,exception);
if (prev_image == (Image *) NULL)
{
bounds=(RectangleInfo *) RelinquishMagickMemory(bounds);