Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been looking at some example apps from the Ubuntu SDK and from the Touch Developer Preview source code, and I've noticed that some images used as assets in those apps have a suffix with an @ sign followed by a number. E.g. avatar@8.png

What is the purpose of naming images like that?

share|improve this question

This is related to Resolution Independence in the Ubuntu SDK. Currently the documentation for this part is missing, but it should be added soon.

Taking the avatar@8.png image file name as an example, the @8 suffix refers to the DPI in which the original image was created.

That information will be used in the resolution independence calculations that will happen when scaling the image. When referencing to the image in the code, you should use the name without the suffix, e.g. avatar.png

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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