| View previous topic :: View next topic |
| Author |
Message |
soulphalanx
Joined: 22 Aug 2005 Posts: 35
|
Posted: Fri Oct 28, 2005 6:22 am Post subject: How to use libpng? |
|
|
how do you use libpng to blit png files?
can someone write some code to show how? |
|
| Back to top |
|
 |
Shine
Joined: 03 Dec 2004 Posts: 728 Location: Germany
|
Posted: Fri Oct 28, 2005 7:07 am Post subject: Re: How to use libpng? |
|
|
| Take a look in the screenshot directory, which has a sample to save a screenshot and to blit a PNG file for the PSP. |
|
| Back to top |
|
 |
soulphalanx
Joined: 22 Aug 2005 Posts: 35
|
Posted: Sat Oct 29, 2005 7:10 am Post subject: |
|
|
| is there a way to blit it to a certain coordinate? |
|
| Back to top |
|
 |
Shine
Joined: 03 Dec 2004 Posts: 728 Location: Germany
|
Posted: Sat Oct 29, 2005 7:15 am Post subject: |
|
|
| soulphalanx wrote: | | is there a way to blit it to a certain coordinate? |
Yes. But you should consider using Lua Player or the SDL library, if you can't change the C code to blit to a certain coordinate. |
|
| Back to top |
|
 |
|