Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


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 polyfrag   Crossbones+   -  Reputation: 2112

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 polyfrag   Crossbones+   -  Reputation: 2112

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