Hi, If you want to have 2-3KB image size it has to be very small by dimension and compressed using very low quality. You can try different values on Bitmap.compress(..) but I doubt you will ever achieve good enough quality with such a small filesize requirement.
-- H On Jan 12, 2012, at 3:56 PM, [email protected] wrote: > hi, > I am trying stream video from android to network and receiving it > on a server that I had written in java. > I am capturing YUV data on onPreviewFrame method on Camera convert > with yuv in jpeg and sending it to the server where I convert this > data to image and displaying it. > > verything works fine but the size of the image is too large in KB to > send on network that are 20-30 kb, I want to reduce the size(KB) > approximately 2-3 kb. please tell me how can i reduce the size? Is it > possible? > > Thanks and regards > > umer > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

