Jump to content

  • Log In with Google      Sign In   
  • Create Account

Android NDK create .jpg texture


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 invutil   Crossbones+   -  Reputation: 1907

Like
0Likes
Like

Posted 25 March 2013 - 09:35 PM

I'm able to read APK files using libzip and have libjpeg set up. How do I natively uncompress a jpeg?

 

I can't get a FILE* pointer, only a zip_file* pointer.

 

Is there any function like png_set_read_fn?

 

Is there anything I can do besides writing the jpg to a temporary file?


Edited by polyfrag, 25 March 2013 - 09:41 PM.


Sponsor:

#2 invutil   Crossbones+   -  Reputation: 1907

Like
0Likes
Like

Posted 26 March 2013 - 12:32 PM

Found it http://www.gamedev.net/topic/332249-load-jpg-from-memory/






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS