Convert Kodak .PCD files

XnConvert Multi Platform - Windows, MacOSX, Linux

Moderators: XnTriq, helmut, xnview

Post Reply
GregM8
Posts: 4
Joined: Wed Dec 07, 2016 7:25 pm

Convert Kodak .PCD files

Post by GregM8 »

XnConvert does a good job of converting my files but only at the lowest resolution. At present if I take a 3.7MB .PCD file XnView converts it to a low res 54KB file.

Within a .PCD file there are multiple resolutions and I would like to extract the highest resolution possible.

How can I do this?
cday
XnThusiast
Posts: 3976
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Convert Kodak .PCD files

Post by cday »

GregM8 wrote:XnConvert does a good job of converting my files but only at the lowest resolution. At present if I take a 3.7MB .PCD file XnView converts it to a low res 54KB file.

Within a .PCD file there are multiple resolutions and I would like to extract the highest resolution possible.

How can I do this?
On the Settings tab you have Load format settings...
Image_2.png
Image_1.png
Image_1.png (17.16 KiB) Viewed 5126 times
Which I presume provides the answer to your question?
elzevir
Posts: 1
Joined: Sun Dec 11, 2016 10:09 pm

Re: Convert Kodak .PCD files

Post by elzevir »

i followed that and I still on get BASE resolution (512 x 768) even though I selected higher.

Using XnViewMP 0.83
User avatar
XnTriq
Moderator & Librarian
Posts: 6336
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Convert Kodak .PCD files

Post by XnTriq »

elzevir wrote:i followed that and I still on get BASE resolution (512 x 768) even though I selected higher.

Using XnViewMP 0.83
  1. Download pcd.zip and extract pcdlib32.dll into the plugins subdirectory of your XnViewMP installtation.
  2. Start XnViewMP and open a PCD file.
  3. Go to File » Format settings... » PCD and adjust the setting for PCD size.
  4. Quit and restart XnViewMP.
Update: This plug-in only works with the 32-bit Windows editions of XnView MP and XnConvert, as well as XnView Classic and NConvert. There's also a patched version of pcdlib32.dll available:
Ted Felix ([url=http://www.tedfelix.com/SupaSoft/PCDLib.html]Kodak Photo CD Library Fix[/url]) wrote:Kodak's PhotoCD library is used by imaging programs like Paint Shop Pro, and ThumbsPlus to load PhotoCD images. This library has a flaw that causes highlight information to be lost in your images. The PhotoCD Library Fix is a new version of the library that fixes the problem.
GregM8
Posts: 4
Joined: Wed Dec 07, 2016 7:25 pm

Re: Convert Kodak .PCD files

Post by GregM8 »

Thanks very much cday

But when I go to set XnConvert to the highest resolution:
Screen Shot 2016-12-12 at 7.16.34 PM.png
Screen Shot 2016-12-12 at 7.16.34 PM.png (41.05 KiB) Viewed 5078 times
and then I press Convert in the bottom right
Screen Shot 2016-12-12 at 7.17.12 PM.png
I still end up with a 4.5MB original pcd file being output as a 76KB jpg:
Screen Shot 2016-12-12 at 7.19.50 PM.png
Screen Shot 2016-12-12 at 7.19.50 PM.png (31.2 KiB) Viewed 5078 times
Am I doing something wrong?
cday
XnThusiast
Posts: 3976
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Convert Kodak .PCD files

Post by cday »

I'm not personally familiar with the PCD format, but I assume that you are using XnConvert 32-bit version and have loaded the required plug-in as in XnTriq's post above?

And also reviewed the settings on the Output tab including the JPEG compression set?

Could you upload the output JPEG file, in case that is helpful?

Also perhaps, if it will compress to less than 2 MiB in a ZIP or similar archive, the original .PCD file or another smaller example...
User avatar
XnTriq
Moderator & Librarian
Posts: 6336
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Convert Kodak .PCD files

Post by XnTriq »

According to Pierre, the plug-in doesn't work on Mac OS.
pcdtojpeg wrote:pcdtojpeg converts PCD (Kodak Photo CD) image files into high quality JPEG images. Conversions are at the maximum available PCD resolution, and are fully color managed - no blown highlights or color casts.

[…]

In order to be able to use pcdtojpeg, you must be comfortable with using command line utilities on either the Mac or PC - compiled, ready to go executables are provided in the distribution file for both. However, if you want to use pcdtojpeg on another OS (e.g., Linux) you will probably have to compile it yourself. Instructions are provided on the Installation page.
GregM8
Posts: 4
Joined: Wed Dec 07, 2016 7:25 pm

Re: Convert Kodak .PCD files

Post by GregM8 »

Thanks for your help. I'm still having trouble though. I've got access to a 64 bit Win 10 device and have loaded what I think is the 32 bit version of XnConvert.
Version.PNG
I've placed the plugin in the correct folder
Plugin.PNG
Whenever I open the app I get this message. I just click cancel and the app opens up
Drive D.PNG
Drive D.PNG (17.17 KiB) Viewed 5027 times
Then I set the output format and set the output folder
Output.PNG
and the PCD settings
PCD Settings.PNG
and click convert. But it fails every time
Output Failed.png
What am I doing wrong?
User avatar
XnTriq
Moderator & Librarian
Posts: 6336
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Convert Kodak .PCD files

Post by XnTriq »

I've done my tests with XnConvert v1.73 for Windows x32 + pcdlib32.dll and the following sample files:
My first attempt with PCD size set to Base 64 (4096x6144)

Code: Select all

X:\Test\IMG0001.PCD 4096x6144x24 : loaded
X:\Test\IMG0001.png : saved

X:\Test\example.pcd 6144x4096x24 : loaded
X:\Test\example.png : saved


Input files: 2
Extracted pages: 2
New files: 2

Total Duration: 3 second(s)
… resulted in two completely black images:
  • IMG0001.png = W4096×H6144
  • example.png = W6144×H4096
When I changed PCD size to Base 16 (2048x3072), …

Code: Select all

X:\Test\IMG0001.PCD 2048x3072x24 : loaded
X:\Test\IMG0001.png : saved

X:\Test\example.pcd 3072x2048x24 : loaded
X:\Test\example.png : saved


Input files: 2
Extracted pages: 2
New files: 2

Total Duration: 32 second(s)
… conversion worked as expected:
  • IMG0001.png = W2048×H3072
  • example.png = W3072×H2048
Kodak » Photo CD Disc » Resolution Information » Image resolutions:
  • Base/16: 128×192 px / 0.07 MB
    Index print of image (thumbnail view)
  • Base/4: 256×384 px / 0.28 MB
    Displaying rotated images on television (base image is too large when rotated)
  • Base: 512×768 px / 1.13 MB
    Television or computer monitor display (“FPO”)
  • 4 Base: 1024×1536 px / 4.50 MB
    High-definition television display (HDTV)
  • 16 Base: 2048×3072 px / 18.00 MB
    High resolution for 35 mm film original (“Final”); highest resolution on a Photo CD Master Disc
  • 64 Base (optional): 4096×6144 px / 72.00 MB
    Full resolution scans of 35 mm and larger format films (for prepress); available only on a Photo CD Pro Master Disc
GregM8
Posts: 4
Joined: Wed Dec 07, 2016 7:25 pm

Re: Convert Kodak .PCD files

Post by GregM8 »

XnTriq wrote:According to Pierre, the plug-in doesn't work on Mac OS.
Thanks

I used pcdtojpeg and it worked fine
Post Reply