i get different values for color type when using following:
when using:
Code: Select all
identify -verbose multipage.pdf
i get :
Code: Select all
Format: PDF (Portable Document Format)
Class: DirectClass
Geometry: 595x842+0+0
Resolution: 72x72
Print size: 8.26389x11.6944
Units: Undefined
Type: ColorSeparation
Endianess: Undefined
Colorspace: CMYK
Depth: 16/8-bit
Channel depth:
cyan: 8-bit
magenta: 8-bit
yellow: 8-bit
black: 1-bit
Channel statistics:
cyan:
min: 0 (0)
max: 65535 (1)
....
Code: Select all
identify -verbose multipage.pdf[0]
i get:
Code: Select all
Format: PDF (Portable Document Format)
Class: PseudoClass
Geometry: 595x842+0+0
Resolution: 72x72
Print size: 8.26389x11.6944
Units: Undefined
Type: Grayscale
Base type: Grayscale
Endianess: Undefined
Colorspace: RGB
Depth: 16/8-bit
Channel depth:
gray: 8-bit
Channel statistics:
gray:
min: 0 (0)
max: 65535 (1)
mean: 61871.1 (0.944092)
standard deviation: 12164.9 (0.185625)
kurtosis: 13.5452
skewness: -3.73894
....
What i need to do is to make png thumbnails from multipage PDF Files. But right now it results in black and white PNGs, not in colored ones, because i'm using
Code: Select all
convert -thumbnail 80 filename.pdf[0] filename.png
thx