mirror of
https://github.com/mosbth/cimage.git
synced 2025-07-25 02:31:20 +02:00
correcting jpeg when setting quality
This commit is contained in:
@@ -336,6 +336,7 @@ EOD;
|
||||
protected function SetQuality() {
|
||||
if(!$this->quality) {
|
||||
switch($this->extension) {
|
||||
case 'jpeg':
|
||||
case 'jpg':
|
||||
$this->quality = self::JPEG_QUALITY_DEFAULT;
|
||||
break;
|
||||
|
@@ -91,6 +91,7 @@ v0.4.x (latest)
|
||||
* Fixed support for jpeg, not only jpg.
|
||||
* Fixed crop whole image by setting crop=0,0,0,0
|
||||
* Use negative values for crop width & height to base calulation on original width/height and withdraw selected amount.
|
||||
* Correcting jpeg when setting quality.
|
||||
|
||||
|
||||
v0.4 (2013-10-08)
|
||||
|
Reference in New Issue
Block a user