[Solved] Oslib 8bit image limit

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Pihas
Posts: 53
Joined: Sat Oct 25, 2008 10:26 pm
Location: Lithuania
Contact:

[Solved] Oslib 8bit image limit

Post by Pihas »

I created some realy cool effects with transperented PNG format pictures, but get problems with transperent layer. I am using oslib to blit those images.
As I understand it support only 8bit images? How to brake this limits ?

Have to be:
Image

There is (8bit i think):
Image
Last edited by Pihas on Tue Jul 07, 2009 6:36 am, edited 2 times in total.
Image
Cooming Soon
jojojoris
Posts: 255
Joined: Sun Mar 30, 2008 4:06 am

Post by jojojoris »

Dont use 8 bit.

i always use OSL_PF_8888. this one is 32 bit and does support alpha.

8bit doesn't support alpha.

Code: Select all

int main(){
     SetupCallbacks();
     makeNiceGame();
     sceKernelExitGame();
}
coolkehon
Posts: 355
Joined: Mon Oct 20, 2008 5:44 am

Post by coolkehon »

look at the pages where OSL_PF_'s are defined and it will tell you how many bits per value the more alpha and bits per color the better the color
Pihas
Posts: 53
Joined: Sat Oct 25, 2008 10:26 pm
Location: Lithuania
Contact:

Post by Pihas »

Thx for fast answer :-)
Image
Cooming Soon
Post Reply