Bug #77368 [Opn->Fbk]: createimagefromgif() function don't work normaly

From: Date: Sat, 29 Dec 2018 11:30:56 +0000
Subject: Bug #77368 [Opn->Fbk]: createimagefromgif() function don't work normaly
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-218672@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77368&edit=1

 ID:                 77368
 Updated by:         cmb@php.net
 Reported by:        caovietlam at gmail dot com
 Summary:            createimagefromgif() function don't work normaly
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            GD related
 Operating System:   Windows 10 Pro 64 bit
 PHP Version:        5.6.39
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

Please make the source file 'anh.gif' available for download from
somewhere else (this bugtracker does not allow to attach image
files).


Previous Comments:
------------------------------------------------------------------------
[2018-12-29 11:16:02] caovietlam at gmail dot com

Description:
------------
The source file 'anh.gif' is viewing normally in any photo viewer.
The destination files look so different with source file.
Still appear when test with PHP 7.3.0.

Test script:
---------------
<?php
	// Load image from test file
	$im = imagecreatefromgif('anh.gif');
	// Save to anothers format
	imagegif($im, 'test.gif');
	imagepng($im, 'test.png');
	imagejpeg($im, 'test.jpg');
	
?>

Expected result:
----------------
Destination files are similar with source when viewing.



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=77368&edit=1


Thread (9 messages)

« previous php.bugs (#218672) next »