don't think splice works with mogrify. you can try. I am not sure. mogrify is old and does not support all functions that convert does.
try
convert image -channel rgba -alpha on -bordercolor black -border 1 result
Search found 25563 matches
Re: Stroking
convert image -bordercolor black -border 1 result
will add a 1 pixel border outside the bounds of the image
see http://www.imagemagick.org/Usage/crop/ and esp http://www.imagemagick.org/Usage/crop/#border
will add a 1 pixel border outside the bounds of the image
see http://www.imagemagick.org/Usage/crop/ and esp http://www.imagemagick.org/Usage/crop/#border
- 2009-12-30T17:50:49-07:00
- Forum: Users
- Topic: How to specify number of frames when conveting YCbCr to bmp
- Replies: 2
- Views: 4886
Re: How to specify number of frames when conveting YCbCr to bmp
see http://www.imagemagick.org/Usage/files/#read_mods convert image.yuv[0-9] ... image.bmp converts the first 10 frames, but if bmp does not support multiple frames, then you will get image-0.bmp, image-1.bmp, etc. So you may want to convert to some image type such as .gif or .png to have a 10-frame...
- 2009-12-30T17:48:00-07:00
- Forum: Users
- Topic: Animation strip
- Replies: 6
- Views: 11862
Re: Animation strip
montage is what you want. it will do the job if you give it the right params
see http://www.imagemagick.org/Usage/montage/ esp http://www.imagemagick.org/Usage/montage/#tile
try
montage image1 image2 ... image10 -tile 5x2 -geometry +1+1 resultimage
see http://www.imagemagick.org/Usage/montage/ esp http://www.imagemagick.org/Usage/montage/#tile
try
montage image1 image2 ... image10 -tile 5x2 -geometry +1+1 resultimage
- 2009-12-30T13:26:55-07:00
- Forum: Users
- Topic: Converting .FPX to .JPG on OSX (Macintosh)
- Replies: 1
- Views: 5884
Re: Converting .FPX to .JPG on OSX (Macintosh)
I am not an expert on such matters, but if you install IM via MacPorts, then you need to install libfpx via MacPorts so that they are all in the same special directory (/opt as I recall) used by MacPorts, so that IM knows where to find it by default. Then you need to reinstall IM after you install l...
- 2009-12-30T10:28:17-07:00
- Forum: Users
- Topic: Problem with compare
- Replies: 9
- Views: 24951
Re: Problem with compare
My ncc compare seems to be working and useful, so I have now created and uploaded a script, similar, to my web site below.
- 2009-12-29T21:00:30-07:00
- Forum: Users
- Topic: How to divide photo to X and Y pieces
- Replies: 17
- Views: 42024
Re: How to divide photo to X and Y pieces
see Anthony's new additions to -crop as of IM 6.5.8-9 at http://www.imagemagick.org/Usage/crop/#crop_equal
- 2009-12-29T20:01:17-07:00
- Forum: Users
- Topic: Problem with compare
- Replies: 9
- Views: 24951
Re: Problem with compare
It would be quite simple to add a -normalize option to the compare program to subtract the mean and divide by the standard deviation before the compare. Would that be a useful addition to the compare program? In my opinion a proper NCC equal size image compare would be useful. See my script above. ...
- 2009-12-29T19:59:46-07:00
- Forum: Users
- Topic: Problem with compare
- Replies: 9
- Views: 24951
Re: Problem with compare
This is a cut at a grayscale Normalized Cross Correlation Compare of two images of the same size. (From mathematics at http://en.wikipedia.org/wiki/Cross-correlation#Normalized_cross-correlation) Bad values are near 0 and good values near 1. A perfect match should be 1. Change infile1 and infile2 to...
- 2009-12-29T16:58:19-07:00
- Forum: Users
- Topic: Problem with compare
- Replies: 9
- Views: 24951
Re: Problem with compare
It is likely image dependent. But I like to use -metric rmse (and look at the fractional value in the parenthesis, not the first raw value). Perhaps you need to normalize by the image mean (rmse/mean). Don't really know for sure. see http://www.imagemagick.org/Usage/compare/#statistics What you real...
- 2009-12-29T16:54:50-07:00
- Forum: Users
- Topic: mixing images
- Replies: 6
- Views: 11240
Re: Draw line with red color over yellow then orange be outcome
I tried blend & dissolve but image intensity decreases if I want to mix two images equally. My idea is to draw series of red coloured circled then draw yellow on same image so that at points of intersection I get orange . Is that possible ? Try -compose plus -composite, see http://www.imagemagi...
- 2009-12-29T16:47:31-07:00
- Forum: Bugs
- Topic: possible bug convert -compose modulate
- Replies: 2
- Views: 5533
Re: possible bug convert -compose modulate
The special setting option however is option:compose:args NOTE the 's' in the name!!!!! As such you are NOT passing the argument to the 'compose' method correctly. OOPS :oops: I never noticed that. How embarrassing! I spent quite some time testing and never thought about the plural on args. I think...
- 2009-12-29T11:30:11-07:00
- Forum: Bugs
- Topic: possible bug -colorspace IM 6.5.8-7 Q16
- Replies: 12
- Views: 19398
Re: possible bug -colorspace IM 6.5.8-7 Q16
What I really want is to convert the image from one colorspace representation of the data to the other, whether the header knows about it or not. But there are ways to do that, so this is really not an issue. First, if I just want to use it in a script as a temp file, then miff will do the trick. Se...
- 2009-12-28T19:54:35-07:00
- Forum: Bugs
- Topic: possible bug convert -compose modulate
- Replies: 2
- Views: 5533
possible bug convert -compose modulate
IM 6.5.8-9 Q16 Mac OSX Tiger convert ... -compose modulate does not seem to be working the same as composite -watermark. This works fine: composite -watermark 50 -gravity center \ rose: \( logo: -resize 50% \) logo_rose_watermark1.gif http://www.fmwconcepts.com/misc_tests/logo_rose_watermark1.gif Th...
- 2009-12-28T17:23:54-07:00
- Forum: Users
- Topic: RGB Curve .. hard light .. in im?
- Replies: 2
- Views: 6674
Re: RGB Curve .. hard light .. in im?
not sure I understand all their steps correctly, but the curves part can be approximated by -level. Here is a close approximation of it in IM http://www.fmwconcepts.com/misc_tests/beardman.gif convert beardman.gif \ \( -clone 0 -sharpen 0x5 \) \ \( -clone 0 -clone 1 -compose hardlight -composite -sh...