cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Open a image
Open a image
Jul 3, 2010 at 2:45pm UTC
Callum5042
(183)
How do I open a .png image for a game?
Jul 3, 2010 at 2:57pm UTC
filipe
(1165)
It depends on what API you're using.
Jul 3, 2010 at 2:57pm UTC
Bazzy
(6281)
You can try libpng
Jul 3, 2010 at 2:57pm UTC
Seraphimsan
(954)
that depends what library/SDK/engine/API are you using.
Jul 3, 2010 at 3:00pm UTC
Callum5042
(183)
I'm using allegro (I Think that what you mean)
Jul 3, 2010 at 3:06pm UTC
Seraphimsan
(954)
Search their documents and tutorials for loading a png to buffer. But to be honest you're going all wrong about it. png files arent really suited for games. you should learn how to use tga
Jul 3, 2010 at 5:09pm UTC
Callum5042
(183)
Okay thanks for the advice I'll look into it. :)
Jul 3, 2010 at 5:11pm UTC
Seraphimsan
(954)
No prob :)
Jul 4, 2010 at 10:03am UTC
Callum5042
(183)
Quick question, why is it better to use tga?
Topic archived. No new replies allowed.