Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
hello,

i want to know how to load a png file from C program :confused:..
and when i load the png and display them do their transparency remains as in actual file:confused:...please help!!! as i want my project look better.....
please help!!!: X|
Posted

1 solution

For C, you will either have to use a library (try here[^]) or write your own file access routine - see the .PNG file format specification (try here[^])

As far as transparency when you display it, since you will be painting it yourself, it is up to you to control what happens with it!

I am just amazed that anyone is still trying to write windows apps in C...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900