-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quality for jpges not changing #44
Comments
What library are you using? Gd or Imagick? |
Im not defined library, but i think by default is GD :) |
I've reproduced your code here https://github.com/oscarotero/imagecow/blob/master/example/quality.php |
Ok, i now get it where is problem... |
To me, both methods works fine. "low-less-image.jpg" has the same low quality than show() |
To mo save() function not change image quality :( |
here is demo: https://jek-siltums.the-webapps.com/imagecow/tests.php |
No idea. This code works fine to me (save and show). Are you sure that the new image is really saved in this directory and is the same that is loaded by the html? |
Yes, it's generate new image every time when this url is opened! |
Hi, i have this code:
$quality = 80; $image = Image::fromFile($file); $image->autoRotate(); if(!empty($wm)){ $watermark = Image::fromFile($wm); $image->watermark($watermark, $x = 'right', $y = 'bottom'); } $image->quality($quality); $image->resize($w, $h); $image->save($dest);
I can set quality 10 or 90 the image size (in kb) and quality afters save is the same :(
The text was updated successfully, but these errors were encountered: