Board index PBase Questions and Answers Image Auto Soften Images

Questions and Answers

Image Auto Soften Images

Ask if you need help using PBase.
richo
 
Posts: 248

Image Auto Soften Images

Post Sun Aug 04, 2019 4:47 pm


Has anyone else noticed that the "auto" setting on the image displays actually softens the image? Try viewing an image at "original" then click "auto" and then back to "original." For me there is a softening of the sharpness in the image. I have looked but cannot find a setting that "turns" off auto. The default seems to be for "auto" to be on.

jypsee
 
Posts: 1247

Re: Image Auto Soften Images

Post Mon Aug 05, 2019 6:08 pm


Pbase images shouldn’t be longer than 800 pixels on the width, or 600 pixels on the height in order to display correctly. I’ve learned this from over 10 years of posting in Pbase.
What you describe is just the opposite of what happens to pictures I upload without resizing. The “large” view is soft and the “original” view is not.
The way you’re viewing pictures may contribute to how they look on your screen. I use an iPad Pro 12.9 inch to view Pbase. It’s great at showing me pictures that I should have resized or sharpened.
I’d love to turn off the auto function on image viewing.

richo
 
Posts: 248

Re: Image Auto Soften Images

Post Mon Aug 05, 2019 8:41 pm


jypsee wrote:Pbase images shouldn’t be longer than 800 pixels on the width, or 600 pixels on the height in order to display correctly. I’ve learned this from over 10 years of posting in Pbase.
What you describe is just the opposite of what happens to pictures I upload without resizing. The “large” view is soft and the “original” view is not.
The way you’re viewing pictures may contribute to how they look on your screen. I use an iPad Pro 12.9 inch to view Pbase. It’s great at showing me pictures that I should have resized or sharpened.
I’d love to turn off the auto function on image viewing.


Well, I have been posting images on Pbase since 2002 and never had a problem with softening of images at sizes larger than 800x600. Until recently, I had been using 1040x640 and now mostly use 1280x915 or 1280x720. Image softness can be affected by the resolution of the viewing display, but that is not what I am seeing. I am seeing an actual change in the sharpness of the image when viewed in auto - they look unsharp compared to any other size. I picked original because the effect is more noticeable.

akmc_in_au
 
Posts: 954

Re: Image Auto Soften Images

Post Tue Aug 06, 2019 11:19 am


richo wrote:
jypsee wrote:Pbase images shouldn’t be longer than 800 pixels on the width, or 600 pixels on the height in order to display correctly. I’ve learned this from over 10 years of posting in Pbase.
What you describe is just the opposite of what happens to pictures I upload without resizing. The “large” view is soft and the “original” view is not.
The way you’re viewing pictures may contribute to how they look on your screen. I use an iPad Pro 12.9 inch to view Pbase. It’s great at showing me pictures that I should have resized or sharpened.
I’d love to turn off the auto function on image viewing.


Well, I have been posting images on Pbase since 2002 and never had a problem with softening of images at sizes larger than 800x600. Until recently, I had been using 1040x640 and now mostly use 1280x915 or 1280x720. Image softness can be affected by the resolution of the viewing display, but that is not what I am seeing. I am seeing an actual change in the sharpness of the image when viewed in auto - they look unsharp compared to any other size. I picked original because the effect is more noticeable.


PBase images rarely look good at anything other than Original size, whatever that size may be. That's why I for one would prefer Original to be the default, though that would still cause problems with people who either forget to or don't know how to resize, and post 6000 pixel wide images showing every pore and nose hair of a model.

The key problem with viewing any size other than Original is that PBase's resizing algorithm is pretty primordial compared to something like Photoshop's. A 1200 pixel wide image which is viewed at the 800 pixel large size will lose sharpness. But so will a photo which is resized by only a few pixels because it's the entire photo that is being resized and reprocessed, not just those few pixels.

Your image PalmBeach Waves Crashing in your New Zealand gallery, for instance, has an Original size of 1,280px × 960px. However if you toggle to Auto this becomes, and I quote, "1,280px × 960px (scaled to 1,273px × 955px)". Yes, that's only 7 pixels of width and 5 of height but it does mean that the whole image has been reprocessed to fit that smaller size; it's not just an exercise in cropping. It's not a catastrophic change, but it's a noticeable one.

richo
 
Posts: 248

Re: Image Auto Soften Images

Post Tue Aug 06, 2019 2:26 pm


PBase images rarely look good at anything other than Original size, whatever that size may be. That's why I for one would prefer Original to be the default, though that would still cause problems with people who either forget to or don't know how to resize, and post 6000 pixel wide images showing every pore and nose hair of a model.

The key problem with viewing any size other than Original is that PBase's resizing algorithm is pretty primordial compared to something like Photoshop's. A 1200 pixel wide image which is viewed at the 800 pixel large size will lose sharpness. But so will a photo which is resized by only a few pixels because it's the entire photo that is being resized and reprocessed, not just those few pixels.

Your image PalmBeach Waves Crashing in your New Zealand gallery, for instance, has an Original size of 1,280px × 960px. However if you toggle to Auto this becomes, and I quote, "1,280px × 960px (scaled to 1,273px × 955px)". Yes, that's only 7 pixels of width and 5 of height but it does mean that the whole image has been reprocessed to fit that smaller size; it's not just an exercise in cropping. It's not a catastrophic change, but it's a noticeable one.


I think you hit on part of the problem. I just stepped through the paging.v8.js code which is where the "auto_size" action is happening - well actually it is not happening. The code is not working correctly. No matter the window size of the browser the auto_size activates without a proper parameter which ends up resizing everything a fraction smaller. It should be resizing to the window.innerwidth or slightly smaller than it (which might be those extra pixels), but the code is looking for window.width which does not exist in the object. So it looks like it is just resizing to the fraction smaller and not the actual window width plus the extra smaller fraction to bring it within the window width.

Also resizing using the proper tools should not change sharpening - usually smaller sizes actually look a bit better when sized smaller than the device's display resolution. In Photoshop when you downsize say a 12MB image to the device's resolution it looks better than when viewed sized more than the device's resolution. And the softening caused by pbase.com's auto_size is happening on my images that are smaller than 800px wide (https://pbase.com/richo/image/122524089) and one images that are 720HD (https://pbase.com/richo/image/168791869) and images that have 1920 as the width (https://pbase.com/richo/image/168563180). On my website, the code there downsizes everything to 800x600 (which I hate), but it does it more or less correctly compared to what is happening on pbase.com with the "auto_size" function.

Bottom-line, once again code was rushed out to get the pbase.com "mobile ready" that doesn't actually work.


Board index PBase Questions and Answers Image Auto Soften Images

Who is online

Users browsing this forum: ClaudeBot and 1 guest