Search found 559 matches

by GeeMack
2018-04-19T16:32:15-07:00
Forum: Users
Topic: Mask usage
Replies: 4
Views: 90

Re: Mask usage

But I think there must be a way to avoid having to invert the mask, isn't it? The mask is doing something a bit different with "-mask" and "-composite". If your mask needs to be inverted to work in a particular command, you can read in the mask inside some parentheses and negate it, blur it, or wha...
by GeeMack
2018-04-19T15:08:48-07:00
Forum: Users
Topic: Do math with -set variables?
Replies: 6
Views: 118

Re: Do math with -set variables?

There's more going on in my command, but it's that bit at the end that I'd like to do by adding a border instead of using extent, as here. I'm basically trimming down a file, making it black and then adding a white border on the top, so I need to know how big the border should be, hence the desire ...
by GeeMack
2018-04-19T07:29:32-07:00
Forum: Users
Topic: Do math with -set variables?
Replies: 6
Views: 118

Re: Do math with -set variables?

I'm saving an image height with `-set ht '%h'` and then using it later when I need to restore the image to its original height. What I tried to do was to add a border to the image where the height of the border is the difference between the original height and the current height. So I was hoping I ...
by GeeMack
2018-04-19T06:45:36-07:00
Forum: Users
Topic: Mask usage
Replies: 4
Views: 90

Re: Mask usage

I want to merge 2 images by using a mask so I will have : 1.- original image a.jpg ( background ) 2.- new image b.jpg ( over the background) 3.- mask image mask.jpg [...] Any code sample on how to get to point 4 ? would that work equally with a mask that has a gradient ? When you have a question he...
by GeeMack
2018-04-12T09:42:11-07:00
Forum: Users
Topic: Getting center of SRT distorted Image
Replies: 2
Views: 95

Re: Getting center of SRT distorted Image

adk wrote:
2018-04-12T09:18:04-07:00
I just want that center part where it looks identical to the original image.
Try using "-virtual-pixel none" before the "-distort" operation.
by GeeMack
2018-04-10T06:56:38-07:00
Forum: Users
Topic: Passing many draw points from the command line
Replies: 8
Views: 1051

Re: Passing many draw points from the command line

Is it possible to get around this issue by sending multiple input text files to convert.exe in one command line argument, so that I only have to run convert.exe once to generate all my image files? convert txt:input1.txt output1.png , txt:input2.txt output2.png , txt:input3.txt output3.png ... etc....
by GeeMack
2018-04-09T12:08:03-07:00
Forum: Bugs
Topic: IM6.9.9, IM7.0.7, and Windows 10 clipboard:
Replies: 0
Views: 155

IM6.9.9, IM7.0.7, and Windows 10 clipboard:

Using ImageMagick versions 6.9.9-40 Q16 HDRI or 7.0.7-28 Q16 HDRI from the command line on Windows 10 64. I create a grayscale image with this command... magick wizard: -colorspace gray wiz1.png I open the resulting "wiz1.png" to view in IrfanView, Photoshop, or Photoshop Elements. In any of those p...
by GeeMack
2018-04-05T10:36:31-07:00
Forum: Users
Topic: Image not found using -deskew-
Replies: 4
Views: 272

Re: Image not found using -deskew-

I do not get why it says that the image is not found when it just created it with the first command. I don't know what's happening inside your "convert.bat", which is apparently a wrapper script, but generally if running ImageMagick from the command line you'd want to read in your input image befor...
by GeeMack
2018-04-05T10:15:09-07:00
Forum: Users
Topic: Appending an animated gif to a static image
Replies: 3
Views: 246

Re: Appending an animated gif to a static image

Hi, I have an static jpg image and I want to append an animated gif below the jpg to generate a animated image combining both,... Here's a command that should give you nearly the result you've described... convert background.jpg -alpha set -background none \( animated.gif -coalesce \) \ -set page "...
by GeeMack
2018-04-04T08:16:08-07:00
Forum: Users
Topic: Overlaying a watermark/logo on multiple images of multiple dimensions
Replies: 13
Views: 538

Re: Overlaying a watermark/logo on multiple images of multiple dimensions

GeeMack: Would it not be better to just resize the logo. You spend effort resizing the input.png even though it does change it's size. The FX expressions in my example resize the second image to 90% the size of the first, and resize the first image to its own size. I don't know the internals, but m...
by GeeMack
2018-04-03T21:45:06-07:00
Forum: Users
Topic: Overlaying a watermark/logo on multiple images of multiple dimensions
Replies: 13
Views: 538

Re: Overlaying a watermark/logo on multiple images of multiple dimensions

How are you supposed to accomplish the above on a Windows box at a c:> prompt (assuming I'm in the ImageMagick folder)? Using IM7 at a Windows CMD prompt, a command like this will read in both images, resize the logo to fit within a box 90% the width and height of the base image, and overlay the re...
by GeeMack
2018-03-26T07:50:32-07:00
Forum: Bugs
Topic: Reading from Windows clipboard:
Replies: 6
Views: 2572

Re: Reading from Windows clipboard:

dlemstra wrote:
2018-03-25T13:00:54-07:00
Can you give it another try after the next release?
This issue appears to be resolved with both IM 7.0.7-28 Q16 x64 HDRI and IM 6.9.9-40 Q16 x64 HDRI. Thanks again.
by GeeMack
2018-03-25T13:49:48-07:00
Forum: Bugs
Topic: Reading from Windows clipboard:
Replies: 6
Views: 2572

Re: Reading from Windows clipboard:

dlemstra wrote:
2018-03-25T13:00:54-07:00
Can you give it another try after the next release?
I'll give it a test and report my results here. As always, thanks for your attention to this issue!
by GeeMack
2018-03-23T08:15:59-07:00
Forum: Users
Topic: Setting gravity depending on image size
Replies: 2
Views: 1401

Re: Setting gravity depending on image size

I'd like to set the gravity depending on the size of the image. There are at least a couple approaches I can think of to easily create this effect, although not by using "-gravity" and "-extent". One way would be to use conditional FX expressions to set the page geometry. That would let you use the...
by GeeMack
2018-03-10T07:07:46-07:00
Forum: Users
Topic: Applying two images to the third one (with transforms)
Replies: 2
Views: 1525

Re: Applying two images to the third one (with transforms)

I have one big image, to which I want to place two watermark. First of all, I need to resize this image (BEFORE appending other images). Then I need to place one more image on the bottom left, changing its size. Another image at the bottom right - is the vertical caption with my own font. These add...