Automate DPI Altering With ImageMagick | Linux Today

Automate DPI Altering With ImageMagick

Written By
Web Webster
Web Webster
Mar 23, 2010

[ Thanks to slonkak for this link.
]

“One of the most mundane tasks I have to perform after
a photo shoot is editing the dots per inch (DPI) of the
almost-finished photos so that they print at the correct sizes
(4×6, 5×7, etc.). This process usually involves me opening each
photo, one at a time, and increasing the DPI until I see the print
size reach the desired dimensions. For a couple photos, while
mundane, this task isn’t bothersome. However, when there are 96
photos to alter as in one of my recent shoots, this task can take
forever.

“In a Charles Epps moment, I realized that math could solve this
problem. So the first thing I did was derive the equation I would
need to determine the needed DPI of a photo:”


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.