Search found 665 matches

by GeeMack
2018-10-29T06:06:02-07:00
Forum: Users
Topic: Arrange image to circle
Replies: 10
Views: 3549

Re: Arrange image to circle

How can I modify its inner part to be empty however ? Also, is there a way to force it to use a predefined canvas size ? (as far a possible) There are additional arguments to the "-distort arc" operator that let you specify the inside and/or outside dimensions of the result. You can find that on th...
by GeeMack
2018-10-29T05:22:46-07:00
Forum: Users
Topic: Arrange image to circle
Replies: 10
Views: 3549

Re: Arrange image to circle

If I for example had a horizontal picture and wanted to bend it to a circle, like this: This example command starts by creating a red-to-yellow gradient image 400 pixels wide by 20 pixels high. Then it adds a transparent border to the top and bottom. Then it uses a version of "-distort" to bend it ...
by GeeMack
2018-10-27T08:59:31-07:00
Forum: Users
Topic: Arrange image to circle
Replies: 10
Views: 3549

Re: Arrange image to circle

Supposing I'd change from say 12 to maybe 36 or perhaps 48 dashes: Can your code be simply adapted to that ? That FX expression "%[fx:t*360/n]" tells IM to rotate each input image in the list, designated by the "t", multiplied by 360 degrees divided by "n", the number of images in the list. It will...
by GeeMack
2018-10-27T07:38:34-07:00
Forum: Users
Topic: Arrange image to circle
Replies: 10
Views: 3549

Re: Arrange image to circle

how could I arrange multiple of these (named 001.png 002.png ... etc) [...] using only imagemagick ? Assuming you're in the directory containing the input images and that they're in the order you want them to appear in the output, a command like this would accomplish that task... magick *.png -grav...
by GeeMack
2018-10-25T11:11:44-07:00
Forum: Users
Topic: How to use subshell to crop several coordinates in a single process
Replies: 2
Views: 1968

Re: How to use subshell to crop several coordinates in a single process

Do I need to do a subshell for each pair of coordinates or how to mix in a single process the operations for all the coordinates? You can do everything you have there in a single command by very careful use of nested sets of parentheses. Remember when you set the "-gravity" before your "-smush" ope...
by GeeMack
2018-10-22T09:19:25-07:00
Forum: Bugs
Topic: IM 7.0.8-13 reports incorrect "-version" number
Replies: 2
Views: 2696

IM 7.0.8-13 reports incorrect "-version" number

I just downloaded and installed the Windows static binary "ImageMagick-7.0.8-13-Q16-HDRI-x64-static.exe" from "ftp://ftp.imagemagick.org/pub/ImageMagick/binaries/". When I check the new installed "-version" it reports as 7.0.8-12... Version: ImageMagick 7.0.8-12 Q16 x64 2018-10-22 http://www.imagema...
by GeeMack
2018-10-18T10:53:25-07:00
Forum: Users
Topic: Making semi-transparent white pixels in an image all a single color
Replies: 4
Views: 1893

Re: Making semi-transparent white pixels in an image all a single color

I would like to make the figures on the images (which are currently semi-transparent) be totally opaque, and go from the greyish color they are to being totally white (#ffffff). How would I go about this using convert? All of the images also have these different amounts of alpha on the figures, so ...
by GeeMack
2018-10-16T16:59:29-07:00
Forum: Bugs
Topic: Problem with "-set option:distort:scale" in IM6 and IM7
Replies: 2
Views: 2413

Re: Problem with "-set option:distort:scale" in IM6 and IM7

snibgo wrote:
2018-10-16T16:52:14-07:00
distort.c has an explicit test for values less than 0.1, throwing an error:
Thanks for looking it over. I'll make sure to use other methods in cases where it might be an issue.
by GeeMack
2018-10-16T16:41:44-07:00
Forum: Bugs
Topic: Problem with "-set option:distort:scale" in IM6 and IM7
Replies: 2
Views: 2413

Problem with "-set option:distort:scale" in IM6 and IM7

Using ImageMagick 7.0.8-12 Q16 x64 HDRI (and ImageMagick 6.9.10-11 Q16 x64 HDRI) on Windows, trying to set a scaling factor as described at THIS link . I enter these three commands, and the third one results in an error... magick logo: -set option:distort:scale 0.11 -distort SRT 0 test.png magick lo...
by GeeMack
2018-10-16T14:20:26-07:00
Forum: Users
Topic: Watermarking images with proportional watermark
Replies: 4
Views: 1921

Re: Watermarking images with proportional watermark

Anyone able to help here? Version: ImageMagick 6.8.9-9 Q16 x86_64 2017-07-31 - Linux Inline FX expressions like "%[fx:w+h]" work almost everywhere in IM7 commands, but they only work properly in a few IM6 operations. Fortunately you can use FX expressions in IM6 with the "+distort" operator, which ...
by GeeMack
2018-10-14T14:52:51-07:00
Forum: Users
Topic: Running batch file only on images recently modified
Replies: 4
Views: 2305

Re: Running batch file only on images recently modified

I run a batch script to modify images in folders and subfolders in windows. It works great, but it runs imagemagick for every single image in the folders. Is there a way to limit the files that are modified to a time period eg. a week from date modified? As the others have mentioned, you'll probabl...
by GeeMack
2018-10-09T09:26:10-07:00
Forum: Users
Topic: changing the whole color of a png icon preserving the edges alpha
Replies: 16
Views: 4642

Re: changing the whole color of a png icon preserving the edges alpha

I have another question. In above command how can I fill with gradient instead of solid color and again with preserving alpha? You can use "-sparse-color" to add a gradient fill to the red, green, and blue channels of the input image while keeping the transparency of the alpha channel. A simple exa...
by GeeMack
2018-10-08T12:14:46-07:00
Forum: Users
Topic: changing the whole color of a png icon preserving the edges alpha
Replies: 16
Views: 4642

Re: changing the whole color of a png icon preserving the edges alpha

artech wrote:
2018-10-08T11:32:33-07:00
Again the result was the same. It fills the whole of image to that color like following:
Try the same thing only instead of "-alpha off" just work it with the RGB channels like this...

Code: Select all

magick icon.png -channel RGB -fuzz 50% -fill "#550000" -opaque "#000000" -alpha on icon2.png
by GeeMack
2018-10-08T08:46:40-07:00
Forum: Users
Topic: Batch Edit
Replies: 5
Views: 2163

Re: Batch Edit

I am trying to batch edit my files and save them as their original names using the code: magick convert *.tif -colorspace gray -threshold 50% -compress Group4 -set filename:f %t "%[filename:f].tif" But, they are all saved under the first tif name as almost a pdf, with all of the image combined into...
by GeeMack
2018-10-05T12:25:15-07:00
Forum: Users
Topic: How to build this effect in Image Magick?
Replies: 10
Views: 2698

Re: How to build this effect in Image Magick?

Yes 1/3, 1/3 , 1/3 would be good I think so. If you could give me the command I can adapt it in case I would like to change the proportions. In the example commands above there's a section inside parentheses. That's where you're creating the mask for the gradient overlay. You can use FX expressions...