Jump to content

View more

Image of the Day

The night is still, but the invasion brings chaos. #screenshotsaturday #hanako #indiegame #gameart #ue4 #samurai https://t.co/cgILXuokoS
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Android NDK create .jpg texture

4: Adsense

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   Members   

2479
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.


#2 polyfrag   Members   

2479
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.