Skip to content

Resizing images for list and grid views

peter-budo edited this page Oct 25, 2014 · 1 revision

## Assignments and award medals Comes in size of 256x256

Expected sized

  • MDPI 128x128
  • HDPI 192x192
  • XHDPI 256x256
  • XXHDPI 384x384

Unlocks weapon, vehicles and kits

Comes as single map of each category and have to be inverted before it can be sliced and resized (example http://eaassets-a.akamaihd.net/bl-cdn/cdnprefix/5f988e83295c64ba0a719b63ee2a81a14a33ef05/public/profile/warsaw/gamedata/weapon/large.png)

Expected sizes

  • MDPI 128x32
  • HDPI 192x48
  • XHDPI 256x64
  • XXHDPI 384x96

Weapons and vehicles

Weapon and vehicle images are coming in size of 256x256 which does not match application format that is

  • MDPI 144x80
  • HDPI 216x120
  • XHDPI 288x160
  • XXHDPI 432x240

Best way to achieve these dimensions is therefore to follow these steps

  1. Resize image to 432x432 (getting ready for XXHDPI)
  2. Change canvas size of image to 432x240 (XXHDPI size ready)
  3. Save image
  4. Resize for rest of densities with above listed parameters

NOTE There are some images like for example centurion, mav or shield that require special treatment because they are taller then other resized images.

  1. Simply cut image on height to match actual graphic size with few pixels to spare
  2. Resize image to match XXHDPI image height
  3. Change canvas width to match final image width

If not sure always ask Peter