PNG (icon) "blur"

A forum for general AmigaOS 4.x support questions that are not platform-specific

Re: PNG (icon) "blur"

Postby chris » Thu Sep 08, 2016 1:20 am

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 658 times
chris
 
Posts: 548
Joined: Sat Jun 18, 2011 12:05 pm

Re: PNG (icon) "blur"

Postby broadblues » Thu Sep 08, 2016 12:35 pm

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
broadblues
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 459
Joined: Sat Jun 18, 2011 3:40 am
Location: Portsmouth, UK

Re: PNG (icon) "blur"

Postby Nicsoft » Sat Apr 08, 2017 7:21 pm

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...
User avatar
Nicsoft
 
Posts: 29
Joined: Sat Jun 18, 2011 12:02 am

Previous

Return to General AmigaOS

Who is online

Users browsing this forum: No registered users and 2 guests

cron