Search found 701 matches

by GeeMack
2019-07-14T13:29:19-07:00
Forum: Bugs
Topic: Problem with FX expression %[fx:n]
Replies: 2
Views: 160

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

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...
by GeeMack
2019-07-01T07:29:39-07:00
Forum: Users
Topic: Annotate with leading zeros?
Replies: 4
Views: 838

Re: Annotate with leading zeros?

rylander wrote:
2019-07-01T05:48:32-07:00
This works well but I would like the annotation text to be 001, 002, etc. rather than 1,2,3,10,13,137.
In many installations the "seq" command will take an argument so it will include the leading zeros in the output. On mine it's "-w". Maybe try something like this...

Code: Select all

... seq -w 1 300 ...
by GeeMack
2019-06-24T10:52:33-07:00
Forum: Users
Topic: [SOLVED] drawing line using relative coordinate like 'bottom left'
Replies: 6
Views: 1543

Re: drawing line using relative coordinate like 'bottom left'

I am writing a script that takes a x,y coordinate from a text file then draws a circle around that position. It also picks up label from the same text file for that x,y coordinate and appends it at the bottom of image. Now, I want to draw a line from that x,y position to bottom of image. As snibgo ...
by GeeMack
2019-06-23T22:38:41-07:00
Forum: Users
Topic: Trying to install Imagemagick in Windows 10
Replies: 1
Views: 1055

Re: Trying to install Imagemagick in Windows 10

ineuw wrote:
2019-06-23T22:17:12-07:00
Can someone please advise what I need to install in Windows 10 64bit, and where can I find the downloads.
Have you checked the download links at THIS LINK?
by GeeMack
2019-06-19T07:19:10-07:00
Forum: Users
Topic: Skew Image by only 1 pixel
Replies: 7
Views: 1883

Re: Skew Image by only 1 pixel

I want to skew the top side of an image by 1 pixel to the right. You can use "-distort affine" to get that result, while letting ImageMagick calculate the angle. convert in.tiff -virtual-pixel black +distort affine "0,0 1,0 0,%[h] 0,%[h] 1,%[h] 1,%[h]" -shave 1 out.tiff That essentially slides the ...
by GeeMack
2019-06-08T19:38:56-07:00
Forum: Users
Topic: [SOLVED] append colored text to an image
Replies: 4
Views: 1505

Re: append colored text to an image

My requirement is that I want to add colored text with white background to bottom of file . Can this be done using one command rather than creating a separate text image then using append ? Within a single command you can create a label with colored text on a white background, and append that label...
by GeeMack
2019-06-05T11:05:11-07:00
Forum: Users
Topic: Select more than one layer from TIFF and output a flattened JPG
Replies: 3
Views: 752

Re: Select more than one layer from TIFF and output a flattened JPG

Thx, will give that a try. The answer snibgo gave above is about as simple as you can get. Keep in mind you can include more than one index inside the square brackets, and those indexes can be in the order you want to read the images. This command would read in the second image before the first... ...
by GeeMack
2019-06-01T16:30:28-07:00
Forum: Bugs
Topic: Problem with -blur on transparent with 7.0.8-47
Replies: 8
Views: 2301

Re: Problem with -blur on transparent with 7.0.8-47

This issue appears to be resolved in v7.0.8-48. Thanks.
by GeeMack
2019-05-31T13:01:22-07:00
Forum: Users
Topic: convert output changes with recent update
Replies: 4
Views: 1306

Re: convert output changes with recent update

A recent ImageMagick update (to version 7.0.8-47) on my system has resulted in production of errant results from a script I've been running for a few months now. The script overlays onto an image some text that I download from the internet at regular intervals, adding a blurred shadow effect to the...
by GeeMack
2019-05-31T12:59:45-07:00
Forum: Bugs
Topic: Problem with -blur on transparent with 7.0.8-47
Replies: 8
Views: 2301

Re: Problem with -blur on transparent with 7.0.8-47

This issue is described in a thread in THIS THREAD in the "Users" section of the forum.
by GeeMack
2019-05-31T12:50:16-07:00
Forum: Bugs
Topic: Problem with -blur on transparent with 7.0.8-47
Replies: 8
Views: 2301

Re: Problem with -blur on transparent with 7.0.8-47

Convolution in IMv7 had a bug when dealing with alpha channels. The bug is fixed in -47. The bug I'm describing just appeared in -47. Using -channel RGB tells IM to ignore the alpha channel when blurring. It should, as Fred suggests, fix the problem you reported. Using "-channel RGB" before the blu...
by GeeMack
2019-05-30T21:30:05-07:00
Forum: Bugs
Topic: Problem with -blur on transparent with 7.0.8-47
Replies: 8
Views: 2301

Problem with -blur on transparent with 7.0.8-47

Using ImageMagick 7.0.8-47 Q16 x64 HDRI on Windows 10 and running this command... magick -background none -pointsize 36 ^ -fill white label:"TESTING" -fill black label:"TESTING" -blur 0x2 -append blurtest.png ... generates this unexpected result... https://www.dropbox.com/s/cpa3ddcrm48j0o3/blurtest8...
by GeeMack
2019-05-27T08:50:20-07:00
Forum: Users
Topic: Stacking two image series
Replies: 2
Views: 1260

Re: Stacking two image series

My current work around: Use ffmpeg to create separate animations for each image series and then stack the animations using ffmpeg again. Any advice regards where my thinking is wrong is very much appreciated. EDITED TO ADD: Apparently I misunderstood the question, so I edited out my previous answer...
by GeeMack
2019-05-22T19:29:25-07:00
Forum: Users
Topic: Removing All Shades of Grey from an Image
Replies: 20
Views: 4954

Re: Removing All Shades of Grey from an Image

After more testing I realized that I can't entirely drop the black channel from the CYMK separation. [...] To my novice eyes, adding a second +clone line and fuzzing the K-channel to a few percentage points of #000000 would work, but I'm not sure how to pull that off and then combine both into the ...