Search found 741 matches

by GeeMack
2020-02-25T11:51:29-07:00
Forum: Users
Topic: Reversing a film strip
Replies: 4
Views: 125

Re: Reversing a film strip

I have an old filmstrip that has 65 frames, with a size of 60x55 px each (so the total file dimensions are 60x3575). I would like to crop the first 33 frames and then reverse the order of the frames in that sequence. There are several ways to accomplish this with ImageMagick. If you want to reverse...
by GeeMack
2020-02-22T23:08:33-07:00
Forum: Users
Topic: How to add One Picture ontop of the other
Replies: 4
Views: 181

Re: How to add One Picture ontop of the other

I Wouldn't mind cropping the poster top by 100px then adding the header bar to the top of the poster resulting in 1000x1500. To make the little rounded corners transparent you'll need to set the background color to "none". See if a command like this gets you close to what you want... convert header...
by GeeMack
2020-02-20T21:53:37-07:00
Forum: Users
Topic: Append 2 images and generate result filename from source's filename
Replies: 5
Views: 197

Re: Append 2 images and generate result filename from source's filename

Something like "image1.jpg" and "image2.jpg" would generate "image1andimage2.jpg". With IMv7 you can build the output filename with a command like this... magick image1.jpg image2.jpg ^ +swap -set option:f2 %[t] +swap ^ -set filename:f %[t]and%[f2] +append %[filename:f].png That reads in the two im...
by GeeMack
2020-02-12T11:12:58-07:00
Forum: Users
Topic: [SOLVED] Cut along path, fill background
Replies: 3
Views: 401

Re: [HELP!] Cut along path, fill background

I have a JPG image which contains a path and would like to cut along the path, fill the background with #ff6 and then multiply it with the original image to match the shadow. Edited – Thu Feb 13 01:37:57 UTC 2020 – I posted a workable solution here several hours ago, but have since come up with a m...
by GeeMack
2020-02-12T09:33:37-07:00
Forum: Users
Topic: Appending a group of images
Replies: 4
Views: 387

Re: Appending a group of images

In a folder of 100 images, I want to append 5 images per JPG file. So, it would be 20 files of 5 appended images. If your available memory can handle reading in all the images in one command, and if all the images are the same height, something like this should do what you describe... convert *.jpg...
by GeeMack
2020-01-31T13:07:04-07:00
Forum: Users
Topic: whiteboard unique keyframes
Replies: 6
Views: 774

Re: whiteboard unique keyframes

Also is there a way to crop the whiteboard region (large white rectangle)? If the location of the whiteboard is constant, you can even stretch the entire whiteboard to fill the frame from corner to corner with an ImageMagick command like this... convert board.png -distort perspective "55,74 0,0 943...
by GeeMack
2020-01-28T10:36:28-07:00
Forum: Users
Topic: Two-tone text
Replies: 3
Views: 713

Re: Two-tone text

There are several methods to get this result with ImageMagick. To get the best answers you need to provide your IM version and let us know which shell/OS you're using. Without more information, here are a couple simple ideas... This first command creates two labels with the same text, one white on b...
by GeeMack
2020-01-25T16:55:01-07:00
Forum: Users
Topic: Trying to colourise or combine through an alpha (mask)
Replies: 4
Views: 931

Re: Trying to colourise or combine through an alpha (mask)

I want to make pixels red where the white alpha pixels are. The command in snibgo 's reply is an excellent simple approach. Here are a couple other ideas to consider.... First, if your masked area is always a rectangle, you could use "-region" instead of a mask image to specify an area. Then you'd ...
by GeeMack
2020-01-18T20:21:01-07:00
Forum: Users
Topic: [CLI] evaluate-sequence + fx without clamping?
Replies: 4
Views: 1249

Re: [CLI] evaluate-sequence + fx without clamping?

Is there a way to do it without clamping? ... If not, any other way to do that? There are several ways to do this with IM. The "-compose mathematics" method snibgo described is probably the fastest. You can also get around that clipping issue by compressing the levels of one image to the range of 0...
by GeeMack
2020-01-16T17:40:47-07:00
Forum: Users
Topic: Copy area from infile to outfile
Replies: 6
Views: 1441

Re: Copy area from infile to outfile

In the 64x64 infile there are areas that stand for the limbs, the body or the head and they need to go to the areas in the 16x32 outfile of the same colour, while the background needs to be transparent. While I would be happy to have such a script ready, I'd be even more happy if I understood how t...
by GeeMack
2020-01-12T17:50:18-07:00
Forum: Users
Topic: FavIcon generation
Replies: 12
Views: 1990

Re: FavIcon generation

How to compress all icons inside the .ICO file? With ImageMagick you can easily convert a single square image to an icon containing several sizes. At it's simplest this IMv6 command should create an example... convert logo: -shave 80x0 -define icon:auto-resize="256,128,64,32,16" imicon.ico Use any ...
by GeeMack
2019-12-16T12:44:56-07:00
Forum: Users
Topic: -geometry widthxheight<
Replies: 13
Views: 3748

Re: -geometry widthxheight<

With -extent it's still 200x400 pixels -- as one could have expected, as -extent doesn't car for the aspect ratio. If you use a single argument and specify the output dimensions of "-extent" as a percent instead of a number of pixels, it will maintain the input's aspect ratio. You're using IMv7, so...
by GeeMack
2019-12-10T10:42:51-07:00
Forum: Users
Topic: Blur the center of the image
Replies: 8
Views: 2602

Re: Blur the center of the image

And is there a way to do the same blur only with a given circular area? Very nearly the same as snibgo 's method, but instead of using "-compose ... -composite", you can create a mask and use it with "-write-mask" to define the area that gets affected by the blur operation. Here's an example comman...
by GeeMack
2019-12-09T22:56:53-07:00
Forum: Bugs
Topic: Using IM v6 and v7 with "-set option:distort:scale"
Replies: 4
Views: 1909

Using IM v6 and v7 with "-set option:distort:scale"

Trying to use "-set option:distort:scale" with no-op "-distort" to scale several images in various parts of a command. I've run into a discrepancy between IM v6 and IM v7. First, to describe my desired result, here's a simplified command using IM 6.9.10-78 on Windows 10 or IM 6.8.9-9 on bash... conv...
by GeeMack
2019-12-01T15:45:31-07:00
Forum: Bugs
Topic: [Resolved]-annotate silently fails on some images
Replies: 4
Views: 2122

Re: -annotate silently fails on some images

Substituting an image in place of the xc: canvas results in the appearance of text for most images. However, for some images, no text appears. I suspect some of your input images contain some page geometry, and that makes your "-annotate" place the text outside the visible canvas. Try adding "+repa...