| View previous topic :: View next topic |
| Author |
Message |
Pihas
Joined: 25 Oct 2008 Posts: 60 Location: Lithuania
|
Posted: Mon Jul 06, 2009 10:29 pm Post subject: [Solved] Oslib 8bit image limit |
|
|
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:
There is (8bit i think):
 _________________
Cooming Soon
Last edited by Pihas on Tue Jul 07, 2009 6:36 am; edited 2 times in total |
|
| Back to top |
|
 |
jojojoris
Joined: 30 Mar 2008 Posts: 261
|
Posted: Tue Jul 07, 2009 1:38 am Post subject: |
|
|
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: | int main(){
SetupCallbacks();
makeNiceGame();
sceKernelExitGame();
} |
|
|
| Back to top |
|
 |
coolkehon
Joined: 20 Oct 2008 Posts: 355
|
Posted: Tue Jul 07, 2009 2:27 am Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
Pihas
Joined: 25 Oct 2008 Posts: 60 Location: Lithuania
|
Posted: Tue Jul 07, 2009 6:35 am Post subject: |
|
|
Thx for fast answer :-) _________________
Cooming Soon |
|
| Back to top |
|
 |
|