Search found 714 matches

by GeeMack
2019-09-19T11:13:53-07:00
Forum: Users
Topic: Ellipse cropping from GIMP parameters
Replies: 3
Views: 86

Re: Ellipse cropping from GIMP parameters

Is there any method to use x,y,w,h values for oval cropping? The example provided above by snibgo uses "-draw" with "ellipse" to create an ellipse. That's a good simple solution that requires you to define an X and Y center point, and a width and height radius from that point. As an alternative, yo...
by GeeMack
2019-09-18T15:50:16-07:00
Forum: Users
Topic: transparency changes in IM 7
Replies: 11
Views: 681

Re: transparency changes in IM 7

Any ideas how to adjust that? Another method for achieving this result would be to create a transparent canvas first, then read in the main input image, then the shamrock mask. imageMagick's default behavior when doing a "-composite" operation with three inputs is to use the third image as a mask, ...
by GeeMack
2019-09-17T07:48:53-07:00
Forum: Users
Topic: Create stack of identical images with transparent overlap
Replies: 4
Views: 357

Re: Create stack of identical images with transparent overlap

It seems to be the compositing that I'm having a problem with. As soon as I composite the images, the white border comes back again. A single command would be ideal. Do you have an example I can use as a startung point? Here's a command with ImageMagick v7 that does pretty much what you're trying t...
by GeeMack
2019-09-02T11:37:41-07:00
Forum: Users
Topic: Adding a colored aura around an image
Replies: 7
Views: 1476

Re: Adding a colored aura around an image

You can do that sort of using distort depolar/polar combination (cartesian to polar and polar to cartesian). Working from your idea of spreading the colors outward from the image, I came up with a few ways to create an aura or halo effect using some other standard IM operations. Method 1... magick ...
by GeeMack
2019-08-31T21:21:15-07:00
Forum: Users
Topic: Adding a colored aura around an image
Replies: 7
Views: 1476

Re: Adding a colored aura around an image

How would I go about specifying the color of the aura? If you want the "aura" to follow the contour of the image, you can colorize the image to a solid color of your choice, dilate it, and blur it, then composite the original back over that "aura" with a command like this... magick books.png -write...
by GeeMack
2019-08-15T12:43:14-07:00
Forum: Users
Topic: Creating character sheets using IM
Replies: 16
Views: 3715

Re: Creating character sheets using IM

Yeah, i think the lack of the red pixels made the screen on the steering wheel render garbled... This command determines where the edge of the character is, then adds a red dot at the top on the third pixel to the right of each character. It uses "-trim" to get the width of the character, so there ...
by GeeMack
2019-08-14T19:56:23-07:00
Forum: Users
Topic: Creating character sheets using IM
Replies: 16
Views: 3715

Re: Creating character sheets using IM

But the dimensions of each box (counting the 1px border of top and left) are of 20x26px, and each character are graviting West, but with the bottom offset half of the top (eg. 4px to the bottom of the box, and 8px of the top). I tried to change the values to suit but i got a disarranged charset. Yo...
by GeeMack
2019-08-12T20:51:25-07:00
Forum: Users
Topic: Creating character sheets using IM
Replies: 16
Views: 3715

Re: Creating character sheets using IM

But what if the font isnt monospaced? I have a Windows script that creates a character display like what you describe. I modified it a bit and tested it with ImageMagick 6.8.9-9 on a bash shell. The first part of it uses a couple "for" loops and "sed" to create a text file containing a list of all ...
by GeeMack
2019-08-11T16:44:26-07:00
Forum: Bugs
Topic: 7.0.8-60 issue with "-background none" and "-swirl"
Replies: 5
Views: 1724

Re: 7.0.8-60 issue with "-background none" and "-swirl"

Why do you need the -background none? I see the same thing with IM 7.0.8.59 Q16 MAC OSX. But I do not understand why you would want the background set to none. The example is just reduced to the fewest operations to show the issue. I often use dozens of operations in a single command, and frequentl...
by GeeMack
2019-08-11T15:54:03-07:00
Forum: Bugs
Topic: 7.0.8-60 issue with "-background none" and "-swirl"
Replies: 5
Views: 1724

7.0.8-60 issue with "-background none" and "-swirl"

Using ImageMagick 7.0.8-60 Q16 x64 HDRI on Windows 10, I've been getting unexpected results if I set "-background none" somewhere in the command ahead of a "-swirl" operation. This command produces the following result... magick wizard: -background none -swirl 90 result.png https://www.dropbox.com/s...
by GeeMack
2019-08-08T13:12:36-07:00
Forum: Users
Topic: How do I crop an image from a blank area
Replies: 3
Views: 1791

Re: How do I crop an image from a blank area

In A,The shaded portion of the picture represents an image,the blue dotted box indicates the area I want to crop. I want a picture like B,the white space is transparent,But I can only get a picture of what C looks like,image pixels are always filled from the top. A great method was provided already...
by GeeMack
2019-07-31T08:51:15-07:00
Forum: Users
Topic: automatically append jpg files
Replies: 2
Views: 1932

Re: automatically append jpg files

I have to download several book pages from a server where they are each split into 6 jpgs (3x2 cells per page). I downloaded them, naming each cell per page 1a.jpg, 1b.jpg, ... 1f.jpg, 2a.jpg ... 2f.jpg etc. until 50a.jpg ... 50e.jpg. Now I want to append these cells to have a single jpeg for each ...
by GeeMack
2019-07-22T12:44:16-07:00
Forum: Users
Topic: GIF transition from image to transparent
Replies: 5
Views: 2316

Re: GIF transition from image to transparent

I want the supplied image, to appear like it is crumbling to dust. The final frame of the GIF should be completely transparent. This command will start with your image of the face, create a multi-step mask using a "plasma:" canvas to simulate the crumbling, and composite those masks sequentially ov...
by GeeMack
2019-07-14T13:29:19-07:00
Forum: Bugs
Topic: Problem with FX expression %[fx:n]
Replies: 2
Views: 1802

Re: Problem with FX expression %[fx:n]

ImageMagick is behaving properly. Querying properties requires an image. In some cases, the user demands a property even if an image is not available so one is automagically created. For example, you might want to perform a FX calculation before an image is read, for example, magick -print "%[fx:.8...
by GeeMack
2019-07-14T09:24:11-07:00
Forum: Bugs
Topic: Problem with FX expression %[fx:n]
Replies: 2
Views: 1802

Problem with FX expression %[fx:n]

Using IM 7.0.8-53 Q16 x64 HDRI on Windows 10. The FX expression "%[fx:n]" gives incorrect results when there are no images in the list. Here is an example command... magick logo: -duplicate 5 -delete 0--1 -print "%[fx:n]" null: That should show the number of images in the list as "0", but instead in...