Kodak Photo CD - Dimension Problem

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: XnTriq, helmut, xnview

aleks4ca
Posts: 1
Joined: Tue Feb 16, 2010 3:39 pm

Kodak Photo CD - Dimension Problem

Post by aleks4ca »

I use SDK 3.11 (32bit). If i load .pcd file with gflLoadBitmap, width and height are 4 times smaller than they really are. XnView on the other side displays same .pcd with correct width and height (768x512). Is this a bug in SDK or am I doing something wrong?
Alex
User avatar
xnview
Author of XnView
Posts: 45334
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Kodak Photo CD - Dimension Problem

Post by xnview »

You need the pcd plugin from XnView
Pierre.
BabaG
Posts: 150
Joined: Sat Mar 03, 2007 6:41 am

Re: Kodak Photo CD - Dimension Problem

Post by BabaG »

i'm having pretty much this same issue.

trying to convert some old photo cds to another format using xnview batch.
i had xnview v1.96 and found that pcd images were opening at 768x512.
found this thread and downloaded the plugin for pcd (which i already had)
and put it in plugins folder. file was pcdlib32.dll. the one in the folder
seemed to be much older but replacing it didn't solve the issue.

i then downloaded the xnview v1.97 full install exe and, after uninstalling
v1.96, installed v1.97. same issue. looked in the plugins folder and pcdlib32.dll
is there in v1.97.

how do i get the images to open correctly?

one thing i notice is that the thumbnails say 3072x2048 24bit.
clicking the file puts it in the previewer at the bottom of the screen. if i
open the properties tab in that pane, the properties say the file is 768x512
at 24 bits. if, however, i right click on the thumbnail in the browser, i get
a context menu, ath the bottom of which is a properties option. selecting
that properties option produces a window with two tabs, one for file, the
other for image. the image tab in this properties tab says the file is 3072
x 2048. exporting the file produces a file of 768 x 512.

how do i get the right size image?

thanks,
BabaG
User avatar
xnview
Author of XnView
Posts: 45334
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Kodak Photo CD - Dimension Problem

Post by xnview »

BabaG wrote:i'm having pretty much this same issue.
Option/Read/PhotoCD
Pierre.
BabaG
Posts: 150
Joined: Sat Mar 03, 2007 6:41 am

Re: Kodak Photo CD - Dimension Problem

Post by BabaG »

thanks! that was it.

BabaG