Batch Convert PhotoCD to Tif

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
IanLeonard

Batch Convert PhotoCD to Tif

Post by IanLeonard »

Dear List,

I have just downloaded and installed imagemagick and am somewhat overwhelmed by it's functionality.

I really have only 1 task that I need to complete at this time but the list of options is daunting for me. I need to batch convert the contents of around 500 Kodak PhotoCD and ProPhotoCD disks to tiffs at the greatest res available in the imagepaks, that is 2048*3072 for PCD and 4096*6144 for PPCD.

The Convert or Mogrify commands seem to be the most appropriate but I cannot come up with a suitable syntax. Clearly I need to open the files from CD and save the tiffs on a local HDD.

Can some kind soul point me in the right direction, please?

Thanks in advance.

Ian.

Ian Leonard
Wiltshire
UK
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Batch Convert PhotoCD to Tif

Post by fmw42 »

IanLeonard

Re: Batch Convert PhotoCD to Tif

Post by IanLeonard »

Thanks Wolfgang, that nearly works, I have written this:

For %a in (*.PCD) DO imconvert %a -colorspace RGB %a .tif

This produces low res tifs and if I add the [5] after PCD nothing happens so I am stuck on that, if anyone can help.

In an ideal world I'd like to work straight from the CD and make the copy on a HDD but I can fiddle about with those settings.

Best wishes from

Ian LEonard
Wiltshire UK
IanLeonard

Re: Batch Convert PhotoCD to Tif

Post by IanLeonard »

Getting there now, this creates large (75mb) tifs in the same directory:

For %a in (*.PCD) DO imconvert %a[6] -colorspace RGB %a .tif

I could just copy all the PCDs to individual folders then run this on each folder, but the PCD and TIf would be together, i'd rather copy from the cd to a folder.

Pondering,

Ian Leonard
Wiltshire UK
Post Reply