php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59385 getNumberImages can't get right value in gif animated picture
Submitted: 2010-08-25 03:42 UTC Modified: 2010-09-12 04:23 UTC
From: hi dot laowang at gmail dot com Assigned:
Status: Closed Package: gmagick (PECL)
PHP Version: 5.3.2 OS: linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: hi dot laowang at gmail dot com
New email:
PHP Version: OS:

 

 [2010-08-25 03:42 UTC] hi dot laowang at gmail dot com
Description:
------------
when I use Blob to process gif animated picture (for example: 2 frames), getNumberImages can't get right value

Reproduce code:
---------------
$file = '/path/to/animated/gif/picutre';

$foo = new Gmagick($file);

var_dump($foo->getNumberImages());

$bar = new Gmagick();

$bar->readImageBlob($foo->getImageBlob());

var_dump($bar->getNumberImages());

Expected result:
----------------
int(2)
int(2)

Actual result:
--------------
int(2)
int(1)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-09-12 04:23 UTC] vito@php.net
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at
http://pecl.php.net/get/gmagick


 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Aug 21 03:01:27 2019 UTC