0

I'm making an app where I'm using sketch 3 to create image assets. First, I design something, click "make exportable" in the lower-right, chooses 0.5x and export it to somewhere on my Mac. Then, I drag the asset (*.png file) into Xcode 6 and for instance created an imageview with that asset as image - but if I look closely when running the app on my phone, the asset looks slightly blurred or not 100% focused, as if some of the color made it onto another pixel.. Does anyone have a clue on this? How can I make it sharper?

Thanks! Erik

1

0.5x means that if you have 1 pixel elements in your design, they will get blurred as no such thing as half a pixel exists. The concept behind 0.5x is that 1 pixel on the screen is filled on a retina display, which is half of the original @1x.

  • So I should rather export them as 1x and reduce the size in Xcode? – Erik Feb 12 '15 at 9:01
  • No that would have the same result. You should reconsider your concept. If you MUST have 1px retina assets then you should make the asset pixel-perfect for each resolution. – KMSTR Feb 12 '15 at 10:13
  • I just need them to appear the same in Xcode as in Sketch - what would be the optimal solution for that? – Erik Feb 12 '15 at 12:16
  • then you should make the asset pixel-perfect for each resolution. – KMSTR Feb 12 '15 at 21:32
  • what exactly do you mean by pixel-perfect? – Erik Feb 13 '15 at 18:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.