Search found 601 matches

by GeeMack
2018-08-13T07:29:16-07:00
Forum: Users
Topic: Command to Mogrify png images created or modified after a certain date only?
Replies: 6
Views: 94

Re: Command to Mogrify png images created or modified after a certain date only?

So there's no way to select only today's images for example? You'll have to use one of your system utilities like "find" to locate the files that meet your criteria. Redirect the output of the "find" command to a text file to use as your list of files to process. Then you can read that text file in...
by GeeMack
2018-08-12T08:23:51-07:00
Forum: Users
Topic: extracting biggest square from a rotated image
Replies: 3
Views: 62

Re: extracting biggest square from a rotated image

Now my aim is to cut out biggest black square from this rotated image . How can I do that ? Using IM 6.8.9 from a bash shell I can cut out the largest square from a larger rotated square with a command like this... squ=853 deg=33 convert -size ${squ}x${squ} xc:green -rotate ${deg} \ -set option:leg...
by GeeMack
2018-08-11T14:06:38-07:00
Forum: Users
Topic: Using montage to highlight only one image in array
Replies: 7
Views: 100

Re: Using montage to highlight only one image in array

My question is how can I highlight or frame or identify just one of the four images? For example, let's say I want to show that the correct image on this array is two.png. So I want to someone draw the viewer's attention to just this one piece of the array. In another version of the montage it migh...
by GeeMack
2018-08-08T21:21:21-07:00
Forum: Bugs
Topic: Problem with -swirl, -wave, -implode v7.0.8-9
Replies: 1
Views: 45

Problem with -swirl, -wave, -implode v7.0.8-9

Using ImageMagick 7.0.8-9 Q16 x64 HDRI from a Windows 10 command line, these commands result in no change to the "logo:"... magick logo: -implode 0.5 test1.png magick logo: -swirl 180 test2.png This command only adds 12 pixels of background to the bottom of "logo:" but doesn't apply any wave distort...
by GeeMack
2018-08-07T12:07:11-07:00
Forum: Bugs
Topic: Problem reading memory register "mpr:test[0,0,0,0]"...
Replies: 1
Views: 76

Problem reading memory register "mpr:test[0,0,0,0]"...

Running ImageMagick 7.0.8-9 Q16 x64 HDRI from a Windows 10 command line. This command generates four output images ("info:" in this example), all copies of the first index "0" in the memory register "mpr:test"... magick rose: granite: -write mpr:test -delete 0--1 mpr:test[0,0,0,0] info: ... as shown...
by GeeMack
2018-08-06T07:12:07-07:00
Forum: Users
Topic: [SOLVED] How to extend image borders
Replies: 3
Views: 137

Re: How to extend image borders

Lecram wrote:
2018-08-05T23:33:16-07:00
Your solution worked for me right after I replaced the x with a comma in the SRT part.
Yep, that was a mistake on my part. I've edited my post to fix it. Glad it worked for you.
by GeeMack
2018-08-05T15:26:07-07:00
Forum: Users
Topic: [SOLVED] How to extend image borders
Replies: 3
Views: 137

Re: How to extend image borders

is it possible to extend the outermost pixels of an image the same way OpenGL's GL_CLAMP_TO_EDGE does it? The edges of an image may be extended like your example by using -distort SRT and -virtual-pixel edge . An example running IM7 from a Windows command line might look like this... magick input.p...
by GeeMack
2018-08-05T15:06:26-07:00
Forum: Users
Topic: Distorting image using liquid-rescale
Replies: 2
Views: 99

Re: Distorting image using liquid-rescale

Hello! I am a complete novice to ImageMagick. My main purpose of using it is for a telegram bot that distorts images. (A bot does exists but its not open source.) I would want to know how to get result similar to these - https://imgur.com/a/20EQYKe A very similar effect can be achieved using ImageM...
by GeeMack
2018-07-30T12:10:13-07:00
Forum: Users
Topic: TEXTBOX with alpha background and rounded corners
Replies: 6
Views: 221

Re: TEXTBOX with alpha background and rounded corners

I generate the text with: [...] And then I have tried to make it rounded with all of the examples from: https://www.imagemagick.org/Usage/thumbnails/#rounded I don't know if you're locked into that particular sequence, but if not, I'd consider taking a somewhat different approach. With a single com...
by GeeMack
2018-07-26T22:05:27-07:00
Forum: Users
Topic: Changing a single pixel to be slightly transparent
Replies: 4
Views: 272

Re: Changing a single pixel to be slightly transparent

A single pixel being 'only' 99% opaque counts as transparency. [...] I can safely assume images have no transparency yet as I can detect images which do and upload as-is. If you know for sure the pixel at "0,0" is not already transparent, it can be as simple as this... magick in.png xc:gray95 -back...
by GeeMack
2018-07-15T15:15:11-07:00
Forum: Bugs
Topic: IM7 Read Exception for specific size transparent PNG
Replies: 5
Views: 331

Re: IM7 Read Exception for specific size transparent PNG

Using the example image and testing with ImageMagick 7.0.8-6 Q16 HDRI from a Windows 10 command line, I get no warnings or errors.
by GeeMack
2018-07-06T09:34:01-07:00
Forum: Users
Topic: image rotate black background transparent not working.
Replies: 6
Views: 536

Re: image rotate black background transparent not working.

This works great but the image is resized need to matain the same size Maybe you'd do better to use "-distort" instead of "-rotate". Try something like this... convert input.jpg -set alpha -background none -virtual-pixel none -distort SRT 75 output.png That keeps the same dimensions as the input im...
by GeeMack
2018-06-30T10:44:54-07:00
Forum: Users
Topic: Does something like this exist?
Replies: 9
Views: 740

Re: Does something like this exist?

For example, if i were to apply a 50% black threshold to the color (50, 200, 200) it changes it to (0, 200, 200). How could I make it so that if any of the channels are below 50%, then set color to (0, 0, 0)? First, you need to describe what you're doing by posting some actual examples of your scri...
by GeeMack
2018-06-30T08:17:49-07:00
Forum: Users
Topic: Trim image and output trim amount
Replies: 3
Views: 376

Re: Trim image and output trim amount

Allows to get me the untrimmed image's center within the newly trimmed image. You can also get the trim information without actually doing the trim with a command like this... magick input.png -set page %[@] output.png If the output format supports it, like PNG and TIF, the paging information of th...
by GeeMack
2018-06-29T22:19:09-07:00
Forum: Users
Topic: Does something like this exist?
Replies: 9
Views: 740

Re: Does something like this exist?

Actually for this specific project, I am able to narrow it down ahead of time to the box around the text, aka can count on the fact that nothing in the background will be brighter/whiter/lighter? than the text i wish to OCR From the Windows command line you can try something like this with your exa...