liveBook · Manning

Resolution

As explained in Local Image Generation

The amount of spatial detail in an image, commonly expressed through its pixel dimensions.

Resolution is the amount of spatial detail in an image, measured by its pixel dimensions. More pixels in the same space usually produce a crisper image, especially on high-resolution displays, during editing, or in print. section 7.0

An image has a fixed amount of information, so zooming cannot reveal unlimited detail. Upscalers and Stable Diffusion can imagine additional pixels, turning a low-resolution starting image into a larger one. section 7.1

Use resolution to judge whether an image is ready for its intended job:

  • For printing, compare pixels with the target DPI. A 512×512 image at 300 DPI prints at roughly 1.7 inches per side. section 7.0
  • For large displays, upscale toward the screen dimensions; a 3440×1440 wallpaper needs substantially more detail than a 512×512 default image. section 7.0
  • For training images, keep source dimensions reasonably close to the desired generated output and avoid overly compressed files. section 13.2.1

Doubling an image in ComfyUI

Add Add Node > latent > Upscale Latent By, connect the original VAE decoder's samples output, keep nearest-exact, and set scale_by to 2.0. The latent image then has twice the initial resolution. section 8.3.1

Figure 8.16 The Upscale Latent By node.

Inspect the Upscale Latent By node used to double a latent image's resolution. section 8.3.1

How Local Image Generation covers it

How deep it goes
Explains pixel dimensions, fixed information, DPI, and latent upscaling workflows, but stops short of detailed upscaler internals.
Examples
Uses 512×512 images, 300-DPI printing, a 3440×1440 wallpaper, and a ComfyUI two-times latent upscale.
What you can do after
Apply it via A1111 or ComfyUI to choose targets, estimate print size, and upscale generated images.
How it connects
Connects resolution with Stable Diffusion, upscaling, image-to-image generation, latent representations, DPI, and VAE decoding.

Also explained in

Compare how 6 books explain resolution →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Local Image Generation. The section links point to the parts of the book it draws on.