Search found 289 matches

by whugemann
2011-12-30T21:26:27-07:00
Forum: Developers
Topic: Google Search on the Usage section -- creation dates
Replies: 0
Views: 3163

Google Search on the Usage section -- creation dates

Hi, I want to update http://www.imagemagick.org/Usage/windows in the oncoming days. While trying a Google search for this page (e.g.: ImageMagick Windows usage), I found that Google dates the page to 23 Apr 2009 and provides this date at the start of the search result. This suggests that the page is...
by whugemann
2011-12-30T02:45:36-07:00
Forum: Users
Topic: Commandline output to a file?
Replies: 2
Views: 5826

Re: Commandline output to a file?

Compare writes textual output to STDERR instead of STDOUT, so you have to use "2>" instead of just ">".
by whugemann
2011-12-29T04:42:40-07:00
Forum: Users
Topic: Montage and drawing
Replies: 2
Views: 5272

Re: Montage and drawing

montage ..... miff:- | convert - -draw .... resultimage Well, I have just given it a try, although I did not expect this to work under Windows, but ... ... indeed, this works under Windows just as well! The pipe symbol is the same in Windows and it feeds STDOUT to STDIN just as well. But I have nev...
by whugemann
2011-12-28T18:29:06-07:00
Forum: Users
Topic: Montage and drawing
Replies: 2
Views: 5272

Montage and drawing

I would like to draw some triangles (which are supposed to be "arrows") on of four images which I combined with Montage, i.e.: Montage -tile 2x2 -geometry 400x300+10+10 1.jpg 2.jpg 3.jpg 4.jpg -draw "polyline 200,300 400,300 300,400" result.jpg However, Montage draws the triangle...
by whugemann
2011-12-26T17:46:19-07:00
Forum: Users
Topic: Adjusting the size of an image based on a second image
Replies: 5
Views: 12535

Adjusting the size of an image based on a second image

Sorry that this got somewhat lengthy, but I would like to ensure that you know what exactly I'm after: At the moment I am optimising my VisualBasic Script (VBS) presented at http://www.imagemagick.org/Usage/windows/#vb_text . Basically, this script maps one image onto another by a perspective transf...
by whugemann
2011-12-20T12:32:52-07:00
Forum: Users
Topic: Create images for first page of several pdf files
Replies: 2
Views: 6294

Re: Create images for first page of several pdf files

You should mention your OS. Under Windows the command would be something like (not tested):

For %i IN (*.pdf) DO convert %i[0] %~ni.jpg

Use double percent signs when using the command in a batch file (which must then be located in the same directory as the PDFs).
by whugemann
2011-12-09T09:08:39-07:00
Forum: Users
Topic: Optimising BMP size
Replies: 12
Views: 26376

Re: Optimising BMP size

OK, -list formats work's fine. But what "formats" document do you mean? On my Wndows installation formats.html is an exact copy of the online version I mentioned. And yes, you can look it up in the source code, I guess. But this is a rather complicated way to find out about things (at leas...
by whugemann
2011-12-09T01:37:02-07:00
Forum: Users
Topic: Optimising BMP size
Replies: 12
Views: 26376

Re: Optimising BMP size

Fred, from where did you get this hint on RGB2 and RGB3? On my Windows XP computer, setting BMP2:output.bmp has apparantly no effect. I couldn't find any hints on BMP2/3 in the official documentation; there are just discussions in the forum. http://www.imagemagick.org/script/formats.php only mention...
by whugemann
2011-12-05T13:29:29-07:00
Forum: Users
Topic: Averaging a sequence 10 frames at a time
Replies: 9
Views: 35104

Re: Averaging a sequence 10 frames at a time

You're obviously working under Windows (when using Cygwin). For the script processing of video, I would then rather recommend AVIsynth + VirtualDub, see http://www.imagemagick.org/Usage/windows/#auxiliary.
by whugemann
2011-11-29T01:45:22-07:00
Forum: Users
Topic: Lens distortion documentation
Replies: 3
Views: 8974

Re: Lens distortion documentation

Well, I wrote most of this page, so this im my answer: As far as I remember, IM at first didn't do what it promised: When the parameter d was omitted, it did not use the non-scaling restraint to calculate it. This might have been corrected in the meantime. The numeric example is a simple mistake in ...
by whugemann
2011-11-19T03:02:13-07:00
Forum: Users
Topic: Really simple question please help! (Windows OS)
Replies: 2
Views: 5389

Re: Really simple question please help! (Windows OS)

You can do this in FOR loop. You can find sample code on the webpage mentioned below. The DOS command is FOR %i in (*.*) DO convert "%i" -resize 250 "done\%i" The quotes will guarantee that this also functions with blanks in filenames or path. In a batch file, the percent signs m...
by whugemann
2011-10-29T02:35:19-07:00
Forum: Users
Topic: Convert a Unix Script to Windows Script
Replies: 6
Views: 17337

Re: Convert a Unix Script to Windows Script

Not that you need to do it, but would it be easier to use a list rather than array and loop over each list item, such a for each val in $list or some such DOS command? Just curious. Both, enumerations and loops, are performed by way of the FOR command. But there is no such thing as a temporal varia...
by whugemann
2011-10-19T10:37:51-07:00
Forum: Users
Topic: Convert a Unix Script to Windows Script
Replies: 6
Views: 17337

Re: Convert a Unix Script to Windows Script

Fred, given the context and your comments, I understand what the script does. I doubt that this can be done in a Windows batch file, as the control structures are too limited. The split-up of the text output can be achieved with the FOR command, so one could avoid using sed (which would have to be i...
by whugemann
2011-10-19T10:18:13-07:00
Forum: Users
Topic: Auto resizing image based on folder
Replies: 7
Views: 17601

Re: Auto resizing image based on folder

Correct.

Code: Select all

FOR /R %%a IN (*.tif) DO convert %%a "%%~dna.jpg"
has to be altered to

Code: Select all

FOR /R %%a IN (*.tif) DO imconv "%%~a" "%%~dpna.jpg"
I will correct that with the next update of that webpage.
by whugemann
2011-10-13T05:42:02-07:00
Forum: Users
Topic: Convert a Unix Script to Windows Script
Replies: 6
Views: 17337

Re: Convert a Unix Script to Windows Script

Well, I could probably do, but you are asking too much: This script is not that easy to understand and you didn't even bother to place one comment line in it. The easiest appraoch would probably be to install Cygwin and run the script as it is. If you would translate it into a DOS batch file, you wo...