[android-developers] Re: BitmapFactory.decodeByteArray gives pixelated bitmap

2010-02-02 Thread Streets Of Boston
But that restriction is only for your mobile network. Chances are it works well for your customers who are not bound to such a restriction. Maybe your network tries to have you sign up for a better data-package plan, that does not have this restriction... ? :-) On Feb 2, 11:32 am, michael wrote

[android-developers] Re: BitmapFactory.decodeByteArray gives pixelated bitmap

2010-02-02 Thread michael
Hi again, So I finally figured out that the problem is due to my mobile network operator doing image compression to save bandwidth. I discussed the problem further at the following URL, in case it could be of help to anybody: http://stackoverflow.com/questions/2183808/android-bitmapfactory-decode

[android-developers] Re: BitmapFactory.decodeByteArray gives pixelated bitmap

2010-02-01 Thread michael
Hi, > You are resaving a JPEG. You'll be compressing twice. > > Why don't you try to directly save the data obtained from the URL to a > file on the SDCard. Don't do any compressing. Just a direct save of > the JPG file from Flickr. Thanks for the suggestion! However, saving the bitmap to a JPEG

[android-developers] Re: BitmapFactory.decodeByteArray gives pixelated bitmap

2010-02-01 Thread Streets Of Boston
You are resaving a JPEG. You'll be compressing twice. Why don't you try to directly save the data obtained from the URL to a file on the SDCard. Don't do any compressing. Just a direct save of the JPG file from Flickr. After you've done that, you have a file (on the SDCard) that contains an exact

[android-developers] Re: BitmapFactory.decodeByteArray gives pixelated bitmap

2010-02-01 Thread michael
Bump; the post got held up for 2 days due to moderation. On Jan 30, 4:53 pm, michael wrote: > Hi, > > I am working on an app that displays photos which are downloaded from > Flickr. I obtain a Bitmap object from a byte array, which in turn is > read from the relevant Flickr URL, as follows: > > B