Search found 16 matches

by AnthonyC84
2019-07-16T08:34:31-07:00
Forum: Users
Topic: Trying to make a BAT file to convert PDF to multi page tiff
Replies: 8
Views: 16940

Re: Trying to make a BAT file to convert PDF to multi page tiff

You have omitted "for" at the start of those examples. Your second example will read all of the tiff files and put then in a single PDF named after the first tiff. Then it will again read all of the tiff files and put then in a single PDF named after the second tiff, and so on. I edited the post ...
by AnthonyC84
2019-07-16T08:17:59-07:00
Forum: Users
Topic: Trying to make a BAT file to convert PDF to multi page tiff
Replies: 8
Views: 16940

Re: Trying to make a BAT file to convert PDF to multi page tiff

I got the Tiff to PDF to work. For anyone who wants to know Batch code to do the conversions with ImageMagick installed. PDF->Tiff for %%f in (%*) DO "C:\Program Files\ImageMagick-7.0.8-Q16\magick.exe" -density 300 -compress lzw -units pixelsperinch %%f %%f_%%03d.tiff Tiff->PDF for %%f in (%*) DO "C ...
by AnthonyC84
2019-07-16T07:57:52-07:00
Forum: Users
Topic: Trying to make a BAT file to convert PDF to multi page tiff
Replies: 8
Views: 16940

Re: Trying to make a BAT file to convert PDF to multi page tiff

Do you have Ghostscript installed ? that is required on Windows platforms to convert PDF's. Read here: https://imagemagick.org/Usage/files/#delegate_postscript Ghostscript here: https://www.ghostscript.com/download.html I have GS as well as imgmagick. I'm use to using imgmagick commands in CMD but ...
by AnthonyC84
2019-07-16T07:55:08-07:00
Forum: Users
Topic: Trying to make a BAT file to convert PDF to multi page tiff
Replies: 8
Views: 16940

Re: Trying to make a BAT file to convert PDF to multi page tiff

Sadly, this doesn't work. It would help if you said what happens instead -- error messages or any file outputs or what? In a batch file, any % signs (other than script parameters) need to be doubled. So you need %%f_%%03d.tiff for the output filename. The BAT would lock up CMD and didn't flag any ...
by AnthonyC84
2019-07-16T06:30:38-07:00
Forum: Users
Topic: Trying to make a BAT file to convert PDF to multi page tiff
Replies: 8
Views: 16940

Trying to make a BAT file to convert PDF to multi page tiff

Hi, I am trying to create a batch file so that when a multi page PDF document is dragged onto the PDF, the BAT file will create a multi page tiff document with the same filename and page numbers attached. ie) File.pdf becomes File_001.tiff File_002.tiff .. etc. I was looking at some posts and found ...
by AnthonyC84
2017-01-24T06:05:31-07:00
Forum: Users
Topic: How do I convert PDF to TIFF (300 DPI resolution)
Replies: 22
Views: 53963

Re: How do I convert PDF to TIFF (300 DPI resolution)

Where do the PDF files originate? Are they from a scanner as raster images in a PDF shell or as vector data from some PDF writer such as Acrobat? PDF files have no density and so no size in inches. All that is defined by specifying the density (resolution) and units when printing or converting to ...
by AnthonyC84
2017-01-23T14:23:45-07:00
Forum: Users
Topic: How do I convert PDF to TIFF (300 DPI resolution)
Replies: 22
Views: 53963

Re: How do I convert PDF to TIFF (300 DPI resolution)

If you specify a density and not a unit, then some printers may not interpret the correct units and the print page size will be wrong. If I am converting a pdf where all pages are 8.5x11 to tiff files and then writing on them digitally using a tablet and then afterwards converting the modified tiff ...
by AnthonyC84
2017-01-23T13:32:04-07:00
Forum: Users
Topic: How do I convert PDF to TIFF (300 DPI resolution)
Replies: 22
Views: 53963

