Editing an ImageLesson 69 of 78

Module 8 · Out of the editor: size, sharpness and the delivered file

The width to export, and why the browser will not fix it for you

In this lesson

  • 9 min read
  • 7 reading sections
  • Knowledge check
  • Lesson 2 of 11 in this chapter

This chapter’s goalTake a finished edit to a delivered file for any named destination: computing the pixel dimensions from the destination rather than the source, choosing a resampling filter and a colour space by mechanism, sharpening last and at output size, selecting the codec and quality by measurement rather than habit, and predicting what a platform’s own re-encoding pipeline will do to the result.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 8Free · no account needed
Lesson steps

Two kinds of pixel, and the number in between

A layout is written in CSS pixels, which are a unit of apparent size, not of hardware. A phone that reports a 390-pixel-wide viewport has around 1170 physical pixels across the glass. The ratio between them is the device pixel ratio, and it is 1 on an old monitor, 2 on most laptops and mid-range phones, and 3 on many flagship phones.

That is the whole of the sizing arithmetic. An image displayed in a 600 CSS-pixel column needs 1200 real pixels to be crisp on a DPR 2 screen.

Text
export width = CSS width of the slot x device pixel ratio

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Design, before Any Software exam.

Stuck on something?Ask Neema, your AI tutor

How to cite: Addaly (2026) ‘The width to export, and why the browser will not fix it for you’, in Editing an Image. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/image-editing/sizing-for-a-screen (Accessed: 29 November 2026).