php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77127 A bug on Imagick::setImageCompressionQuality()
Submitted: 2018-11-08 21:42 UTC Modified: 2021-03-16 13:39 UTC
From: vhpvhp at msn dot com Assigned: cmb (profile)
Status: Duplicate Package: imagick (PECL)
PHP Version: 7.2.12 OS: Windows
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: vhpvhp at msn dot com
New email:
PHP Version: OS:

 

 [2018-11-08 21:42 UTC] vhpvhp at msn dot com
Description:
------------
http://php.net/manual/imagick.setimagecompressionquality.php

For a PNG image, Imagick::setImageCompressionQuality() is not work at all, length of the generated files are totally same, only a few bytes are different.

But if use Imagick::setOption('png:compression-level', 9), the value range is 0-9, it will works.

So I think it's a bug on Imagick::setImageCompressionQuality().


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-11-08 22:34 UTC] cmb@php.net
-Package: *Graphics related +Package: imagick
 [2018-11-09 08:04 UTC] a at b dot c dot de
What quality settings are you trying? Do you have a sample image to demonstrate with? (Note how the quality setting affects PNG compression: https://imagemagick.org/script/command-line-options.php#quality).
 [2021-03-16 13:39 UTC] cmb@php.net
-Status: Open +Status: Duplicate -Assigned To: +Assigned To: cmb
 [2021-03-16 13:39 UTC] cmb@php.net
This is already tracked as Github issue[1], so I'm closing this
ticket as duplicate.

[1] <https://github.com/Imagick/imagick/issues/176>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 18:01:29 2024 UTC