Search found 709 matches

by GeeMack
2016-02-20T10:50:24-07:00
Forum: Users
Topic: input/output filenames and paths
Replies: 5
Views: 4182

Re: input/output filenames and paths

samIam wrote:Very new to this and trying to figure out how to handle folders/directories on windows. [...] Any pointers?
Maybe take a look at the Windows "pushd" command to get your batch file to change directory.
by GeeMack
2016-02-19T16:15:45-07:00
Forum: Users
Topic: Command combination conflict, why? [SOLVED]
Replies: 4
Views: 3366

Re: Command combination conflict, why?

I get all kinds of alpha issue with the layers after i combine four commands. Ran individually they output correctly but when combined I get the issue at hand. Without running tests, and just from looking over the commands, I'd suspect your "-compose" operators are causing the problem. If you reset...
by GeeMack
2016-02-17T07:44:40-07:00
Forum: Users
Topic: Layer images and crop a sprite with stars for review badge
Replies: 6
Views: 4024

Re: Layer images and crop a sprite with stars for review badge

My problem is hot to crop the sprite stars before marging with the background. There are some good suggestions already posted. Here's another idea, again using Windows BAT syntax... set VOTES=6 convert ^ sprite-star-def.png ^ -crop 1x11@ ^ +repage ^ -write mpr:stars ^ -delete 0--1 ^ tn-sg-shopbox.p...
by GeeMack
2016-02-15T18:35:56-07:00
Forum: Users
Topic: How to convert large PDF with limit resources
Replies: 13
Views: 11663

Re: How to convert large PDF with limit resources

But does that help the resource problem? I just drive the thing. I don't know what goes on under the hood. :wink: It stands to reason there would be no substantial savings if IM is calling the same GS command in either instance. For this type of problem, I would ignore IM, and see what options GS h...
by GeeMack
2016-02-14T23:28:15-07:00
Forum: Users
Topic: How to convert large PDF with limit resources
Replies: 13
Views: 11663

Re: How to convert large PDF with limit resources

In this case, can we convert one page portion by portion to use less resources? : ) If you know the PDF is just a single page document, you could start by using ImageMagick to determine the output dimensions of the image using something like this from the command line... convert -density 200 largef...
by GeeMack
2016-02-12T22:13:04-07:00
Forum: Users
Topic: How to convert large PDF with limit resources
Replies: 13
Views: 11663

Re: How to convert large PDF with limit resources

Is "stream" the only way to handle this? or can we use some functions to convert the PDF portion by portion and then merge them together to one image. It would be helpful if you could describe your set-up, like what platform you're working on and what version of ImageMagick. I use ImageMagick versi...
by GeeMack
2016-02-08T18:26:24-07:00
Forum: Bugs
Topic: Possible bug with -interword-spacing in IM7
Replies: 4
Views: 3421

Re: Possible bug with -interword-spacing in IM7

I have now made several tests with "ImageMagick-7.0.0-0~beta20160207-Q16-HDRI-x64-static.exe", and the problem with the "-interword-spacing" operator appears to be resolved. Thanks again to everyone whose hard work makes this piece of software possible.
by GeeMack
2016-02-05T09:11:04-07:00
Forum: Users
Topic: Basic Wndows scripting problem
Replies: 7
Views: 4491

Re: Basic Wndows scripting problem

How do I force the script to use (like an ordinary cmd window does) the ImageMagick directory as source for the IM functions? You may just need to add the ImageMagick directory to your PATH. Check that by entering the command "path" at the command line. If you don't see an ImageMagick directory in ...
by GeeMack
2016-02-04T22:24:19-07:00
Forum: Bugs
Topic: Possible bug with -interword-spacing in IM7
Replies: 4
Views: 3421

Re: Possible bug with -interword-spacing in IM7

The "-interword-spacing" operator still seems to have no effect in Windows binary beta version "ImageMagick 7.0.0-0 Q16 x64 2016-01-31", downloaded and installed from the file "ImageMagick-7.0.0-0~beta20160203-Q16-HDRI-x64-static.exe".
by GeeMack
2016-02-04T21:48:26-07:00
Forum: Users
Topic: Sort images into folders based on resolution AND size
Replies: 8
Views: 6803

Re: Sort images into folders based on resolution AND size

I will have a folder where people submit images. I need Imagemagick to sort the images into "accepted" or "rejected" subfolders based on the following criteria: 1. 1200+ pixel dimension in either height or width 2. 200 or more pixels per inch. If these criteria are met, the image is moved to the "a...
by GeeMack
2016-01-29T19:15:41-07:00
Forum: Users
Topic: Get the value of the comparison in the batch script variable
Replies: 10
Views: 5511

Re: Get the value of the comparison in the batch script variable

Sorry, as I said I'm pretty nooby, i just wondering is there a no ready solution for such applied task as transfer of value of a variable for Windows users, because I did not find it in the manual. Getting the output of a command into a variable in Windows is not a very simple task. I'm running Ima...
by GeeMack
2016-01-26T15:04:21-07:00
Forum: Users
Topic: How to use -set
Replies: 13
Views: 6588

Re: How to use -set

Or is there a similar way to do what I want in v6? I use a *nix emulator running the "bash" shell, which should be the default shell on most current Macs. The code below should get you what you want by using a shell variable as fmw42 suggested.. IMG="input.jpg" WATERMARK="watermark.jpg" WIDTH=`conv...
by GeeMack
2016-01-26T10:56:22-07:00
Forum: Users
Topic: How to use -set
Replies: 13
Views: 6588

Re: How to use -set

I do not know the limitation of using -fx expressions, but for this one, why not just do magick input.jpg -set option:my_w %[fx:w+200] \( watermark.jpg -resize %[fx:my_w] \) -composite output.jpg Yep, that's how I usually handle it when the situation is that straightforward. It can be trickier when...
by GeeMack
2016-01-26T09:20:01-07:00
Forum: Users
Topic: How to use -set
Replies: 13
Views: 6588

Re: How to use -set

I'm willing to upgrade to v7. I'll be running this on a Mac. I'm not seeing that on the downloads page, would MacPorts support building that version? (I'm really new to Macs, doing this for my wife, so all pointers for this would be greatly appreciated). It's not even so much about the FX expressio...
by GeeMack
2016-01-25T20:53:36-07:00
Forum: Users
Topic: How to use -set
Replies: 13
Views: 6588

Re: How to use -set

I believe that IM 7 will allow resize to use fx expressions I was writing my reply while you were posting this. My experience with IM7 so far shows that an FX expression of the construction "%[fx:w+h]" will work almost anywhere, and can include most of the symbols described on THIS PAGE . And the "...