Image Data,iphone -


i converting image data bytes using below code..

nsdata *imagedata = uiimagejpegrepresentation(m_imageview.image,90); unsigned char *byteptr = (unsigned char *)[imagedata bytes]; 

same image coverting bytes using .net, in using encoding techs...

iphonesdk , .net bytes not in sync...

do need use encoding techs bytes....if please please provide me solution code :)

thanks in advance....

are looking raw color data (rgba array), or saving file?

the jpeg encoding not unique given quality level, you're not going have exact same data in .net vs cocoa.


Comments

Popular posts from this blog

haskell - Using filter on an item in a list? -

c# - When does PreApplicationStartMethod actually get triggered to run? -

tomcat6 - Exception when stopping container for a with Spring + Quartz + Tomcat web application -