Skip to content

Instantly share code, notes, and snippets.

@slackero
Last active October 6, 2017 11:20
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save slackero/f7c9c386585822b85b8f3d882772566d to your computer and use it in GitHub Desktop.
Save slackero/f7c9c386585822b85b8f3d882772566d to your computer and use it in GitHub Desktop.
Recursive batch convert Kodak Photo CD PCD to JPEG with pcdtojpeg

How to batch convert PCD to JPEG

Kodak Photo CD support has almost gone, so the best and easy way to convert all PCD images to some more handy JPEG is to use the Photo CD Decoder pcdtojpeg. More information can be found on the project web site.

The terminal command will convert every *.PCD starting at current directory and subdirectories:

find . -name '*.PCD' -exec pcdtojpeg -q 100 -r 5 {} \;

Ah yes – and maybe your files have extension *.pcd:

find . -name '*.pcd' -exec pcdtojpeg -q 100 -r 5 {} \;

If pcdtojpeg is not installed global, use full path to where it is placed:

find . -name '*.PCD' -exec /path/to/pcdtojpeg -q 100 -r 5 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment