close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

ImageResizer Image Quality

Thread began 8/20/2012 8:02 am by Christopher West | Last modified 4/19/2021 4:15 pm by Ray Borduin | 2709 views | 7 replies |

Christopher WestCommunity Expert

ImageResizer Image Quality

Hi

I was wondering with the latest build of ImageResizer the default image quality is 75% but I need this to change to 100% since im using thumbnails of screenshots and 75% just makes them look real bad.

Im guessing that I would need to modify CachedResize_Image.php but not sure where and what to...

in the PHP manual it states I would add a value imagejpg but there is not reference to that in the code where I can add a value to.

Chris

Sign in to reply to this post

Christopher WestCommunity Expert

ok i think I found what I needed to change but just wanted to confirm thats all I needed to change:

LINE 207

$process = $image_save_func($image_c, $save_path, 100);

changed to :

$process = $image_save_func($image_c, $save_path);

are there any other parameters that I could change to improve quality of image, or was it just this line?

Chris

Sign in to reply to this post

Jason ByrnesWebAssist

That looks correct, image quality only applies to jpegs and there is only the one parameter.

Sign in to reply to this post

designweb

I am having the same problem. I need to be able to change the compression amount on my jpg files.

on line 207 my code is already set too $process = $image_save_func($image_c, $save_path);

Do I need to change this?

My images look way to compressed, I am sure that in older versions of this plugin you could set the amount, but I may be wrong.

I am using the latest version to date.

Sign in to reply to this post

Jason ByrnesWebAssist

change line 207:
$process = $image_save_func($image_c, $save_path);

to:
$process = $image_save_func($image_c, $save_path, 100);

Sign in to reply to this post

designweb

I tried this and it did re-cache the image as I could see the changes in github, that they had been deleted and added again, but they seem to look the same.
The original images are a lot bigger and a good resolution, so not sure why they are still looking to compressed.

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

can you provide a link where i can see the problem

Sign in to reply to this post

katohkaelin443216

I am searching for this problem since last 3 days. These posts help me for solving it.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...