Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / GetImage() alters transparency values

Author
Message
Naphier
13
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 28th Mar 2013 04:34 Edited at: 28th Mar 2013 04:36
Originally I thought this was linked to this:
http://forum.thegamecreators.com/?m=forum_view&t=203887&b=41

After further investigation I'm no longer convinced it is the same problem.
If you Draw a sprite to the back buffer and use GetImage the transparency values seem to be shifted to more transparent. This results in a loss of the image's data by quite a bit and makes it difficult to make good looking sprites from GetImage()

I have tried this with Min/Mag filters on linear and average, but the result is the same. It would be great if I'm doing something wrong because I'd really like to use GetImage() to procedurally make sprites.



Sample images attached.
I've confirmed this result in 1076, 1088, and 1089.
The screenshot is from 1076 where we can also see some interesting gap above the sprite. This does not occur in 1088 and 1089.

Left is the original --- Right is the GetImage result
Both are overlayed onto a green line to further highlight the issue.


If anyone else gets a different result or knows if I'm doing something wrong, please let me know. Otherwise I'll submit this as a bug.
Cheers!

Attachments

Login to view attachments
Naphier
13
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 6th Apr 2013 00:27
Paul has implemented a fix for this in the next release.
Thanks Paul!!

Login to post a reply

Server time is: 2024-05-06 09:29:38
Your offset time is: 2024-05-06 09:29:38