Search found 723 matches

by GeeMack
2019-11-15T12:25:59-07:00
Forum: Bugs
Topic: possible bug IM 7.0.9.2 -set option:distort:viewport not centering properly
Replies: 2
Views: 299

Re: possible bug IM 7.0.9.2 -set option:distort:viewport not centering properly

I get the same incorrect result using ImageMagick 7.0.9-3 Q16 x64 HDRI on Windows 10.

It also generates the same incorrect result when using "s.w" and "s.h" instead of "u[t].w" and "u[t].h".
by GeeMack
2019-11-09T08:46:40-07:00
Forum: Users
Topic: Cropping an image with %
Replies: 5
Views: 387

Re: Cropping an image with %

I need to crop the image maintaining the area inside the red rectangle using % via command line. You can specify the dimensions of a "-crop" as percentages of the input image, but the "-crop" operator won't let you specify the offsets as percentages. You can work around that by using "-distort" whi...
by GeeMack
2019-11-07T11:32:18-07:00
Forum: Bugs
Topic: Problem with "gradient:" in v7.0.9-0
Replies: 2
Views: 754

Re: Problem with "gradient:" in v7.0.9-0

Using ImageMagick 7.0.9-2 Q16 x64 HDRI on Windows 10, this issue appears to be resolved.
by GeeMack
2019-10-26T15:14:57-07:00
Forum: Bugs
Topic: Problem with "gradient:" in v7.0.9-0
Replies: 2
Views: 754

Problem with "gradient:" in v7.0.9-0

Using ImageMagick 7.0.9-0 Q16 x64 HDRI on Windows 10. There appears to be a problem with "gradient:" and "radial-gradient:" when used without specifying any colors. Trying to make a white-black radial gradient with this command... magick -size 100x100 radial-gradient: out.png The image doesn't get c...
by GeeMack
2019-10-23T18:13:24-07:00
Forum: Users
Topic: Create seamless texture
Replies: 13
Views: 1593

Re: Create seamless texture

And what other alternative ways for get anothe seamless texture can be used? Here is a method that also uses a gradient mask like snibgo 's examples above. It should work pretty well with input images that are square and have no transparency. magick square.png -gravity center ^ ( -clone 0,0 +append...
by GeeMack
2019-10-16T09:06:41-07:00
Forum: Bugs
Topic: Issue with "-compose lighten" with IM 7.0.8-68
Replies: 3
Views: 1741

Issue with "-compose lighten" with IM 7.0.8-68

Using ImageMagick 7.0.8-68 Q16 x64 HDRI on Windows 10. With this release the "-compose lighten" method seems to be broken. With previous versions this command would place the built-in "granite:" image over the built-in "wizard:", and only partially lighten the 128x128 area in the center. magick wiza...
by GeeMack
2019-10-11T18:10:19-07:00
Forum: Users
Topic: joining images of different dimensions with automatic resizing according to smallest
Replies: 3
Views: 3000

Re: joining images of different dimensions with automatic resizing according to smallest

Can this be done in a single command ? Moreover, if we do not have information about image sizes then is there any operator that joins images vertically after resizing all images in a group to one with lowest y dimension ? This can be done, but a command with IMv6 would be complicated and pretty me...
by GeeMack
2019-10-05T13:14:27-07:00
Forum: Users
Topic: choose starting frame (different than frame 0) for a GIF
Replies: 4
Views: 2729

Re: choose starting frame (different than frame 0) for a GIF

If you want to take some frames from the beginning and put them at the end, you can use "-duplicate" and "-delete" like this... convert input.gif -duplicate 1,0-4 -delete 0-4 result.gif That would duplicate five frames from the beginning, frames number 0 through 4, and place them at the end of the a...
by GeeMack
2019-10-01T11:46:20-07:00
Forum: Bugs
Topic: Error image read from windows clipboard (copy from chrome)
Replies: 10
Views: 3011

Re: Error image read from windows clipboard (copy from chrome)

Windows 10 has an issue with the way it handles grayscale images in its clipboard that causes alignment problems for ImageMagick. Find a description of this problem from a couple years ago at THIS LINK. Possibly this is a related issue.
by GeeMack
2019-09-19T11:13:53-07:00
Forum: Users
Topic: Ellipse cropping from GIMP parameters
Replies: 3
Views: 3469

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: 6151

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: 4115

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: 5167

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: 5167

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: 6736

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 ...