Images

Compare padding, crop and stretch in a 150 × 150 thumbnail

·

A thumbnail can have the expected size and still cut off a face, lose transparent margins or change the shape of a logo. Use a wide sample and inspect one square export from each fit mode.

Thumbnail Generator

Export the striped sample with each fit

Select Load thumbnail example for the 240 × 120 source. Clear the size list and select 150 × 150 px. Choose PNG and keep transparency selected. Generate the first thumbnail with Fit with padding.

The three bands now occupy a 150 × 75 block. There are 37 transparent rows above the image and 38 below it. Crop to fill uses the center 120 pixels of the wide source to fill the square. Stretch to fit expands the source to the full square and doubles its apparent height relative to its width.

Export the striped sample with each fit
Fit modeVisible part of the sourceSpare space
Fit with paddingFull image at its original proportions37 rows above and 38 below
Crop to fillCentered 120 × 120 source cropNone
Stretch to fitFull image with changed proportionsNone

Download the striped thumbnail sample (PNG)W3C PNG specification, alpha channel and transparency

Add a wide custom size and inspect the ZIP

Keep the 150 × 150 size, enter 240 and 120 under Custom width and Custom height, then select Add custom size. Use Fit with padding and generate again. The wide file uses the source’s full size and matches its proportions.

Download all as ZIP. Open the archive and locate publishing-thumbnail-sample-150x150.png and publishing-thumbnail-sample-240x120.png. Each is the same format and size as the corresponding individual download.

Download the striped thumbnail sample (PNG)PKWARE ZIP file format specification

Choose how transparent areas should appear

The sample includes a small transparent square at its center. With PNG and Keep transparency selected, that square stays transparent in each fit. Choose JPG and enter a padding and background color to fill the square and any margins with a solid matte.

Use the format and pixel dimensions accepted by the destination. For a photo on an opaque background, adjust JPG quality and inspect details after download. WebP is also available when the browser can encode it and your destination accepts it.

W3C PNG specification, alpha channel and transparency

Common questions

Which frame does a GIF thumbnail use?

The browser supplies the first displayed frame to the editor. For a different frame, extract it first with the GIF Frame Converter.

Why are my square and wide crop previews different?

Crop to fill selects the centered area that matches each output’s shape. The square can discard more of a wide source than a rectangle does.

Sources and sample

Put it into practice.

Related guides