I used the following command to convert a pdf file to .tif format and was successful.
convert 123.pdf file 123.tif file.
1. All the objects including some text and a wave form on the PDF came very small - the reduction in size was proportionate for all object. How do I make the size of the object in pDF file the same as in pdf file
2. The resolution of all all objects was very much on the lower side. What option do I use or play around with to get this better - as close I see on the .pdf document
Convert PDF to .TIF
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Convert PDF to .TIF
I've moved your question to a new topic.
A PDF file has dimension in inches (or centimetres), but ImageMagick is more concerned with pixels. By default, IM tells Ghostscript to rasterize the PDF at 72 pixels per inch, but you can change this with "-density XX" before the input PDF, where XX is any number you want.
A PDF file has dimension in inches (or centimetres), but ImageMagick is more concerned with pixels. By default, IM tells Ghostscript to rasterize the PDF at 72 pixels per inch, but you can change this with "-density XX" before the input PDF, where XX is any number you want.
snibgo's IM pages: im.snibgo.com
Re: Convert PDF to .TIF
Thanks for your useful feedback, i got good result, but when I took the density to 200, the file size almost doubled. Is there any workaround on that.
Also the the dimensions gets reduced so significantly, by a factor of 3, on the whole image. Do you have any feedback
Appreciate your help
Also the the dimensions gets reduced so significantly, by a factor of 3, on the whole image. Do you have any feedback
Appreciate your help
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Convert PDF to .TIF
try adding -compress lzw before the output
or
Code: Select all
convert -density 200 123.pdf -compress lzw 123.tif
Code: Select all
convert -density 288 123.pdf -resize 25% -compress lzw 123.tif
Re: Convert PDF to .TIF
thanks for all you ehlp, worked out well
Re: Convert PDF to .TIF
Is the usage of lzw compression - copyrighted . Can we use Flate compression algorithm
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Convert PDF to .TIF
Perhaps you mean: is LZW patented? According to https://en.wikipedia.org/wiki/Lempel%E2 ... 80%93Welch , all LZW patents have expired.vargheseg wrote:Is the usage of lzw compression - copyrighted .
I've never heard "Flate". Perhaps it is another name for "Zip". Use "convert -list compress" for a list of available compression methods.vargheseg wrote:Can we use Flate compression algorithm
snibgo's IM pages: im.snibgo.com
Re: Convert PDF to .TIF
Thanks for the feedback
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Convert PDF to .TIF
Imagematick does not have a flate compression. See http://www.cvisiontech.com/library/pdf/ ... ssion.html. It is similar to LZW, but for PDF files as far as I can tell and not for applying to TIFF files.