PNG (icon) "blur"

A forum for general AmigaOS 4.x support questions that are not platform-specific
chris
Posts: 562
Joined: Sat Jun 18, 2011 11:05 am
Contact:

Re: PNG (icon) "blur"

Post 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.
Attachments
corruption.png
corruption.png (15.94 KiB) Viewed 4863 times
User avatar
broadblues
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 600
Joined: Sat Jun 18, 2011 2:40 am
Location: Portsmouth, UK
Contact:

Re: PNG (icon) "blur"

Post 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?
User avatar
Nicsoft
Posts: 29
Joined: Fri Jun 17, 2011 11:02 pm

Re: PNG (icon) "blur"

Post 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...
Post Reply