Convert CCSprite to Raw Data

Convert CCSprite to Raw Data
0.0 0


i want to convert sprite into byte array actually i want to send image from cocos2dx to android but i dont get the right solution from any where i have ccpsrite and i want to send it to java using JNI how could i send i think i need to convert it to byte array but i dnt get the solution how i convert ccsprite to byte array


anybody help me ?


Have a look at this post