[android-developers] Re: Bitmap factory and ICC aware JPG

2011-02-04 Thread Yahel
My problem is that I don't choose the file I want to use, they are picked by the user from internet. I'm wondering if the way Romain Guy handles things in my other question is not about that kind of problem. I'll give it a shot. Yahel On 21 jan, 16:33, nagarjuna lingala wrote: > Internally ther

[android-developers] Re: Bitmap factory and ICC aware JPG

2011-01-21 Thread Yahel
Thanks for your answer, I was going to go this way but then I read the wikipedia article about jpeg and I think I understood that sometimes the icc is coded in the pixels and sometimes it's not. Making it quite difficult to work out. I'm thinking of using the capture ability of a webview and the

Re: [android-developers] Re: Bitmap factory and ICC aware JPG

2011-01-21 Thread Kostya Vasilyev
I don't have any insight, but here is an idea for an ugly workaround. Inject your own InputStream between the source and the bitmap (by wrapping the source) and skip over the ICC chunks, so that BitmapFactory.decodeStream doesn't see them. -- Kostya 21.01.2011 13:16, Yahel пишет: Up ? Any

[android-developers] Re: Bitmap factory and ICC aware JPG

2011-01-21 Thread Yahel
Up ? Any insight of any kind from anyone ? Thanks. Yahel -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-devel