Search found 718 matches

by GeeMack
2016-01-18T08:17:09-07:00
Forum: Users
Topic: Help to fix error "unbalanced parenthesis"
Replies: 3
Views: 3915

Re: Help to fix error "unbalanced parenthesis"

How in one exec command to compose a frame and to get result.png? It might be easier to understand what your code is doing if you bring the "image.png" in first. Then after it's in the working stack, build your dotted line rectangle inside the parentheses. At that point you have two images in the s...
by GeeMack
2016-01-17T19:46:20-07:00
Forum: Users
Topic: how do I make a multi resolution .ico file?
Replies: 18
Views: 40627

Re: how do I make a multi resolution .ico file?

Hope this helps anyone looking to achieve this with some level of automation :D Using "IM 6.9.2-8 Q16 x64" or "IM 7.0.0-0 Q16 x64 2016-01-09" and Windows 7 Pro 64, this can be done with a batch file like this without creating the intermediate files... @echo off setlocal set IMDIR=c:\Program Files\I...
by GeeMack
2016-01-14T10:03:12-07:00
Forum: Bugs
Topic: Possible bug with -interword-spacing in IM7
Replies: 4
Views: 4039

Possible bug with -interword-spacing in IM7

There seems to be a problem with the "-interword-spacing" operator in my current version of IM7 under Windows 7 Pro 64. Below are some commands to compare. (Note: I have it set up so when I run the "convert" command on my system it uses my IM6, and when I run "magick" it uses my IM7.) Using this "co...
by GeeMack
2016-01-13T21:44:46-07:00
Forum: Users
Topic: Convert JPEG to BMP
Replies: 12
Views: 10844

Re: Convert JPEG to BMP

Invalid Parameter - -resize That would be an error message from the Windows convert command. See if you have the IM convert command somewhere in your path by typing this at the command line... where convert If none of the output lines show the ImageMagick convert command, that means it's not in you...
by GeeMack
2016-01-12T19:15:51-07:00
Forum: Users
Topic: identify JPEG2000
Replies: 11
Views: 8285

Re: identify JPEG2000

I believe that dlemstra just gave you the link to the patch that you would need to edit and recompile IM. If you got Imagemagick 7 from the Imagemagick web site betas, it probably does not yet have that patch compiled into it. dlemstra can correct me, if I am wrong. I always download pre-compiled v...
by GeeMack
2016-01-12T18:52:44-07:00
Forum: Users
Topic: identify JPEG2000
Replies: 11
Views: 8285

Re: identify JPEG2000

I get the same "0B" result when testing on various JP2 image files using IM7 version "ImageMagick 7.0.0-0 Q16 x64 2016-01-02".
by GeeMack
2016-01-08T11:33:37-07:00
Forum: Users
Topic: Brick wall
Replies: 5
Views: 4314

Re: Brick wall

I have a photo from which I'd like to extract the lines from the bricks. As fmw42 said, the original image is pretty poorly defined, so there's not much that can be done with it. If you want to isolate the mortar lines you could try changing it to just two shades of gray, force those to just black ...
by GeeMack
2016-01-07T13:06:23-07:00
Forum: Users
Topic: Running convert from bat file
Replies: 4
Views: 4469

Re: Running convert from bat file

I would like to create some mp4 videos from webcam images I take every 15mins. That's how I would like to do it (works fine when I run the commands manually in cmd). convert *.JPG -delay 10 -morph 10 %05d.morphed.jpg ffmpeg -r 25 -i %05d.morphed.jpg video.mp4 The idea was to run these two commands ...
by GeeMack
2016-01-06T11:21:34-07:00
Forum: Users
Topic: Saving all dimension information to a file
Replies: 3
Views: 2982

Re: Saving all dimension information to a file

I want save all information of the dimensions of all jpg's in a directory (including sub-directories). This seem to work: FOR /R %f IN (*.jpg) DO identify "%f" -size 1920x1080 using standard output like this: FOR /R %f IN (*.jpg) DO identify "%f" -size 1920x1080 > \dimensions.txt creates the file d...
by GeeMack
2016-01-05T08:50:49-07:00
Forum: Users
Topic: Why can't I set label geometry when not appending it to another element/image?
Replies: 5
Views: 3925

Re: Why can't I set label geometry when not appending it to another element/image?

Thanks for the '-annotate' setting. Substituting the 'label:' command for a correctly-formed '-annotate' command doesn't work, however. I think '-annotate' only works when you're annotating an image: I'm making an image rather than overlaying a label on a pre-existing one. (I know I could do it the...
by GeeMack
2016-01-02T22:54:28-07:00
Forum: Developers
Topic: Density escape values in FX expressions?
Replies: 3
Views: 4726

Re: Density escape values in FX expressions?

try using resolution.x and resolution.y rather than x and y I was looking at that page earlier and apparently was thinking I'd find what I wanted in the single letter symbols. Yep, I overlooked the perfect answer just a few lines later. That does exactly what I was looking for. Thanks much for your...
by GeeMack
2016-01-02T22:27:51-07:00
Forum: Developers
Topic: Density escape values in FX expressions?
Replies: 3
Views: 4726

Density escape values in FX expressions?

Using ImageMagick 7.0.0-0 Q16 x64 2015-12-19 from the command line and batch files in Windows 7 Pro 64. I'm building some scripts to make various labels to print with finished sizes and crop marks in inches and fractions. I'd like to calculate some dimensions in my IM7 commands using the resolution,...
by GeeMack
2016-01-02T07:37:53-07:00
Forum: Users
Topic: How to draw text from file on an existing image
Replies: 2
Views: 5410

Re: How to draw text from file on an existing image

I want to draw text from file.txt on my existing picture pic.jpg. I do know only how to draw text, which is in the command itself, but not from text file or with variables. Why? The picture is a webcam picture. and the text, that should be on the image is in a text file. Who gives me the working hi...
by GeeMack
2015-12-26T13:45:15-07:00
Forum: Users
Topic: Multiple operations... I'm lost!
Replies: 6
Views: 7010

Re: Multiple operations... I'm lost!

Now that I got the basic gist of it, I can tweak it all so I can get the best effect for my project. All I need to do now if make it work in a batch file. In a Windows batch file you'll need to double all the percent signs, so make "img%04d.jpg" into "img%%04d.jpg". Also, I'm in the bad habit of le...
by GeeMack
2015-12-25T22:23:03-07:00
Forum: Users
Topic: Multiple operations... I'm lost!
Replies: 6
Views: 7010

Re: Multiple operations... I'm lost!

So far, this is what I cobbled up and its failing miserably! convert -resize 3300x3300 -filter cubic -negate -crop 2500x3300 -blur 10 *.jpg *.mpc convert *.jpg -border 10x10 -bordercolor "#000000" *Border.mpc composite -gravity center *.mpc *Border.mpc *.png Anybody know what the heck I'm doing wro...