Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Improving image quality
https://www.tinywebgallery.com/forum/viewtopic.php?f=4&t=2352
Page 1 of 1

Author:  sportz [ 12. Jan 2010, 00:59 ]
Post subject:  Improving image quality

I am running TWG 1.6.3.
Just wondering how to improve the quality of the images which show in my gallery.
I FTP the photos directly to the folder - images are generally between 80-200 KB - quality looks good when we look at them on our PC, but application seems to reduce the quality when they are displayed.

I'm unsure what is doing this?

$small_pic_size = 333;
$resize_only_if_too_big=false;
$use_small_pic_size_as_height=true;

So I imagine that images are scaled back to 333 high - I would not expect this to reduce quality but maybe it does.. ???
Welcome your feedback.

Thanks!
Jen

Author:  TinyWebGallery [ 12. Jan 2010, 10:35 ]
Post subject: 

of course it does because you have set

$resize_only_if_too_big=false;
So all images are resized to the same size.

If you upload your images smaller than 333 px and set
$resize_only_if_too_big=true;

then the images at not resized.
Or you can use image magick which often has better image quality.

Best,
Michael

Author:  sportz [ 12. Jan 2010, 11:25 ]
Post subject: 

Hi there

Sorry I should have mentioned that the height is greater than 333px - for example the latest lot are 550x366.

So are you suggesting that as long as images are greater than 333px high there is nothing else (e.g. no other setting) which should reduce the quality??

To use image_magick I would need to upgrade to 1.7 and check if it's supported on the server (and clear the image cache)?

Sorry if I'm asking obvious questions :-)

Regards
Jen

Author:  TinyWebGallery [ 12. Jan 2010, 12:39 ]
Post subject: 

First you should check if you have image magick.

and upgrading to the latest version is always a good idea - you find a patch on the hopepage (or in the forum if you already want to use 1.8).

you can increate the image quality a little bit by changing the compression factor - but don't expect a big difference there.

- Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/