Codeep Image Upscaler Shopify app

Tested on five photos

How to fix low-resolution product photos in Shopify

A product photo only a few hundred pixels wide looks soft when your theme shows it large. There are three ways to fix it: get a bigger original, enlarge it with Resize in Shopify's own media editor, or enlarge it with an AI upscaler. We tried the last two on the same five photos. Each one won somewhere, and one photo neither could save.

By SD Software, the maker of Codeep Image Upscaler, a free AI upscaler for Shopify. We ran the test on in our test store; how we did it is at the end of the page. Codeep did not win on every photo, and this page shows where it lost.

Get the Shopify app See the results

1. Check how small the photo is

Shopify says that for square product images, "a size of 2048 x 2048 px usually displays best". [1] Product images can be up to 5000 x 5000 px, or 25 megapixels, and must be smaller than 20 MB. [1] A photo under about 1000 px on its long side is worth fixing. At around 2000 px, leave it alone.

To find the size, check the file you uploaded or the one your supplier sent. Codeep Image Upscaler shows each product photo's width and height, what 2x or 4x would make it, and which photos are already large.

2. Get a bigger original first

No tool brings back detail the camera never recorded, so a larger file, if one exists, beats everything below. Ask the supplier or the photographer for the full-size file. A photo saved from a web page or a marketplace listing is often a shrunken copy. If the photo is out of focus, reshoot it: in our test neither tool fixed that.

3. Enlarge it with Shopify's Resize

Shopify's media editor can change an image's actual size. It is built into the admin and costs nothing. [2]

  1. Open the photo in the media editor, from the product or from Content → Files.
  2. Select Resize and enter the new width. Lock aspect ratio is on by default. [2]
  3. Apply the change, then select Save.

In our test, Save changed the file itself. Edits made on the Files page apply everywhere that file is used, [3] and the editor has Revert to original. [2]

What you get is a bigger file with soft edges. Resize enlarges smoothly and adds no detail, so the photo still looks blurry up close, but it never invents anything.

4. Enlarge it with an AI upscaler

An AI upscaler is a model trained to guess what a sharper version of a small photo looks like. It removes JPEG blocks and makes edges crisp. Where the detail is gone, it draws its own. That is why the result looks better, and also how it goes wrong.

Several apps in the Shopify App Store do this; we tested only ours. Codeep Image Upscaler runs the Real-ESRGAN model in your browser and enlarges photos 2x or 4x, up to 4096 px. It shows a preview next to the original, then replaces the photo in place, keeping its position, variants and alt text. The original stays in Shopify Files, so Restore original can put it back. It is free.

  1. Open the app and tick the products, up to 20 photos per run, or open one product.
  2. Choose 2x or 4x. Pick the smaller factor that gets the photo to about 2048 px: a 500 px photo needs 4x, a 1000 px photo 2x.
  3. Compare each preview with the original, untick any you don't like, then replace.

What we saw on five photos

We shrank five sharp photos to a quarter of their width and height and compressed them as JPEG, like a small supplier photo. Then we enlarged each one back to full size twice: with Shopify Resize and with Codeep 4x.

Which result looked better to us, judged by eye
PhotoBetter resultWhat we saw
Lamp on a transparent backgroundCodeepFringe and edges crisp, with no halo. Resize is soft.
Painted porcelain teapotCodeep, with a catchPattern sharp and JPEG blocks gone, but fine lines vanished and the faces were simplified. Resize is soft but true to the original.
Grey fabric backpackEvenCodeep has crisp edges and zipper pulls, but the weave is smoothed over and the fabric looks like plastic. Resize is blurry, but the weave shows.
Small print on a labelShopify ResizeCodeep's letters are sharp but misshapen and no longer read. Resize is blurry but readable.
Out-of-focus bootsNeitherBoth stay blurred. An upscaler does not fix focus.

Each picture below shows the same detail three times: the sharp photo we started from, Shopify Resize and Codeep 4x. These are real results, cropped, with nothing retouched. Select a picture to open it at full size.

A lamp shade with fringe on a transparent background: the original, Shopify Resize, which is soft, and Codeep 4x, with crisp fringe and clean edges
Lamp, transparent background. Codeep keeps the fringe and the edges crisp, with no halo. Resize is soft.
A painted porcelain teapot: the original with fine lines on the diamond pattern, Shopify Resize, which is soft, and Codeep 4x, with sharp diamonds but without the fine lines
Porcelain teapot. Codeep's diamonds and flower have clean edges and the JPEG blocks are gone, but the fine lines on the diamonds disappeared and the figure is simplified. A shopper may prefer it; it is less true to the original than Resize.
A grey fabric backpack: the original with visible weave, Shopify Resize, blurry with some weave, and Codeep 4x, with sharp edges but smooth fabric
Fabric backpack. Even. Codeep's edges and zipper pulls are crisp, but the weave is smoothed over. Resize is blurry, and the weave still shows through.
Small print on a tea label: the original, Shopify Resize, blurry but readable, and Codeep 4x, sharp but with misshapen letters
Small print. Codeep makes the letters sharp but changes their shapes, so the text no longer reads. Resize is blurry but readable. Keep AI away from ingredient lists and size charts.
Leather boots: the sharp original, then Shopify Resize and Codeep 4x of an out-of-focus copy, both equally blurred
Out-of-focus boots. The left picture is the sharp photo before we blurred it; both tools got the blurred copy. Neither brought the stitching back.
The numbers

How close each result is to the sharp original: PSNR in decibels and SSIM from 0 to 1, higher is closer. PSNR also penalizes texture that an AI draws itself, even where it looks right, so we judged by eye and used these numbers only as a check.

PhotoPSNR ResizePSNR CodeepSSIM ResizeSSIM Codeep
Lamp24.0224.040.8550.883
Teapot29.1026.700.9340.931
Backpack31.9930.990.7480.716
Label26.0326.180.9340.956
Boots24.7525.050.6660.669

The label shows the limit of these measures: Codeep scores higher there, even though its letters no longer read.

Which one to use

How we tested, and sources

Photos: four CC0 and public-domain photos from Wikimedia Commons (lamp, teapot, backpack, boots) and a tea label we drew ourselves. Each sharp photo, 2048 px on its long side, was shrunk 4x with bicubic resampling and compressed as JPEG at quality 75, then kept as PNG so nothing else was lost on upload. The lamp's colors were compressed the same way and its transparency was kept. The boots were blurred before shrinking (Gaussian, 10 px radius at 2048 px) to stand in for an out-of-focus shot.

Shopify: each small photo was uploaded to Files in our test store, enlarged 4x with Resize in the media editor and saved, and we downloaded the results. Codeep: the app's own model and image encoder at 4x, saved as JPEG at quality 0.92 (the lamp as PNG), the same files the app sends to Shopify. Both results are the same size as the sharp original. The numbers compare the whole photo; the pictures show one detail of it.

  1. Shopify Help Center: product media types: recommended and maximum image size.
  2. Shopify Help Center: media editor: Resize and Revert to original.
  3. Shopify Help Center: file uploads: edits on the Files page.
  4. Codeep Image Upscaler in the Shopify App Store and our privacy policy for the app.

Shopify's features can change; check the linked help pages. This page is not endorsed by Shopify.