Page 1 of 2

PNG (icon) "blur"

Posted: Sat Jul 30, 2016 11:11 pm
by Nicsoft
Can it be a bug in the PNG Datatype 53.10 or the Radeon HD driver 2.7, that causes the graphics "blur" on the icons?
- Using Dir Me Up 3 (all previous versions have had this "blur" to). The "blur" only affects the .png -icons of Dir Me Up, not any AmigaOS .iff -icons...

The author "Glames" doesn't have this problem and says it's AmigaOS related.
My system: Sam460ex. Radeon HD4550. AmigaOS 4.1 FE.

Screenshot:
http://nicsoft.se/pics/PNG_DT5310_Radeon_HD_27.png

Re: PNG (icon) "blur"

Posted: Sun Jul 31, 2016 8:11 am
by K-L
Same thing on Sam440. I will report to Glames (but I don't think it's a bug, seems normal behaviour of DirMeUp).

Re: PNG (icon) "blur"

Posted: Sun Jul 31, 2016 8:54 am
by Nicsoft
Perhaps he could do an .iff -version "ONLY" (without .png icons I mean)...
Then we could see if it would solve this little problem?

PS! I have contacted Glames.

Re: PNG (icon) "blur"

Posted: Sun Jul 31, 2016 7:10 pm
by xenic
Nicsoft wrote:Can it be a bug in the PNG Datatype 53.10 or the Radeon HD driver 2.7, that causes the graphics "blur" on the icons?
No. The problem is that you can't have much detail in a 20x16 pixel image and when you add alpha blending to images that small, they just look blurred. When the prices on 4k monitors come down and we have 4k capable graphics cards, most of the toolbar images in OS4 programs will be so small you will need a magnifying glass to tell what they represent. Programs that use text buttons will still be readable by changing fonts.

Re: PNG (icon) "blur"

Posted: Wed Sep 07, 2016 2:24 pm
by Nicsoft
Fixing these graphics glitches in AmigaOS 4.1 FE would be nice. The PNG rendering glitch in (for example) Dir Me Up: [ http://nicsoft.se/pics/DirMeUp_PNG_glitch.png ] and a "letter" glitch,
(here an example) in Jack: [ http://nicsoft.se/pics/Jack_last-letter_glitch.png ] (often a vertical line in a letter, in this case the "s"). Finally a MUI glitch in OWB: [ http://nicsoft.se/pics/OWB_1.23_Close_glitch.png ]...

Couldn't it be graphics.library (DMA?) related? (These glitches). An answer from "the Hyperion guys" would be very welcome..!

Re: PNG (icon) "blur"

Posted: Wed Sep 07, 2016 6:01 pm
by broadblues
xenic wrote:
Nicsoft wrote:Can it be a bug in the PNG Datatype 53.10 or the Radeon HD driver 2.7, that causes the graphics "blur" on the icons?
No. The problem is that you can't have much detail in a 20x16 pixel image and when you add alpha blending to images that small, they just look blurred. When the prices on 4k monitors come down and we have 4k capable graphics cards, most of the toolbar images in OS4 programs will be so small you will need a magnifying glass to tell what they represent. Programs that use text buttons will still be readable by changing fonts.
Adding alphs to a image does not create blur at any size.

Scaling a small image up and filtering to remove the jaggies will create blur, but that doesn't appear to be what is happening in thiose screen shots.

Re: PNG (icon) "blur"

Posted: Wed Sep 07, 2016 6:05 pm
by broadblues
Nicsoft wrote:Fixing these graphics glitches in AmigaOS 4.1 FE would be nice. The PNG rendering glitch in (for example) Dir Me Up: [ http://nicsoft.se/pics/DirMeUp_PNG_glitch.png ] and a "letter" glitch,
(here an example) in Jack: [ http://nicsoft.se/pics/Jack_last-letter_glitch.png ] (often a vertical line in a letter, in this case the "s"). Finally a MUI glitch in OWB: [ http://nicsoft.se/pics/OWB_1.23_Close_glitch.png ]...
Those are quite extreme glitches, it would be useful to know how he's rendering the images.
Couldn't it be graphics.library (DMA?) related? (These glitches). An answer from "the Hyperion guys" would be very welcome..!
The text corruption you are highlighting is almost definetly DMA related, and the bug in gfxlib that caused them has been fixed for a little while now. At least I think it has, I don't have 5450 in my X1k anymore, and the 7750 isn't affected.

Re: PNG (icon) "blur"

Posted: Wed Sep 07, 2016 9:18 pm
by xenic
broadblues wrote:Adding alphs to a image does not create blur at any size.

Scaling a small image up and filtering to remove the jaggies will create blur, but that doesn't appear to be what is happening in thiose screen shots.
Maybe it's just my old eyes but small toolbar images look blurred if there is too much alpha blending.

However, Nicsoft's example images look more like graphics glitches than blur to me. I had similar graphics glitches (and worse) with my X1000 Radeon HD5450 graphics card with the original RadeonHD driver. Improvements in the RadeonHD driver eliminated 98% of the problem but I still have some old programs with a few tiny graphics glitches in Intuition and Gadtools gadgets. When I originally reported the problem, only people with HD5450 graphics cards could reproduce the graphics glitches.

Re: PNG (icon) "blur"

Posted: Wed Sep 07, 2016 9:38 pm
by xenic
Nicsoft wrote:Finally a MUI glitch in OWB: [ http://nicsoft.se/pics/OWB_1.23_Close_glitch.png ]...
I think that's actually a DOS requester using the 'SYS:Prefs/Presets/Requester/Question' image. That would seem to rule out the problem being a program bug. You could try the WarpPNG datatype from http://www.warpdt.co.uk for trial testing. If that PNG datatype has the same glitches then I'm not sure what you can do.

Re: PNG (icon) "blur"

Posted: Wed Sep 07, 2016 11:06 pm
by Nicsoft
xenic wrote:I think that's actually a DOS requester using the 'SYS:Prefs/Presets/Requester/Question' image. That would seem to rule out the problem being a program bug. You could try the WarpPNG datatype from http://www.warpdt.co.uk for trial testing. If that PNG datatype has the same glitches then I'm not sure what you can do.
I tried the WarpPNG datatype with Dir Me Up (after rebooting of course). Sadly no difference. So that's not where the problem lies...