Page 1 of 1

Batch Convert PhotoCD to Tif

Posted: 2010-01-15T02:52:06-07:00
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

Re: Batch Convert PhotoCD to Tif

Posted: 2010-01-15T11:21:06-07:00
by fmw42

Re: Batch Convert PhotoCD to Tif

Posted: 2010-01-19T06:03:32-07:00
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

Re: Batch Convert PhotoCD to Tif

Posted: 2010-01-19T07:46:11-07:00
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