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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: polkila at gmail dot com
New email:
PHP Version: OS:

 

 [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: Thu May 02 02:01:28 2024 UTC