Simple .PNG loader - C

Soldato
Joined
22 Oct 2005
Posts
2,882
Location
Moving...
Anyone know a simple .PNG file loader for C? The only ones I'v found look horrendously massive and complex. All I want to do is load a png file into a 2D array (the rgb/intensity values stored) then save it again. All the ones I've found have about a million different functions.

Can anyone point me in the direction of a simpler loader, or alternatively, a simple function within these massive libraries?

Thanks.
 
I had a similar problem with php - I wanted a nice basic image management class, but all they classes for download seemed bloated or overly functional... so I made one myself.

I think if you need something simple to do something specific, your best bet is doing it yourself... either that or put up with the bloat of a ready made class. Saying that, I don't know much about C or C++ (despite me having two qualifications at 'Distinction' level in C++ :o Haven't had the time yet to do it as a hobby and figure it out properly), so I've got no idea how much is involved in making one yourself. But it's probably worth learning anyway :)
 
Back
Top Bottom