How to reduce the size of an image for a journal
A submission system rejects a figure as soon as it is over its size limit, and the usual reason is that the file holds far more pixels than the printed page can show. To fix it, drop the figures on the box above, choose how to compress them, press Compress and download the result. Each figure is processed in this page; nothing is sent to a server. You can add several files at once and download them as a ZIP.
- Drop one or more PNG, JPEG or TIFF files on the box, or press Browse.
- Choose Lossless, Right-size for print or Target size (explained below).
- Press Compress. A row per file shows the size before and after, and a progress bar with a Cancel button for large images.
- Press Download for one file, or Download all for a ZIP. For a lossy result, Compare shows the picture before and after at 100 %, side by side.
Three ways to make a figure smaller
Lossless: same pixels, smaller file
An uncompressed or poorly compressed TIFF is written again with Deflate (the smallest) or LZW (which older software reads), and a PNG is compressed harder. Every pixel is identical. The tool decodes each result again and compares it with the original before it offers the file, and keeps the original if the new file is not smaller. A JPEG cannot compress this way, because its pixels are already stored in a lossy form.
Right-size for print: only the pixels that are printed
A journal column is a few centimetres wide. A figure that is 6000 pixels across, printed at 8.25 cm, is about 1800 dpi, far above the 300 dpi (photographs) or 600 dpi (graphs and line art) that journals usually ask for. Right-size scales the image to the column width you choose at the dpi you choose, so nothing printed gets worse and the file gets much smaller. Scaling uses an exact area average, which keeps thin lines and text clean, and the dpi is written into the file. An image that is already small is never enlarged.
Target size: a number of megabytes
Enter the limit of the submission system, with a quick pick for 1, 5, 10 or 20 MB, and optionally a total for all the files together. The tool aims for a file of 90 to 100 % of the limit with the highest quality that fits, and stops at the first step that works:
- Lossless re-encoding, if the file can keep its format. A file that is already under the limit is left as it is.
- Your own pixel size. A photograph becomes a JPEG whose quality is searched from 95 down to 85, taking the highest that fits. Line art, graphs and charts keep their pixels and are reduced to 256, then 128, then 64 colours, written as an indexed PNG with the white page and black lines kept exactly.
- Fewer pixels, found by a search on the width (the largest that fits at quality 85 or 256 colours), but never below the lowest print resolution you set at the column width you choose: 300 dpi for photographs and 600 dpi for line art unless you pick another number.
- Lower quality, only at that floor resolution: JPEG quality down to your minimum (70 by default), or 128 and 64 colours.
For a large image the sizes are first predicted from a sample of nine tiles of the picture and then confirmed with one or two real encodes, so a 180 megapixel figure does not need dozens of full encodes. The result says, for example, "filled 4.6 of 5 MB at 7200 px, JPEG q92", with the format, the pixel size, the dpi at the column width, and what was tried. If the target is out of reach without breaking your floor, you get the best result and the reason, for example "would need about 180 dpi at a single column, below your 300 dpi floor". With several files and a total, each file gets a share of the total in proportion to its pixels, never more than the per-file target, and what a small file leaves unused goes to the others. A tick box, "Also trim to what the journal column needs", first scales the image to the print width, which gives the smallest file that still prints at your dpi, often far below the limit.
Why the file is too large, and what helps
Three things make a figure big. An uncompressed TIFF stores every pixel in full, which Lossless fixes. Too many pixels for the printed size, such as a microscope image of 10000 pixels across in a single column, is fixed by Right-size. A photograph saved as PNG or TIFF is large because those formats keep every detail, including camera or detector noise; as a JPEG at a sensible quality it is a fraction of the size, and Target size does this for you. Line art, charts and screenshots are the opposite: they are small as PNG and become larger and blurrier as JPEG, so Target size keeps them as PNG and reduces colours instead.
How large images are handled
The work is done by a background worker in your browser, so the page stays usable while a figure of hundreds of megapixels is processed. PNG and TIFF files are read a few rows at a time, so a 180 megapixel PNG does not need gigabytes of memory. Above 50 megapixels the table shows an estimate of the time. A 16-bit image becomes 8-bit when it is scaled or converted, with the same contrast stretch as the TIFF to PNG converter. Colour profiles are not copied, and CMYK images and multi-page TIFFs are left as they are (a multi-page TIFF can still be re-compressed).
Check the dpi as well
Many journals check the resolution as well as the file size. The image DPI checker shows the dpi of a figure and what it prints at, and Change dpi sets the dpi tag without changing a pixel.
Frequently asked questions
How do I reduce the size of an image for a journal submission?
Drop the figures on the page, choose Target size, enter the limit of the submission system (for example 10 MB) and press Compress. The tool tries a lossless re-compression first; if that is not enough it keeps your pixels and lowers the JPEG quality only as far as needed, then removes pixels, and stops as soon as the file fits, so the result is close to the limit and as good as it can be. Everything happens in your browser.
How can I compress an image without losing quality?
Use the Lossless method. A TIFF is written again with Deflate or LZW compression and a PNG is compressed harder; every pixel stays exactly the same, and each result is decoded again and compared with the original before it is offered. A JPEG cannot be made smaller this way, because its pixels are already stored in a lossy form.
Why is my TIFF too large for the journal's upload system?
Most often because the TIFF is uncompressed, or has far more pixels than the printed figure can show. A 600 dpi scan or a microscope image of 10000 pixels across is printed at a few centimetres wide in a journal, so most of its pixels are never seen. Lossless compression and Right-size for print deal with these two causes.
Can I compress a TIFF file?
Yes. The Lossless method re-writes the TIFF with Deflate (smallest) or LZW (read by older software) compression and keeps every pixel. Multi-page TIFFs are re-compressed page by page, all pages included. 8-bit and 16-bit TIFFs are read strip by strip, so very large files do not need much memory.
What does the Target size option do?
It compresses to a file size you choose, with the highest quality that fits. It tries a lossless re-encode, then JPEG at your full pixel size with the quality searched from 95 down to 85 (for line art 256, then 128, then 64 colours), then fewer pixels at quality 85, never below the print resolution you set (300 dpi for photographs, 600 dpi for line art unless you choose another), and only then a lower quality, down to your minimum. If the target cannot be reached it gives you the best result and says why. A tick box can instead trim the image to what the journal column needs, which gives the smallest file that still prints well.
Will the figure still look sharp when printed?
Target size keeps your pixels as long as the quality allows and never goes below the print resolution you set, and Right-size keeps at least the number of pixels the printed column needs. Lossy steps, JPEG quality and fewer colours, can show on a close look, so a side-by-side comparison at 100 % lets you check them before you submit.
Are my images uploaded?
No. Your images never leave your computer: they are opened, compressed and saved by code running in this page.
What happens if the target size cannot be reached?
You get the smallest result that respects your resolution floor, marked as not met, together with the reason, for example that the target would need about 180 dpi at a single column, below your 300 dpi floor. You can then lower the floor, choose a wider column, or accept a larger file.
More figure tools
The figure tools also cover the other steps of getting a figure into a journal:
- Change dpi: set the dpi of a PNG, JPEG or TIFF without touching the pixels, or resample to a column width.
- Check dpi: see the dpi, pixel size and printed size of an image and test it against journal column widths.
- TIFF to PNG: convert a TIFF, including a 16-bit microscope TIFF, to PNG or JPEG.
- EPS to PDF: convert an EPS figure to PDF (the file is uploaded, converted and deleted at once).
- PDF to EPS: convert a PDF figure to EPS, keeping vector lines and text (the file is uploaded, converted and deleted at once).
- SVG to EPS: convert an SVG drawing to EPS (the file is uploaded, converted and deleted at once).