For more information on this exact problem see
IM examples, GIF Animations, Modification
Drawing on a GIF Animation...
http://www.imagemagick.org/Usage/anim_mods/#draw
Search found 8887 matches
- 2016-03-09T16:27:47-07:00
- Forum: Users
- Topic: Adding Circle to Animated GIF
- Replies: 3
- Views: 4421
- 2016-03-03T19:37:15-07:00
- Forum: Users
- Topic: Rotated Crop Rectangle
- Replies: 5
- Views: 7200
Re: Rotated Crop Rectangle
Or if you want the results unrotated, fill the outline and use it as a mask!
- 2016-03-03T16:24:49-07:00
- Forum: Users
- Topic: Compare specific region in an image
- Replies: 18
- Views: 19142
Re: Compare specific region in an image
Same but doing multi-image (Layer) composition with a single mask image http://www.imagemagick.org/Usage/anim_mods/#composite_single convert ActivityScreenError.png ActivityScreen.png null: \ -size 1080x1925 xc:black \ -geometry +205+77 -compose over -layer \ -metric PAE -compare -format "%[dis...
- 2016-03-02T22:52:13-07:00
- Forum: Users
- Topic: Equation for deskew?
- Replies: 3
- Views: 5061
Re: Equation for deskew?
While you have a better answer (because you have actual coordinates to do math with), you can also get the deskew angle using artifacts. deskew like many operators saves the angle it discovered in the image artifacts, which may not be saved in actual image files so you need to get it while image is ...
- 2015-12-09T20:54:21-07:00
- Forum: Users
- Topic: Streaming file without write to the disk
- Replies: 1
- Views: 4399
Re: Streaming file without write to the disk
It depend on if you can stream a file to amazon. For example if you have a program that can upload a streams file called "amazon_s3_upload" then you could stream it like this convert ...{process image}... png:- | amazon_s3_upload "filename_to_save_on_amazon.png" The "png:-' ...
- 2015-12-09T18:42:03-07:00
- Forum: Users
- Topic: Animation with images and their title
- Replies: 7
- Views: 7279
Re: Animation with images and their title
Glad to have helped. I see you also used the "Splice and Draw" technique to add a label under the image. ;-) Just remember this does change the ratio of dimensions of the resulting image and thus it is unlikely image will resize to be exactly 640x480 (especially if the image did have a 4:3...
- 2015-12-08T16:45:38-07:00
- Forum: Users
- Topic: Optimizing Imagemagick convert & composite code
- Replies: 14
- Views: 32040
Re: Optimizing Imagemagick convert & composite code
That code is for Windows and won't work on Unix. In Unix syntax, try cd directory_containing_wordfile.txt wordlist=`cat wordfile.txt` for word in $wordlist; do convert canvas.jpg \ \( -size 100x100 -background white -font arial.ttf \ -fill black label:"$word" -trim +repage -depth 8 \) \ -...
- 2015-12-08T16:25:55-07:00
- Forum: Users
- Topic: Animation with images and their title
- Replies: 7
- Views: 7279
Re: Animation with images and their title
You can modify each image, before creating the animation So have a look at image annotation... http://www.imagemagick.org/Usage/annotating/ Finally you can do this on the fly by looping over the input images and outputing the result as a MIFF:- pipeline into the animation generating image. A simple ...
- 2015-11-12T00:41:30-07:00
- Forum: Developers
- Topic: Feature Request: Command line pipes other than stdin/stdout
- Replies: 15
- Views: 40822
Re: Feature Request: Command line pipes other than stdin/stdout
all streams have a file number. stdin is 0 stdout is 1 stderr is 2 After that streams are opened with later numbers. you can convert file descriptors (Suchas what "stdin" really means) to there fileno Shells use file numbers more directly for example exec 3<some image convert fd:3 show: ex...
- 2015-11-01T00:02:56-07:00
- Forum: Users
- Topic: resize methods
- Replies: 6
- Views: 14285
Re: resize methods
Generally applications (even command line) would 'clone' the image that is being resized, to preserve the original. For a command line example see... http://www.imagemagick.org/Usage/files/#write Though the methdo is equally valid in any API you would use. Note that clone actually does not copy the ...
- 2015-08-19T23:28:39-07:00
- Forum: Users
- Topic: rearrange vertical pixel row
- Replies: 37
- Views: 63948
Re: rearrange vertical pixel row
out of curiousity I took a look at source of ppmspread from the netpbm package (version 10.66.2) with which I assume the IM version had a common ancestor. First it only deals with whole pixels, no interpolation or virtual pixels. Which were never normal features of the NetPBM package. Psuedo Code......
- 2015-08-19T19:37:14-07:00
- Forum: Users
- Topic: rearrange vertical pixel row
- Replies: 37
- Views: 63948
Re: rearrange vertical pixel row
I don't think splitting up the image and swapping in sections is a great way to do it.
Hmmm... I think we will need to look for a 'limited shuffle' algorithm to use before we can get a proper, no bias, pixel spread function.
Hmmm... I think we will need to look for a 'limited shuffle' algorithm to use before we can get a proper, no bias, pixel spread function.
- 2015-08-19T16:54:37-07:00
- Forum: Users
- Topic: rearrange vertical pixel row
- Replies: 37
- Views: 63948
Re: rearrange vertical pixel row
Hmmm because of the bias, perhaps the pixel preservation should use a '+' form. While we use the original as 'normal' mode, and adjust the documentation to reflect the actual nature of spread. IE: interpolated spread by default. What are the thoughts of you Fred? Snibgo? I think radically changing ...
- 2015-08-18T23:19:27-07:00
- Forum: Users
- Topic: rearrange vertical pixel row
- Replies: 37
- Views: 63948
Re: rearrange vertical pixel row
Which is why I am now suggestion that -spread does it using interpolate/virtual-pixel, while +spread does it by pixel swapping. That way you remain backward compatible with the old behaviour. While providing a method to preserve the exact pixel colors of the original image without loss and duplicati...
- 2015-08-18T20:18:16-07:00
- Forum: Users
- Topic: rearrange vertical pixel row
- Replies: 37
- Views: 63948
Re: rearrange vertical pixel row
Anthony, I believe that Magick has already made -spread sensitive to -interpolate. I think it is in 6.2.0.1 beta. The default is no interpolation as you wanted. Use -interpolate bilinear -spread X to have it be bilinear interpolated. (I needed to have the bilinear option available to preserve the b...