Search found 41 matches

by Jean-Pierre Coulon
2017-02-27T02:41:48-07:00
Forum: Users
Topic: Converting from jpg or tif to pdf: size of the pdf
Replies: 5
Views: 2686

Re: Converting from jpg or tif to pdf: size of the pdf

snibgo wrote:
2017-02-26T13:06:43-07:00
In v7, "-density" can use a calculation. For example:

Code: Select all

magick in.png -density %[fx:w/2] out.pdf
This will make the PDF 2 inches wide.
Works fine, thanks.
by Jean-Pierre Coulon
2017-02-27T02:36:01-07:00
Forum: Users
Topic: Installed the last version but old one still comes up.
Replies: 5
Views: 3845

Re: Installed the last version but old one still comes up.

fmw42 wrote:
2017-02-27T01:19:20-07:00
In Windows, you must install the legacy components to run convert in IM 7
The download page doesn't contain "legacy". Can you explain?
Alternately, just replace convert with magick and IM 7 should run fine.
Yes, thanks.
by Jean-Pierre Coulon
2017-02-26T23:57:28-07:00
Forum: Users
Topic: Installed the last version but old one still comes up.
Replies: 5
Views: 3845

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?
by Jean-Pierre Coulon
2017-02-26T12:47:37-07:00
Forum: Users
Topic: Converting from jpg or tif to pdf: size of the pdf
Replies: 5
Views: 2686

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 increases. But I...
by Jean-Pierre Coulon
2017-02-25T23:52:14-07:00
Forum: Users
Topic: Converting from jpg or tif to pdf: size of the pdf
Replies: 5
Views: 2686

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.
by Jean-Pierre Coulon
2016-10-10T10:41:36-07:00
Forum: Kudos and Rants
Topic: an Off Topic forum please!
Replies: 1
Views: 11799

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. :-)
by Jean-Pierre Coulon
2016-10-10T07:19:47-07:00
Forum: Users
Topic: Translate a Shell script into Windows Batch file
Replies: 3
Views: 1876

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 you will be able to...
by Jean-Pierre Coulon
2016-10-05T04:08:34-07:00
Forum: Users
Topic: Translate a Shell script into Windows Batch file
Replies: 3
Views: 1876

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
by Jean-Pierre Coulon
2016-10-04T09:38:00-07:00
Forum: Users
Topic: Using the "*" character: order of images
Replies: 5
Views: 2559

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.
by Jean-Pierre Coulon
2016-10-04T09:37:08-07:00
Forum: Users
Topic: Using the "*" character: order of images
Replies: 5
Views: 2559

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.
by Jean-Pierre Coulon
2016-10-04T02:17:45-07:00
Forum: Users
Topic: Using the "*" character: order of images
Replies: 5
Views: 2559

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?