Works fine, thanks.snibgo wrote: ↑2017-02-26T13:06:43-07:00 In v7, "-density" can use a calculation. For example:This will make the PDF 2 inches wide.Code: Select all
magick in.png -density %[fx:w/2] out.pdf
Search found 41 matches
- 2017-02-27T02:41:48-07:00
- Forum: Users
- Topic: Converting from jpg or tif to pdf: size of the pdf
- Replies: 5
- Views: 4490
Re: Converting from jpg or tif to pdf: size of the pdf
- 2017-02-27T02:36:01-07:00
- Forum: Users
- Topic: Installed the last version but old one still comes up.
- Replies: 5
- Views: 6167
- 2017-02-26T23:57:28-07:00
- Forum: Users
- Topic: Installed the last version but old one still comes up.
- Replies: 5
- Views: 6167
Installed the last version but old one still comes up.
I just installed ImageMagick-7.0.5-0-Q8-x64-dll.exe but when I say convert -version I still obtain ImageMagick 6.8.9-4 Q8 x64 2014-06-22. How can I cause "convert" to fetch the last version?
- 2017-02-26T12:47:37-07:00
- Forum: Users
- Topic: Converting from jpg or tif to pdf: size of the pdf
- Replies: 5
- Views: 4490
Re: Converting from jpg or tif to pdf: size of the pdf
"-density" will change the physical size (in inches or centimetres) of the PDF without changing the pixels. Eg: convert rose: -density 300 out.pdf Does that answer the question? Yes it does. With Acrobat Reader, Document properties, I see the document size decrease when the density increa...
- 2017-02-25T23:52:14-07:00
- Forum: Users
- Topic: Converting from jpg or tif to pdf: size of the pdf
- Replies: 5
- Views: 4490
Converting from jpg or tif to pdf: size of the pdf
How can I change the size (in cm or in) of the pdf without changing the resolution? Of course -resize change this size but it also changes the resolution.
- 2016-10-10T10:41:36-07:00
- Forum: Kudos and Rants
- Topic: an Off Topic forum please!
- Replies: 1
- Views: 77320
an Off Topic forum please!
I think we should have a forum for off-topics like windows tricks, music, card games etc. Often I am too lazy to subscribe to an appropriate forum and when I have a problem somewhere an ImageMagick user can have an idea.
- 2016-10-10T07:19:47-07:00
- Forum: Users
- Topic: Translate a Shell script into Windows Batch file
- Replies: 3
- Views: 3316
Re: Translate a Shell script into Windows Batch file
I put myself to the problem: create the batch assoctab.bat with for /L %%a in (1, 1, %1) do ( (set /a ileft="2*%%a-1") (set /a iright="2*%%a") call convert rose%%ileft%%.png rose%%iright%%.png +append tulip%%ileft%%_%%iright%%.png) Type assoctab <number of initial png files> Hope...
- 2016-10-05T04:08:34-07:00
- Forum: Users
- Topic: Translate a Shell script into Windows Batch file
- Replies: 3
- Views: 3316
Re: Translate a Shell script into Windows Batch file
I would rather write a Fortran creating the series of DOS commands, but try the newsgroup alt.msdos.batch
- 2016-10-04T09:38:00-07:00
- Forum: Users
- Topic: Using the "*" character: order of images
- Replies: 5
- Views: 4659
Re: Using the "*" character: order of images
Thanks, it works well with leading zeroes. I am with Windows 10. The order in the pdf is that obtained with dir/on p*.tif.
- 2016-10-04T09:37:08-07:00
- Forum: Users
- Topic: Using the "*" character: order of images
- Replies: 5
- Views: 4659
Re: Using the "*" character: order of images
Thanks, it works well with leading zeroes. I am with Windows 10. The order in the pdf is that obtained with dir/on p*.tif.
- 2016-10-04T02:17:45-07:00
- Forum: Users
- Topic: Using the "*" character: order of images
- Replies: 5
- Views: 4659
Using the "*" character: order of images
Suppose I have a set of tif images called p1.tif, p2.tif... p25. tif. If I type convert p*.tif mybook.pdf, how does ImageMagick choose the order of these images in the pdf result? Is it the same order you obtain when you type dir p*.tif in a command prompt window? Can I influence this order?