Search found 714 matches

by GeeMack
2019-07-01T07:29:39-07:00
Forum: Users
Topic: Annotate with leading zeros?
Replies: 4
Views: 2700

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

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

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

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

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

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

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

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

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

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

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

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

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 ...
by GeeMack
2019-05-21T20:23:17-07:00
Forum: Users
Topic: Annotate is repeating on every image.
Replies: 3
Views: 2283

Re: Annotate is repeating on every image.

The blocks are white (FFFFFF) for example, in reality, I'll use different colors, but for simplicity, I'm using FFFFFF here. I need the first and second block to only print 1 and 2 respectively without having other numbers written on top. When using "-annotate" you can include FX expressions within...
by GeeMack
2019-05-20T14:52:54-07:00
Forum: Users
Topic: PNG file manipulation
Replies: 7
Views: 3035

Re: PNG file manipulation

montage sucks because it requires I have 9 identical files in the working directory, so my script generates them and then deletes them after the montage command. The other solutions offered above are good. Here's another pretty simple idea to make a 3x3 tiled result from a single input image... con...