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

Random noise on reduced photos
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=3031
Page 1 of 1

Author:  snapper [ 15. Jun 2011, 19:25 ]
Post subject:  Random noise on reduced photos

On my most recent album there are random scatterings of white dots on some of the photos (.jpg) I have uploaded after being resized for display. However, if you click for a full size photo the dots disappear, and moving the photo across the screen rules out a display problem. I accessed them on another Windows PC and the problem remained, yet it does not happen when I access the album from my iPad. It even happens on folder.png.

I tried deleting the affected photos, emptying all the caches including the IE temporary files, and reloading them, but the noise persisted with identical patterns (different for each photo) as before. This has never happened on any of my other albums.

Could it be a compression problem on uploading, or is it my twg installation? Any suggestions would be gratefully received.

Author:  TinyWebGallery [ 15. Jun 2011, 21:34 ]
Post subject:  Re: Random noise on reduced photos

do you have image magick available. There the quality should be better. Check the info.

Best,
Michael

Author:  snapper [ 18. Jun 2011, 12:48 ]
Post subject:  Re: Random noise on reduced photos

I use PaintShopPro Photo X2 to resize my photos. However, I downloaded imagemagick as you suggested, used it to resize and uploaded again, but without any improvement.

When I first select a picture it displays in 'small' form correctly; but when I click to the next one and then click back the small image contains the noise. If I return to the gallery page and try again the same thing happens - OK first time, then noisy. Therefore it is unlikely to be a buffer/cache issue.

I conclude that the noise is being generated by twg, as the original thumbnail, small and full-size images are all without noise in the twg folder.

I can demonstrate the problem via my gallery if it would help.

Author:  TinyWebGallery [ 18. Jun 2011, 13:12 ]
Post subject:  Re: Random noise on reduced photos

I mean to use image magic on the server.

what do you mean with twg folder? in the cache?
the image in the cache are directly displayed in the browser.

- Michael

Author:  snapper [ 18. Jun 2011, 14:25 ]
Post subject:  Re: Random noise on reduced photos

The problem turns out to be the way Internet Explorer handles fade transitions, both when browsing one photo at a time or using slideshows with the cross fade or maximise options.

The solution is to add: $image_page_fade=1;

Thank you Michael for your prompt solution.

Author:  TinyWebGallery [ 18. Jun 2011, 18:58 ]
Post subject:  Re: Random noise on reduced photos

I have checked this. jquery and IE have a bug here (I think IE has it).
In 1.8.5 I will remove the css which is set by jquery and then the image is displayed fine.

But during the fade you still see it on big black areas. If you see this you can soon set fix_ie_fade=true;
Then black values are replaced with dark grey. Then the error are most of the time gone.

- Michael

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