PCD>TIFF conversion resizes image
Posted: Sun Aug 10, 2008 6:46 am
I'm trying to convert a 3072x2048 pcd image to a tiff. For some reason, the image always ends up scaled down to 768x512. Here's my command line:
nconvert -c 2 -out tiff sa00.pcd
Why is this happening? Does it have anything to do with dpi setting or some such? When I print the info of the pcd image I get some strange res. values: 192x128 (even though I can view the image at 3072x2048). Below is the image info for both the original pcd and the converted tiff.
sa00.pcd : Success
Format : Kodak Photo CD
Name : pcd
Compression : Uncompressed
Width : 192
Height : 128
Components per pixel : 3
Bits per component : 8
Depth : 24
# colors : 16777216
Color model : RGB
Bytes Per Plane : 576
Orientation : Top Left
Xdpi : Not set
Ydpi : Not set
Page(s) : 1
sa00.tif : Success
Format : TIFF
Name : tiff
Compression : LZW
Width : 768
Height : 512
Components per pixel : 3
Bits per component : 8
Depth : 24
# colors : 16777216
Color model : RGB
Bytes Per Plane : 2304
Orientation : Top Left
Xdpi : 72
Ydpi : 72
Page(s) : 1
nconvert -c 2 -out tiff sa00.pcd
Why is this happening? Does it have anything to do with dpi setting or some such? When I print the info of the pcd image I get some strange res. values: 192x128 (even though I can view the image at 3072x2048). Below is the image info for both the original pcd and the converted tiff.
sa00.pcd : Success
Format : Kodak Photo CD
Name : pcd
Compression : Uncompressed
Width : 192
Height : 128
Components per pixel : 3
Bits per component : 8
Depth : 24
# colors : 16777216
Color model : RGB
Bytes Per Plane : 576
Orientation : Top Left
Xdpi : Not set
Ydpi : Not set
Page(s) : 1
sa00.tif : Success
Format : TIFF
Name : tiff
Compression : LZW
Width : 768
Height : 512
Components per pixel : 3
Bits per component : 8
Depth : 24
# colors : 16777216
Color model : RGB
Bytes Per Plane : 2304
Orientation : Top Left
Xdpi : 72
Ydpi : 72
Page(s) : 1