Search found 8875 matches

by anthony
2018-10-13T16:23:30-07:00
Forum: Users
Topic: Optimizing Imagemagick convert & composite code
Replies: 14
Views: 6279

Re: Optimizing Imagemagick convert & composite code

Getting full lines and spaces requires careful quoting. You need to read, not concatenate into a work list. Note the use of "$line" in the loop.. while read line; do convert canvas.jpg \ \( -size 100x100 -background white -font arial.ttf \ -fill black label:"$line" -trim +repage -depth 8 \) \ -gravi...
by anthony
2018-09-24T17:50:18-07:00
Forum: Users
Topic: How to draw with tranparent color / how draw erasures?
Replies: 3
Views: 798

Re: How to draw with tranparent color / how draw erasures?

A Number of ways... Here are two... Using Masks with Images http://www.imagemagick.org/Usage/masking/#masks Composing using Duff-Porter methods, Specifically with Dst-Out http://www.imagemagick.org/Usage/compose/#dstout But essentially you want to manipulate the images alpha channel, either directly...
by anthony
2018-08-07T16:31:31-07:00
Forum: Users
Topic: Is it possible to combine 2 images & make a transparent PNG?
Replies: 8
Views: 16356

Re: Is it possible to combine 2 images & make a transparent PNG?

I think this is similar to the example... http://www.imagemagick.org/Usage/masking/#two_background Two images same foreground different background... Recover the foreground on transparency. Also see discussion "undo a composite -dissolve" http://www.imagemagick.org/discourse-server/viewtopic.php?t=1...
by anthony
2018-08-05T16:50:46-07:00
Forum: Users
Topic: How do I Apply Multiple Screen and Multiply to one image?
Replies: 22
Views: 3739

Re: How do I Apply Multiple Screen and Multiply to one image?

I was unaware at Associate and Disassociate options as well. Any idea as to what they actually do? does it actually add/delete the alpha channel data from the image? The page is not exactly clear (needs some examples I suppose). Also the aliases 'On' and 'Off' are missing from the list as being the ...
by anthony
2018-06-24T21:45:12-07:00
Forum: Bugs
Topic: [CLOSED] possible bug +distort polynomial
Replies: 12
Views: 3704

Re: [CLOSED] possible bug +distort polynomial

Using +disort to map the source image bounds to destination image to calculate the bit-fit of the destination image viewport, needs the reverse of the distortion function. That is not possible with polynomial EWA calculations requires the derivative (slope) of the function going from destination ima...
by anthony
2018-06-24T18:28:25-07:00
Forum: Bugs
Topic: [CLOSED] possible bug +distort polynomial
Replies: 12
Views: 3704

Re: [CLOSED] possible bug +distort polynomial

Lancos is a resampling filter and as such needs a resampling area (that is a Elliptical Weighted Average). Without EWA you can't use Lancos, but you can use a 'scale-less' single point lookup... That is Interpolation! The EWA may actually work, as the function derivative, which is what is needed for...
by anthony
2018-06-23T05:45:30-07:00
Forum: Bugs
Topic: [CLOSED] possible bug +distort polynomial
Replies: 12
Views: 3704

Re: possible bug +distort polynomial

The difference in -distort and +distort is supposed to only be in the calculation of the 'viewport' of the final result. You can also override the viewport of BOTH of those operators using -define distort:viewport=WxH+X+Y See http://www.imagemagick.org/Usage/distorts/#distort_viewport You can get mo...
by anthony
2018-05-15T20:56:13-07:00
Forum: Bugs
Topic: ephemeral: no longer works
Replies: 2
Views: 1944

ephemeral: no longer works

ephemeral coder no longer appears to work.

Is this intentional?
by anthony
2018-02-07T17:52:33-07:00
Forum: Developers
Topic: Crop to an aspect ratio with "-crop 3:2"
Replies: 9
Views: 8513

Re: Crop to an aspect ratio with "-crop 3:2"

Whether to actually switch from 3:2 to 2:3 depending on image orientation may need to a option for users that do NOT want to do it (EG; they are fitting photos into a thumbnail array). I do think this will need to be a separate option, as there is currently no way to determine if a ':' was used in a...
by anthony
2018-02-07T17:08:52-07:00
Forum: Developers
Topic: Crop to an aspect ratio with "-crop 3:2"
Replies: 9
Views: 8513

Re: Crop to an aspect ratio with "-crop 3:2"

This is a viewport crop, which is similar to the calculated 'Centered Square Crop' http://www.imagemagick.org/Usage/distorts/#centered_square of course with IMv7 you can do this using -extent instead ;-) It is also related to a rotate-and-resize-crop method http://www.imagemagick.org/Usage/distorts/...
by anthony
2018-01-21T20:14:21-07:00
Forum: Users
Topic: How do I Apply Multiple Screen and Multiply to one image?
Replies: 22
Views: 3739

Re: How do I Apply Multiple Screen and Multiply to one image?

If you are composing multiple images together with the same compose method then you can also use the laying operators to do this... http://www.imagemagick.org/Usage/layers/#compose The only tricky part about this is that the first image (the background color) needs to be selected to be white, black,...
by anthony
2018-01-18T18:36:19-07:00
Forum: Users
Topic: looking for docs for PRINT command
Replies: 12
Views: 4504

Re: looking for docs for PRINT command

Also see Identify Output Alternatives...
http://www.imagemagick.org/Usage/basics/#identify_alt
The main difference between "-identify" and "-print", is that first will be run once for every image in memory, while the later will only run once.
by anthony
2018-01-18T18:17:14-07:00
Forum: Users
Topic: How to colorize an image?
Replies: 13
Views: 4435

Re: How to colorize an image?

For additional information on specifying colors...
http://www.imagemagick.org/Usage/color_basics/#colors

And for the myriad methods and techniques available in re-coloring images...
http://www.imagemagick.org/Usage/color_mods/

For tinting...
http://www.imagemagick.org/Usage/color_mods/#tinting
by anthony
2018-01-18T17:54:04-07:00
Forum: Users
Topic: Crop sprites for minimal spritesheet size
Replies: 19
Views: 5830

Re: Crop sprites for minimal spritesheet size

I do not know if this will be useful to this discussion, as I can't find any link to a set of example images to try it on. Have you looked at... -layers trim-bounds This takes images with virtual offsets, and ignores the existing 'canvas' size. It then sets all the images so they have the same sized...
by anthony
2017-12-07T17:58:00-07:00
Forum: Users
Topic: why is median of a sequence of images slower than mean
Replies: 13
Views: 4487

Re: why is median of a sequence of images slower than mean

I have updated IM Examples, adding a actual example for median
Its not a great example, but it does the job.
http://www.imagemagick.org/Usage/layers ... seq_median