# Tutorial - Working with Images and Densities

DevFeed: [Tutorial - Working with Images and Densities](<https://devfeed.tech/articles/tutorial-working-with-images-and-densities-19639.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/tutorial-working-with-images-densities/>)

Author: Shai Almog

Published: 2017-11-01T00:00:00Z

Content type: tutorial

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [Image](<https://devfeed.tech/topics/image.md>), [ui](<https://devfeed.tech/topics/ui.md>)

Tags: [4k](<https://devfeed.tech/tags/4k.md>), [images](<https://devfeed.tech/tags/images.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [ui](<https://devfeed.tech/tags/ui.md>), [video](<https://devfeed.tech/tags/video.md>)

## AI overview

A video tutorial explains image densities, including why a phone can have higher density than a 4K TV, and discusses adapting UI layouts for tablets.

## Source excerpt

We had a lot of posts covering images, multi-image and density. It's one of the more challenging concepts to explain to developers coming from a desktop development background. Density is a simple concept to explain but the implications of it are sometimes counter-intuitive e.g. which device has higher density: Your phone or your 4k TV? The answer is your phone and I explain why in the video. I also discuss the need to adapt UI's for tablets to make better use of the available space although I don't go deep into that subject. It might be worth covering that in a separate video, I discuss this in the academy though...