|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-03-11 20:27 UTC] me at brot-und-spiele dot de
[2013-09-25 07:43 UTC] mkoppanen@php.net
[2013-09-25 07:43 UTC] mkoppanen@php.net
-Status: Open
+Status: Feedback
[2013-09-29 06:56 UTC] sites at hubmed dot org
[2013-09-29 07:11 UTC] mkoppanen@php.net
[2013-10-03 06:53 UTC] mkoppanen@php.net
-Status: Feedback
+Status: Wont fix
[2013-10-03 06:53 UTC] mkoppanen@php.net
[2013-10-03 14:57 UTC] mkoppanen@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 13:00:01 2025 UTC |
Description: ------------ When converting a PNG image to JPEG, by using setImageFormat('JPEG'), writing the file out using writeImage('file.jpg') correctly produces a JPEG file, as does getImageBlob(), but writeImageFile($resource) produces a PNG file. PHP 5.4.9-4ubuntu1 ImageMagick 6.7.7-10 Imagick 3.1.0RC2 Test script: --------------- https://gist.github.com/hubgit/4951551 Expected result: ---------------- writeImageFile produces an image in the format set using setImageFormat. Actual result: -------------- writeImageFile produces an image in the format that it was originally created as.