Hi,
I'm working on a Image viewer, I've try to use SDL but it has a lot of problems, so I've decided to use another lib to bli images but I don't know other libraries!
I've think to use a library like the graphics.h ( that use sceGu ), but with that I cannot resize images, so what lib can I use?
Image lib for JPG, PNG and BMP support?
-
- Posts: 203
- Joined: Sat Jul 05, 2008 8:03 am
try the tri library it's a very cool library
use svn to checkout here is the url to the site
http://trac2.assembla.com/openTRI
use svn to checkout here is the url to the site
http://trac2.assembla.com/openTRI
http://tortoisesvn.net/downloadsdarkness wrote:I'm using a win32 sdk and I've no subversion installed, can you post a link?
There you go! :)
Use the graphics.c & graphics.h from the LUAPlayer source code.
It uses the GU so it should be fast enough.
As for resizing, just Google for some resize code and resize the image yourself.
The Image->data structure points to the ARGB image.
The size of the ARGB data is Image->textureWidth * Image->textureHeight * sizeof(Color)
It uses the GU so it should be fast enough.
As for resizing, just Google for some resize code and resize the image yourself.
The Image->data structure points to the ARGB image.
The size of the ARGB data is Image->textureWidth * Image->textureHeight * sizeof(Color)