How use libpng ?

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

Moderators: cheriff, TyRaNiD

Post Reply
R0main78
Posts: 2
Joined: Tue Apr 10, 2007 1:05 am

How use libpng ?

Post by R0main78 »

Hi,

Sorry for my bad english but I'm 14 and I'm French.

My computer is on Windows XP, I build my homebrews with PSPSDK and Cygwin.

With this tutorial: http://www.psp-programming.com/tutorials/c/lesson04.htm, when I build the project and put it on my PSP, it freeze on the gameboot.

The example of the libpng, "screenshot", works but it is not possible to have transparency with.

Is it possible to have transparency with the screenshot example ?
Else, how do you use the lib png ? Do you have a ZIP example ?

Thank you for answers.
sturatt
Posts: 46
Joined: Thu Jul 13, 2006 4:21 pm

Post by sturatt »

If you actually look at graphics.c it shows you how to use libpng

also, this should help you out
http://www.libpng.org/pub/png/libpng-1.2.5-manual.html
Post Reply