Message Board
Message Board > Fenix / Bennu / Gemix / DIV > Fenix messes with my colours (?) |
October 9, 2006, 16:40 | |
g105b
None 86 posts |
Hello all, I'm a bit concerned why a loaded .png image looses some of its colours when it is displayed within Fenix. The file is of a gradient. It looks really smooth in an image editor, and in Windows Picture Viewer, but as soon as it is used as the background in my game, it becomes really ... well ... look for yourself. left, original. right, fenix ____________ .g105b'' |
# |
October 9, 2006, 17:03 | |
Dennis
どこかにいる 2092 posts |
set_mode(x,y,depth); try using set_mode(640,480,16); Standard it uses 8 bit colours (256 colours). If you add PNG-24 graphics they get converted to 15 bit automatically. also check this ____________ Kwakkel |
# |
October 9, 2006, 17:16 | |
g105b
None 86 posts |
yeah I do set_mode(640,480,16); Is it because my PNG is 24 bit? Should I use the image.dll to load it as BMP or what ? Thanks for your help. ____________ .g105b'' |
# |
October 9, 2006, 17:49 | |
Moogle
Enterprise Edition 239 posts |
I think it's because of the 24->16 bit conversion, check that other topic for more on that.
____________ I am Moogle and I approve this message. Quoting (. )( .) in the Bugs topic: Everytime I login the threads with new posts are by Dennis.
|
# |
October 9, 2006, 18:02 | |
Dennis
どこかにいる 2092 posts |
I'm not sure. In Graphics Gale you can save it as a 16 bit PNG, without losing too much of the quality I think... Try that ^^ ____________ Kwakkel |
# |
October 9, 2006, 18:46 | |
Sandman
F3n!x0r 1194 posts |
You could use the filter functions in Fenix (blur(), rgbscale(), filter()) to make it a bit more smooth.
____________ BennuWiki Yes, my avatar has grey borders in IE (so get a decent browser) ROOFLEZ ROOFLEZ |
# |
Message Board > Fenix / Bennu / Gemix / DIV > Fenix messes with my colours (?)