Re: How do I convert PDF to TIFF (300 DPI resolution)

In Windows, If I put a number after "-units", I get an error: f:\web\im>%IM%convert rose: -density 300 -units 1 x.png convert.exe: unrecognized units type `1' @ error/convert.c/ConvertImageCommand/3116. The error is reasonable, as the documentation http://www.imagemagick.org/script/command-line ...
by AnthonyC84
2017-01-23T13:12:11-07:00
Forum: Users
Topic: How do I convert PDF to TIFF (300 DPI resolution)
Replies: 22
Views: 53963

Re: How do I convert PDF to TIFF (300 DPI resolution)

Units make no difference in image file size. They control the size when printed (resolution converted from pixels to inches or centimeters) With regard to your units numerical values, those are coming from your Window? interpretation of the units, not the units that are defined by IM. For example ...
by AnthonyC84
2017-01-23T12:27:23-07:00
Forum: Users
Topic: How do I convert PDF to TIFF (300 DPI resolution)
Replies: 22
Views: 53963

Re: How do I convert PDF to TIFF (300 DPI resolution)

What are those references. I believe they are wrong or pertain to some other software. Or you have misunderstood what they are telling you about -units. See http://www.imagemagick.org/script/command-line-options.php#units I compared file sizes with and without the -units command. Both returned the ...
by AnthonyC84
2017-01-23T12:09:57-07:00
Forum: Users
Topic: How do I convert PDF to TIFF (300 DPI resolution)
Replies: 22
Views: 53963

Re: How do I convert PDF to TIFF (300 DPI resolution)

I do not know if pdf actually supports JPEG compression. With respect to -units 2, I do not believe that numerical values are allowed. It is either pixelsperinch or pixelspercentimeter. I saw the compression from a different forum post. After testing with and without the compression method, when I ...
by AnthonyC84
2017-01-23T11:31:08-07:00
Forum: Users
Topic: How do I convert PDF to TIFF (300 DPI resolution)
Replies: 22
Views: 53963

Re: How do I convert PDF to TIFF (300 DPI resolution)

Also, if I have files named test1.tiff, test2.tiff, test3.tiff .... test50.tiff. How would I convert all 50 tiff images to a single pdf document with the same resolution. With this command: convert test1.tiff, test2.tiff, test3.tiff .... test50.tiff. out.pdf All your inputs must be listed. You ...
by AnthonyC84
2017-01-23T10:09:04-07:00
Forum: Users
Topic: How do I convert PDF to TIFF (300 DPI resolution)
Replies: 22
Views: 53963

Re: How do I convert PDF to TIFF (300 DPI resolution)

Ok after some testing I have finally got this working to the way I need it to. My only inquiry now is whether I can add in LZW image compression to my TIFF files to try and reduce the file size. The command I am using now is > convert -density 300 test.pdf test_%d.tiff I am now able to use the ...
by AnthonyC84
2017-01-23T08:56:57-07:00
Forum: Users
Topic: How do I convert PDF to TIFF (300 DPI resolution)
Replies: 22
Views: 53963

Re: How do I convert PDF to TIFF (300 DPI resolution)

Try replacing convert with magick Thank you for that. Provided I change my directory to where my file is in cmd and then use magick, I can get the conversion to work. However, the images I get are blurry and lack detail. I have a bunch of mathematical formulas and graphs which are turning out to be ...
by AnthonyC84
2017-01-23T08:20:04-07:00
Forum: Users
Topic: How do I convert PDF to TIFF (300 DPI resolution)
Replies: 22
Views: 53963

Re: How do I convert PDF to TIFF (300 DPI resolution)

What version of IM did you download? Was it v6 or v7? What is your platform? What command have you tried? What was the exact message you got back? ... getting invalid parameter errors I'll take a wild guess: you are on Windows, and tried the "convert" command. But you haven't set it up correctly ...