Using IM (windows ver) to convert Kodak .pcd files to TIFFs

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
thesquire
Posts: 7
Joined: 2016-03-13T11:36:44-07:00
Authentication code: 1151

Using IM (windows ver) to convert Kodak .pcd files to TIFFs

Post by thesquire »

Hi:

My first post. First of all I read the basic Windows usage information about using IM. It does not answer my issue. I am a complete novice at IM. Haven't used it yet.

I want to convert my Kodak .PCD files to TIFF format, but to at the same time extract the large resolution image from the .PCD file. Anyone who has used Kodak's .pcd files in the old days knows that the .PCD file contains several different resolution versions within the .PCD file. Has anyone on this forum done what I want to do, and, if so, would they be kind enough to provide me with some relevant info, including a DOS\Windows command line script to accomplish my intention? Thanks for any helpful responses.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Using IM (windows ver) to convert Kodak .pcd files to TIFFs

Post by snibgo »

I have a load of PCD CDs somewhere, but can't find them. If you can link to a PCD online, or upload one yourself, I'll take a look.
snibgo's IM pages: im.snibgo.com
thesquire
Posts: 7
Joined: 2016-03-13T11:36:44-07:00
Authentication code: 1151

Re: Using IM (windows ver) to convert Kodak .pcd files to TIFFs

Post by thesquire »

I don't know how to upload a .pcd file to snibdo.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Using IM (windows ver) to convert Kodak .pcd files to TIFFs

Post by snibgo »

You can upload to somewhere like dropbox.com and paste the URL here.
snibgo's IM pages: im.snibgo.com
thesquire
Posts: 7
Joined: 2016-03-13T11:36:44-07:00
Authentication code: 1151

Re: Using IM (windows ver) to convert Kodak .pcd files to TIFFs

Post by thesquire »

Hi:

I will attempt set up Dropbox in order to try your suggestion. Thanks.
thesquire
Posts: 7
Joined: 2016-03-13T11:36:44-07:00
Authentication code: 1151

Re: Using IM (windows ver) to convert Kodak .pcd files to TIFFs

Post by thesquire »

I sent snibgo a dropbox URL with a .pcd file re the topic.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Using IM (windows ver) to convert Kodak .pcd files to TIFFs

Post by snibgo »

This creates a 6144x4096 pixel sRGB image from your file:

Code: Select all

convert IMG0101.PCD[6] -colorspace sRGB x.tiff
snibgo's IM pages: im.snibgo.com
thesquire
Posts: 7
Joined: 2016-03-13T11:36:44-07:00
Authentication code: 1151

Re: Using IM (windows ver) to convert Kodak .pcd files to TIFFs

Post by thesquire »

Thanks, snibgo. I will try that code. Since I have never used ImageMagick before, could you clarify what the line: Code:SELECT ALL does? Also what does the [6] do in the convert line? Sorry to be such a bother.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Using IM (windows ver) to convert Kodak .pcd files to TIFFs

Post by snibgo »

[6] selects the seventh image in the file. They are numbered 0 to 6. Image 0 in a PCD is the smallest, 192x128 pixels.

What "Code:SELECT ALL"? Where is that?
snibgo's IM pages: im.snibgo.com
thesquire
Posts: 7
Joined: 2016-03-13T11:36:44-07:00
Authentication code: 1151

Re: Using IM (windows ver) to convert Kodak .pcd files to TIFFs

Post by thesquire »

Before I used IM I set up IRFANVIEW (latest version) and tried it. It worked beautifully to capture the highest resolution available. The pictures were taken with a high-end Canon SLR (A1) and good quality Canon glass circa 1994 it produced an image file of approx 18 MB in size. Damned good quality taken from a Kodak pcd file which was from Kodak color negative film. I can't wait to see what enhancement using LR and PS can do to these images. I don't need to scan the negatives. Hooray!!

I am going to try a few conversions using IM (latest version) and will share the results comparison.
thesquire
Posts: 7
Joined: 2016-03-13T11:36:44-07:00
Authentication code: 1151

Re: Using IM (windows ver) to convert Kodak .pcd files to TIFFs

Post by thesquire »

Here is your post.

Postby snibgo » 2016-03-13T16:11:34-06:00
This creates a 6144x4096 pixel sRGB image from your file:

Code: Select all
convert IMG0101.PCD[6] -colorspace sRGB x.tiff
snibgo's IM pages: im.snibgo.com

I plead extreme ignorance about the line containing the words: Code: Select All.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Using IM (windows ver) to convert Kodak .pcd files to TIFFs

Post by fmw42 »

It is just a box to highlight the line of code (Imagemagick command line) to separate it from the rest of the text. You can mark text as code or quotes or style it (bold, italics, colored) by clicking the appropriate button in the Full Editor & Preview window from the button below the type-in box here.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Using IM (windows ver) to convert Kodak .pcd files to TIFFs

Post by snibgo »

Ah, yes, thanks Fred. I was thinking of image and text editors that often have "select all" as a menu option.

As Fred says, in a post, you can click on "select all" to select all the code in the box. Then you can copy it (ctrl-C in Windows) and paste it to a console, or script file, or whatever.
snibgo's IM pages: im.snibgo.com
Post Reply