Search found 741 matches

by GeeMack
2019-11-27T11:38:25-07:00
Forum: Users
Topic: Scale image with transparent background but convert background to black
Replies: 19
Views: 5923

Re: Scale image with transparent background but convert background to black

... any side effects will cause to have this? That shouldn't affect anything else in most simple commands. If you use more complicated commands there are times you might need to set the background color to one thing, and later in the command set it to something else. Just make sure you do that ahea...
by GeeMack
2019-11-26T19:38:14-07:00
Forum: Users
Topic: Scale image with transparent background but convert background to black
Replies: 19
Views: 5923

Re: Scale image with transparent background but convert background to black

We are using scale image command, but for some specific image which background is transparent, it will set the background to black after scale command, could you help me why this happened? I've had a few PNG images with backgrounds that went from transparent to black when converting. You should be ...
by GeeMack
2019-11-24T08:03:19-07:00
Forum: Users
Topic: SOLVED - IM6 to IM7: now my images are grey?
Replies: 2
Views: 2250

Re: IM6 to IM7: now my images are grey?

I'm almost positive this is due to my use of transparency via '-background none'. Does anyone know how to fix this? Thank you. When compositing images, the general behavior in more recent versions of IM is to apply the properties of the destination image to the finished result. In this case the des...
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: 2766

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

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

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

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

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

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

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

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: 11
Views: 6633

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

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

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

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