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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 16:01:31 2024 UTC