Skip to content Skip to sidebar Skip to footer

How To Avoid Pixelation When Resizing (shrinking) Images On Android?

We are resizing photos taken with the camera down to about 1024x768 for uploading. On most Android devices, our code works ok, but on some they don't (such as Motorola Photon 4G,

Solution 1:

Android resizes images based on the pixel density of the device its running on. You need to get the display size and density of the device in order to understand what Android will attempt to do to your photo based on the View its trying to put the image into


Post a Comment for "How To Avoid Pixelation When Resizing (shrinking) Images On Android?"