change resolution preserving subfolder tree structure

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
danjde

change resolution preserving subfolder tree structure

Post by danjde »

Hi friends!

I'm writing because I try to change the resolution (from 300 to 72 dpi) of many many different png files contained in many many subfolders from a main, while preserving the original structure tree and overwriting files modified

is it possible with ImageMagick?

many many thanks!!

davide
italy
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: change resolution preserving subfolder tree structure

Post by snibgo »

Yes, but you'll also need some script.

ImageMagick can change resolutions of the png files within a single folder, but it won't recurse into subdirectories. You'll have control that with your favourite shell.
snibgo's IM pages: im.snibgo.com
Post Reply