Skip to content

Commit

Permalink
Compression type
Browse files Browse the repository at this point in the history
  • Loading branch information
notesz committed Jun 13, 2020
1 parent 65065e3 commit de847a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "innobotics/imageresize",
"description": "PHP class to resize images",
"version" : "1.4.3",
"version" : "1.4.4",
"type": "library",
"keywords": ["image", "resize", "php", "retina"],
"homepage": "https://github.com/innobotics/imageresize",
Expand Down
2 changes: 1 addition & 1 deletion src/ImageResize.php
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ public function resize()

// Set compression quality
$img->setCompressionQuality($this->compression);
$img->setImageCompressionQuality($this->compression);
$img->setImageCompressionQuality($this->compressionType);

// Save
$outFileName = (empty($this->prefix) ? '' : $this->prefix . self::SEPARATOR) . $fileName . self::SEPARATOR . $key . '.' . $fileNameExtension;
Expand Down

0 comments on commit de847a9

Please sign in to comment.