Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xcassets what are the pixel sizes for Universal x1, x2, x3?

Tags:

xcode

ios

xcasset

I used to import assets from the Sympli plug in which did this stuff for me. I have a new version of an asset that I need to replace and this time I don't have Sympli to help me out. So what resolutions of the picture do I need in Universal x1, x2, x3? I guess I really just need to know what x1 is and can do the math for the other 2.

like image 651
Tommy K Avatar asked Feb 06 '23 21:02

Tommy K


1 Answers

If your image is 50 x 50:

@1x = 50 x 50

@2x = 100 x 100

@3x = 150 x 150

Basically: @1x * 1, @2x * 2, @3x * 3 of your original image size.

like image 188
Rashwan L Avatar answered Feb 20 '23 13:02

Rashwan L