Page 2 of 2

Re: PNG (icon) "blur"

Posted: Thu Sep 08, 2016 12:20 am
by chris
Possibly related:
Since OS4.1FE in NetSurf I have 1px corruption on the right and bottom edges of composited BitMaps which have also been scaled.
It looks like some bug is causing the composited scaling to be the wrong size (or, at the very least, a different size to pre-OS4.1FE)
Non-scaled bitmaps are OK. I'm not sure whether BitMapScale() suffers the same fate.
SAM440EP on-board gfx.

It looks suspiciously similar to some of the images posted albeit only one pixel.

Re: PNG (icon) "blur"

Posted: Thu Sep 08, 2016 11:35 am
by broadblues
chris wrote:Possibly related:
Since OS4.1FE in NetSurf I have 1px corruption on the right and bottom edges of composited BitMaps which have also been scaled.
It looks like some bug is causing the composited scaling to be the wrong size (or, at the very least, a different size to pre-OS4.1FE)
Non-scaled bitmaps are OK. I'm not sure whether BitMapScale() suffers the same fate.
SAM440EP on-board gfx.

It looks suspiciously similar to some of the images posted albeit only one pixel.
That's not at all related. That's related to bug 6309 where the last row / column of scaling with compoite tags is sometimes off. I'm not sure if it's really a bug or a misexpectation.

For accurate scaling use triangle mode that's pixel perfect as the destination is specified in end coordinates rather than scaling factors.

You could also clear the background to the background colour to avoid the "noise" on the edges.

This 'bug' is much older than FE BTW although it's possible something was adjusted and your older code was comensating for the old effect?

Re: PNG (icon) "blur"

Posted: Sat Apr 08, 2017 6:21 pm
by Nicsoft
The problems with graphics-glitches using AmigaOS 4.1 that I had in this thread.

- Is now gone (with the Final update) exept for DirMeUp.
* Using MultiView I now again discovered (I mostly use MultiViewer)
* http://nicsoft.se/pics/MultiView.png (the last letter glitch, in Welcome)

So waiting for that to be fixed, I just converted all the images from transparent to non-transparent and that fixed the problem in a simple but not beautiful way...

If you wan't my non-transparent images you can find them here:
http://nicsoft.se/download/images.lha
* New images for DirMeUp v. 3.30 : http://nicsoft.se/download/images_330.lha

Just don't forget to backup the original images first!

* = Edited...