02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School
Previous VideoNext Video

Beware of the pixels in Mobile Development

There are some common challenges when it comes to building applications that scale, such as mobile applications. So we take a moment to talk about why we should probably avoid pixels as much as we can and stick to vector graphics for where ever it is possible.

Video Transcript

00:00So I want to summarize what we've done so far.
00:02So it's really the important part here is figuring out
00:04what is the scale mode that you want to work with
00:06and what looks best on all the different devices.
00:09Another thing that I would note and probably
00:11we didn't notice it too much because we were doing it
00:13really quickly, when we were working with the no border
00:16option, and I'm just going to run that no border
00:18option for a second so you could see it as I'm talking,
00:21our image grew.
00:23And as our image grew because we
00:24didn't plan for our image to grow when we rotated it,
00:27it got pixelated.
00:28And the next thing I really want to recommend
00:30is try to avoid using images as much as you can.
00:33And when you do use images, try to avoid resizing it
00:37because it always looks badly.
00:39So if we re-rotate this, we'll see all this pixelation
00:42and it just looks dirty and doesn't look nice anymore.
00:45And really, if we had here a vector, instead of an image,
00:48we would have a really great configuration,
00:49a really great layout.
00:51So I strongly recommend that you avoid using bitmaps
00:53whenever you can, unless you have to.
00:55And when you do, be very conscious
00:57about how it looks like when the user rotates
01:00and also when he's working in bigger and smaller devices.

Ready to Level Up Your Skills?

Join thousands of learners on 02GEEK and start your journey to becoming a coding expert today!

Enroll Now for Free!