Skip to content

Instantly share code, notes, and snippets.

@slackero
Last active Oct 6, 2017
Embed
What would you like to do?
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