Hi all,
I have pdf file which contains mainly images and i want to do the following operations on the file :-
- Contrast Strech 1x1%
- Resize 50%
-Compress Group4
Can it be achived thru ImageMagik?
Thanks...
Image PDF Compression
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Image PDF Compression
try
convert image.pdf -contrast-stretch 1x1% -resize 50% -compress Group4 resultimage
You don't say what output format. Note, generally for PDF you need to specify a density before reading the image and converting to some other format. Also, very important, IM will rasterize your PDF and then convert back to vector (see http://www.imagemagick.org/Usage/formats/#vector)
If you are new to IM, please see
http://www.imagemagick.org/script/comma ... ptions.php
and
http://www.imagemagick.org/Usage/
convert image.pdf -contrast-stretch 1x1% -resize 50% -compress Group4 resultimage
You don't say what output format. Note, generally for PDF you need to specify a density before reading the image and converting to some other format. Also, very important, IM will rasterize your PDF and then convert back to vector (see http://www.imagemagick.org/Usage/formats/#vector)
If you are new to IM, please see
http://www.imagemagick.org/script/comma ... ptions.php
and
http://www.imagemagick.org/Usage/
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Image PDF Compression
For PDF specific options see.
http://www.imagemagick.org/Usage/formats/#pdf_options
http://www.imagemagick.org/Usage/formats/#pdf_options
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/