|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59459 frames order error when create gif animation
Submitted: 2010-10-13 10:43 UTC Modified: 2012-07-31 06:55 UTC
From: hi dot laowang at gmail dot com Assigned: vitoc (profile)
Status: Closed Package: gmagick (PECL)
PHP Version: 5.3.2 OS: linux
Private report: No CVE-ID: None
 [2010-10-13 10:43 UTC] hi dot laowang at gmail dot com
I want to create a two frames gif,frames order error

Reproduce code:

$img = new Gmagick('1.gif');



$img->addImage(new Gmagick('2.gif'));



Expected result:
first frame: 1.gif
second frame: 2.gif

Actual result:
first frame: 2.gif
second frame: 1.gif


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-07-31 06:55 UTC]
-Status: Assigned +Status: Closed
 [2012-07-31 06:55 UTC]
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at and the instructions on how to report
a bug at


The images are added according to the magick_wand interface:

unsigned int MagickAddImage( MagickWand *wand, const MagickWand *add_wand );

	status = MagickAddImage(intern->magick_wand, intern_add->magick_wand);

The order in which images are written is determined by magick_wand.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 01 23:01:27 2024 UTC