forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how do you return png width & height?

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Hale



Joined: 29 Apr 2006
Posts: 9
Location: Gainesville, FL

PostPosted: Thu Jul 27, 2006 11:32 pm    Post subject: how do you return png width & height? Reply with quote

I'm looking for a function in png.h that'll return the dimensions of a .png image. I'd really appreciate any examples or links to some =)
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
Insert_witty_name



Joined: 10 May 2006
Posts: 376

PostPosted: Thu Jul 27, 2006 11:40 pm    Post subject: Reply with quote

Check out this link:

http://www.libpng.org/pub/png/book/chapter13.html

Particularly png_get_IHDR.
Back to top
View user's profile Send private message
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Fri Jul 28, 2006 1:19 am    Post subject: Reply with quote

RTFM for libpng.
_________________
Shoot Pixels Not People!
Makeshift Development
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group