Due Diligence

Pixel perfect

Kaoru Sakabe
March 1, 2017

When the results started rolling in and a story began emerging, my thesis adviser usually instructed us to start assembling figures for a paper. At first, it was daunting to see blank figure panels nestled between the data we had. But the process made it easier to identify missing experiments and to see the logical progression of the story as the holes started to fill in.

With so much attention focused on building a scientific argument, the last thing on my mind while assembling figures was the final figure resolution. However, forgetting to keep resolution in mind from the start can cause problems later on. To avoid any potential issues down the road, I offer a few tips.

Let’s start off with some basics. When reading submission guidelines for journals, they often throw around terms, such as “minimum resolution,” “dpi,” “ppi” and “vector graphics,” which all seem irrelevant when you are eager to write up your manuscript. So what is a pixel, the first “p” in “ppi”? A pixel, derived from “picture element,” refers to the most basic unit composing an image. Each pixel contains information telling the computer what color or shade of gray to display. The film you have scanned, the immunofluorescent image you’ve snapped or the Western blot image you’ve exported from an imaging system — that image is composed of many pixels arranged in an x, y grid such that the final image will show coimmunoprecipitation of your protein of interest or mislocalization of your protein upon treatment with an inhibitor.

Figure 1. Raster data vs. vector data. Raster data becomes pixelated as you zoom in, whereas vector data remains clear.

The resolution of the image refers to the density of pixels. It is the number of pixels that make up your image. The greater the resolution, the more information an image contains and the clearer your image will be. This quantity is expressed as pixels per inch, or ppi. For publication purposes, most journals will require that you submit your final figures with a minimum resolution of 300 ppi. You often will see dots per inch, or dpi, used interchangeably with ppi, but dpi actually refers to printer output, or how many dots of ink are found per inch of a printed document. Since we are talking about digital images, ppi is the more relevant term to use.

The last bit of information you need to know is that your image data can be either raster or vector data (Figure 1). Raster data is simply an image made up using pixels as building blocks as discussed above. Vector data, on the other hand, is not composed of pixels but rather is a set of instructions that tells the computer to display lines and curves. This type of data is useful for graphs or models, since it remains smooth no matter how much you zoom in. Conversely, raster data becomes pixelated as you enlarge the image, making the gridlike pattern of pixels obvious.

OK, we’ve got the basics. Now how do you apply this information to create awesome figures?

Figure 2. Resolution matters! Even if you scan your film at 300 ppi, if you use PowerPoint, you effectively are changing it to a 72 ppi image.

Tip 1: Remember that figure preparation begins at data acquisition. Make sure you are acquiring your image at the proper resolution. Whether you are scanning a film or exporting a file from an imaging system, keep the minimum resolution of 300 ppi in mind. It’s never fun when you realize that you have to find a particular film to rescan at the proper resolution months (or even years) after you performed the experiment, or worse, conduct the experiment again if you can’t find it. For graphs, make sure you are exporting the data in nonraster format, such as *.pdf, *.eps or *.svg. Exporting in these types of formats will prevent your graphs from looking pixelated and keep text legible no matter how you resize it later.

Tip 2: Use appropriate software when laying out your figures. PowerPoint may be user-friendly, but it is meant to work at screen resolution, which is only 72 ppi. When you export images from this program, you end up with a 72 ppi image that needs to be converted into a 300 ppi one (Figure 2). Conversion to a higher resolution image can result in an image that is too small for publication or one that is extremely pixelated. Additionally, depending on how you upscale, or increase the number of pixels in your image, your software program may introduce pixels into your image, thereby creating artifacts. Adobe Illustrator usually is recommended for figure assembly, but Inkscape and CorelDraw are good alternatives. These programs are meant to combine raster and vector data into a single figure and can do so without affecting the pixels found in raster data.

Tip 3: Set your canvas size to the physical dimensions provided by the journal. Most journals provide two or three size options: single-column width, double-column width and occasionally 1.5-column width. Once you insert your graphics into the figure using the appropriate software, you usually don’t have to worry about image resolution; however, be careful when increasing the size of a raster image. If you insert a 300 ppi image and decide you want to double its size, the resulting resolution of that image will be 150 ppi and likely will look less clear than the original.

Keeping track of image resolution shouldn’t be a hassle. By incorporating these suggestions into your workflow, you can rest assured you have done your due diligence.

Enjoy reading ASBMB Today?

Become a member to receive the print edition monthly and the digital edition weekly.

Learn more
Kaoru Sakabe

Kaoru Sakabe is the data integrity manager at the ASBMB.

Get the latest from ASBMB Today

Enter your email address, and we’ll send you a weekly email with recent articles, interviews and more.

Latest in Science

Science highlights or most popular articles

Iron could be key to treating a global parasitic disease
Journal News

Iron could be key to treating a global parasitic disease

April 16, 2024

A study has found that leishmaniasis causes body-wide changes in iron balance, leading to red blood cell damage.

Environmental DNA is everywhere
News

Environmental DNA is everywhere

April 14, 2024

The ability to extract trace bits of DNA from soil, water, and even air is revolutionizing science. Are there pitfalls?

Early COVID-19 research is riddled with poor methods and low-quality results
News

Early COVID-19 research is riddled with poor methods and low-quality results

April 13, 2024

The pandemic worsened, but didn’t create, this problem for science.

From the journals: MCP
Journal News

From the journals: MCP

April 12, 2024

Three views of mass spec: analyzing secreted protein spectra, imaging mass spectrometry for clinical use and spectral libraries for MS data analysis. Read about these recent papers.

Understanding the fat science
Journal News

Understanding the fat science

April 9, 2024

Researchers at UCLA investigate lipid remodeling in the liver for energy generation.

No oxygen? No problem
Journal News

No oxygen? No problem

April 8, 2024

By studying how electric fish survive in hypoxic streams for months at time, researchers may find new ways to target tumors.