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 <[email protected]> wrote: > 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-deco... > > I don't suppose there is anything I can do to get around this, but if > anybody has an idea, it would be much welcome (-: > > Best, > Michael. > > On Feb 1, 10:22 pm, michael <[email protected]> wrote: > > > > > 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 file was really just to > > illustrate thepixelationproblem - I assumed there would be no > > quality loss with the quality parameter set to 100. What I'm actually > > doing is to draw the bitmap downloaded from Flickr onto a canvas in > > the onDraw method of my View class: > > > Paint paint = new Paint(Paint.ANTI_ALIAS_FLAG | > > Paint.FILTER_BITMAP_FLAG); > > canvas.drawBitmap(bitmap, 0, 0, paint); > > > Pixelationsimilar to that shown in my example pictures then occurs. > > Any idea why this would be the case? > > > Note that bitmaps loaded from my project resources draw just fine > > using this approach; although if I downscale using the > > Bitmap.createScaledBitmap() method, a similarpixelationproblem > > occurs. This problem was discussed e.g. here: > > >http://stackoverflow.com/questions/2041207/android-quality-of-the-ima... > > > but none of the suggested solutions seem to improve the situation in > > my case. > > > Thanks again for your suggestions, I really hope there is a solution > > to this issue. > > Best, > > Michael.- Hide quoted text - > > - Show quoted text - -- 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

