Find out resolution and many more of a PDF CLI linux

By.

min read

My profile

Share this:

identify -verbose print_13361_v1388676496_hpx90.pdf

(you need imagemagick installed)

Give you this:
[code:1:089c9efa6a]Image: print_13361_v1388676496_hpx90.pdf
Format: PDF (Portable Document Format)
Class: DirectClass
Geometry: 2384×3402+0+0
Resolution: 72×72
Print size: 33.1111×47.25
Units: Undefined
Type: TrueColorMatte
Endianess: Undefined
Colorspace: RGB
Depth: 16/8-bit
Channel depth:
red: 8-bit
green: 8-bit
blue: 8-bit
alpha: 8-bit
Channel statistics:
Red:
min: 0 (0)
max: 65535 (1)
mean: 51699.9 (0.788889)
standard deviation: 24583.1 (0.375114)
kurtosis: 0.351699
skewness: -1.47867
Green:
min: 0 (0)
max: 65535 (1)
mean: 51789.8 (0.790261)
standard deviation: 20761.8 (0.316804)
kurtosis: 0.662301
skewness: -1.38512
Blue:
min: 0 (0)
max: 65535 (1)
mean: 50283.2 (0.767273)
standard deviation: 23647.1 (0.360832)
kurtosis: -0.171548
skewness: -1.24667
Alpha:
min: 0 (0)
max: 65535 (1)
mean: 61169 (0.933379)
standard deviation: 16299 (0.248706)
kurtosis: 10.1018
skewness: 3.47629
Image statistics:
Overall:
min: 0 (0)
max: 65535 (1)
mean: 39534.7 (0.603261)
standard deviation: 21565.1 (0.329063)
kurtosis: 1.71906
skewness: -1.15928
Alpha: rgba(255,255,255,0) #FFFFFFFFFFFF0000
Rendering intent: Undefined
Interlace: None
Background color: white
Border color: rgba(223,223,223,1)
Matte color: grey74
Transparent color: none
Compose: Over
Page geometry: 2384×3402+0+0
Dispose: Undefined
Iterations: 0
Compression: Undefined
Orientation: Undefined
Properties:
date:create: 2014-01-02T16:32:47+01:00
date:modify: 2014-01-02T16:32:47+01:00
pdf:HiResBoundingBox: 2383.94×3401.57+0+0
pdf:Version: PDF-1.7 3 0 obj <<
signature: fef145b830e9cb09248178695f1b492cdda7fe9bc0367c21e1991d2fb70512be
Profiles:
Profile-icc: 2576 bytes
Artifex Software sRGB ICC Profile
Artifacts:
verbose: true
Tainted: False
Filesize: 3.037MBB
Number pixels: 8.11MB
Pixels per second: 30.04MB
User time: 0.240u
Elapsed time: 0:01.269
Version: ImageMagick 6.6.9-7 2012-08-17 Q16 http://www.imagemagick.org
[/code:1:089c9efa6a]

Share this:

Leave a Reply

Your email address will not be published. Required fields are marked *