Batch change PPI of JPEG without resampling

"Please leave a message at the beep, we will get back to you when your support contract expires."

Moderators: phlip, Moderators General, Prelates

User avatar
Qaanol
The Cheshirest Catamount
Posts: 3039
Joined: Sat May 09, 2009 11:55 pm UTC

Batch change PPI of JPEG without resampling

Postby Qaanol » Fri Jan 30, 2015 11:26 pm UTC

I am looking for a tool which can batch-convert the PPI resolution of all JPEG files in a folder to a given value, without resampling the images.

As I understand it, the PPI of a JPEG is stored in the EXIF tags XResolution, YResolution, and ResolutionUnit. I need a way to change that metadata for a large number of files. Specifically, I would like to find a GUI application that makes this easy on OS X. Free is good, but I am willing to spend a small amount of money for a quality solution.

Does anyone know of a such a program?
If not, does anyone have experience with ExifTool and know what to enter on the command-line for this task?
wee free kings

speising
Posts: 2078
Joined: Mon Sep 03, 2012 4:54 pm UTC
Location: wien

Re: Batch change PPI of JPEG without resampling

Postby speising » Fri Jan 30, 2015 11:32 pm UTC

exiftool -xresolution=100 -yresolution=100 -ResolutionUnit=inches *.jpg

pretty easy.

User avatar
Qaanol
The Cheshirest Catamount
Posts: 3039
Joined: Sat May 09, 2009 11:55 pm UTC

Re: Batch change PPI of JPEG without resampling

Postby Qaanol » Sat Jan 31, 2015 9:54 pm UTC

speising wrote:exiftool -xresolution=100 -yresolution=100 -ResolutionUnit=inches *.jpg

pretty easy.

Awesome, thanks!
wee free kings


Return to “The Help Desk”

Who is online

Users browsing this forum: No registered users and 5 guests