Search found 718 matches

by GeeMack
2018-08-14T18:06:14-07:00
Forum: Users
Topic: Resize Image with restrictions
Replies: 4
Views: 3958

Re: Resize Image with restrictions

Did someone have an idea on how to match the customer need? Using ImageMagick 6 it can be done with a command like this... convert input.jpg \ -set option:distort:scale "%[fx:max((w>h?3000:2000)/w,(w>h?2000:3000)/h)]" \ -distort SRT 0 output6.jpg It can be done with a simpler command if y...
by GeeMack
2018-08-14T15:11:17-07:00
Forum: Bugs
Topic: Problem with -swirl, -wave, -implode v7.0.8-9
Replies: 2
Views: 5706

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

This issue appears to be resolved in version 7.0.8-10. Thanks!
by GeeMack
2018-08-14T15:09:44-07:00
Forum: Bugs
Topic: Problem reading memory register "mpr:test[0,0,0,0]"...
Replies: 2
Views: 5590

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

This issue appears to be resolved in version 7.0.8-10. Thanks!
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: 4414

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 re...
by GeeMack
2018-08-12T08:23:51-07:00
Forum: Users
Topic: extracting biggest square from a rotated image
Replies: 18
Views: 14711

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

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: 2
Views: 5706

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 ap...
by GeeMack
2018-08-07T12:07:11-07:00
Forum: Bugs
Topic: Problem reading memory register "mpr:test[0,0,0,0]"...
Replies: 2
Views: 5590

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:te...
by GeeMack
2018-08-06T07:12:07-07:00
Forum: Users
Topic: [SOLVED] How to extend image borders
Replies: 3
Views: 6894

Re: How to extend image borders

Lecram wrote: 2018-08-05T23:33:16-07:00Your 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: 6894

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

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

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

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:gr...
by GeeMack
2018-07-15T15:15:11-07:00
Forum: Bugs
Topic: IM7 Read Exception for specific size transparent PNG
Replies: 5
Views: 7480

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

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