php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #58670 imposible to set quality compression
Submitted: 2009-05-14 04:52 UTC Modified: 2009-05-14 05:18 UTC
From: polkila at gmail dot com Assigned:
Status: Closed Package: imagick (PECL)
PHP Version: 5.2.8 OS: FreeBSD 7.0-RELEASE i386 GENERIC
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
32 - 10 = ?
Subscribe to this entry?

 
 [2009-05-14 04:52 UTC] polkila at gmail dot com
Description:
------------
setCompressionQuality() is not working


Reproduce code:
---------------
$img = new Imagick($s_file);
$img->setCompression(Imagick::COMPRESSION_JPEG);
$img->setCompressionQuality(20);


Expected result:
----------------
changing quality of destination image


Actual result:
--------------
not changing


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-05-14 05:18 UTC] mkoppanen@php.net
Hi,

use setImageCompression and setImageCompressionQuality. Looks like setImageCompressionQuality documentation was missing but it is added now.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 03:01:32 2024 UTC