Search found 25563 matches

by fmw42
2008-01-25T17:30:57-07:00
Forum: Users
Topic: Overlaying Animation Above Animation
Replies: 6
Views: 15541

Re: Overlaying Animation Above Animation

As the outline.gif has 3 frames and the text.gif has 27 frames, they are multiples of each other. So just merge the outline 9 times to match the number of frames convert \( text.gif -coalesce \) null: \( outline.gif outline.gif outline.gif outline.gif outline.gif outline.gif outline.gif outline.gif ...
by fmw42
2008-01-24T18:13:31-07:00
Forum: Users
Topic: Rotating Animated GIF
Replies: 14
Views: 31308

Re: Rotating Animated GIF

With regard to your original question about uneven illumination correction, you could try my gaussian redist script to adjust each frame to the same gaussian histogram distribution. You can find the Unix bash script redist at
http://www.fmwconcepts.com/imagemagick/index.html
by fmw42
2008-01-24T18:02:24-07:00
Forum: Users
Topic: Detect predominant colors from an image
Replies: 0
Views: 5016

Re: Detect predominant colors from an image

convert logo: -unique-colors -depth 8 text:

or

convert logo: -format %c -depth 8 histogram:info:


see http://www.imagemagick.org/Usage/quantize/#extract
by fmw42
2008-01-24T17:54:14-07:00
Forum: Users
Topic: semi-transparent pixels
Replies: 3
Views: 9786

Re: semi-transparent pixels

Post your source images as well as the mask.

Generally the background and overlay (first and second) images are not transparent. You may want to review

http://www.imagemagick.org/Usage/compose/

and

http://www.imagemagick.org/Usage/channels/#masks
by fmw42
2008-01-24T17:35:47-07:00
Forum: Users
Topic: Having problems changing the brightness of B/W tiff.
Replies: 2
Views: 7866

Re: Having problems changing the brightness of B/W tiff.

You have a binary (1-bit) tif image. Perhaps you need to convert it to grayscale first, before doing any processing.

convert num.0015.tif -depth 8 num.0015_d8.tif

or

convert num.0015.tif -type Grayscale num.0015_tg.tif


Both will make an 8-bit image.
by fmw42
2008-01-24T17:25:35-07:00
Forum: Users
Topic: Overlaying Animation Above Animation
Replies: 6
Views: 15541

Re: Overlaying Animation Above Animation

I am no expert at animation, but your two animation do not have the same number of frames and I suspect this will be key to overlaying them one-to-one. identify text.gif text.gif[0] GIF 250x234 250x234+0+0 PseudoClass 256c 8-bit 176.459kb text.gif[1] GIF 250x234 250x234+0+0 PseudoClass 256c 8-bit 17...
by fmw42
2008-01-22T20:46:14-07:00
Forum: Users
Topic: Mirroring images
Replies: 4
Views: 21638

Re: Mirroring images

You can do the following to unfold the edges (mirrored) by say 12 pixels pad=12 convert inputimage \( +clone -bordercolor white -border ${pad}x${pad} \) +swap -virtual-pixel mirror -fx "v.p{i-$pad,j-$pad}" outputimage The bordercolor is immaterial, it just increases the size of the resulti...
by fmw42
2008-01-22T17:16:05-07:00
Forum: Users
Topic: How did i resize a image to a fixed size?
Replies: 3
Views: 14788

Re: How did i resize a image to a fixed size?

If you are on Unix or Mac and want to resize to a square format, you can try my squareup bash script at
http://www.fmwconcepts.com/imagemagick/index.html
by fmw42
2008-01-16T13:58:54-07:00
Forum: Developers
Topic: Where Do I find All The Delegate Libraries?
Replies: 2
Views: 9519

Where Do I find All The Delegate Libraries?

I recently had to build IM from source. But found that many image types including convert to png, jpeg and tif did not work. I got some help from Sean Burke to find those delegate libraries. Now when I run Anthony Thyssen's flicker_cmp, I get error messages about sh: line 1: gs: command not found sh...
by fmw42
2008-01-14T19:30:06-07:00
Forum: Users
Topic: My Experience and Issues Building IM on Mac OS (Tiger)
Replies: 2
Views: 17126

My Experience and Issues Building IM on Mac OS (Tiger)

I have been an IM user for less than a year now and have until now been using the binary builds on my Mac OS 10.4 Tiger system. When Apple released OS 10.5 Leopard, IM started building binaries for it and th IM binary for Tiger no longer seems to include X11 display support. It would be nice if this...
by fmw42
2008-01-11T18:03:04-07:00
Forum: Users
Topic: Auto-crop maintaining square canvas?
Replies: 1
Views: 9422

Re: Auto-crop maintaining square canvas?

Here is a set of commands. But you would likely need to script them. convert hex10.png -fuzz 10% -trim +repage hex10_trim.png // trim width=`identify -format %w hex10_trim.png` // get width of trimmed image height=`identify -format %h hex10_trim.png` // get height of trimmed image [ $width -gt $heig...
by fmw42
2008-01-06T19:50:21-07:00
Forum: Users
Topic: keep 8-bit depth grayscale colorspace for output BMP
Replies: 5
Views: 14664

Re: keep 8-bit depth grayscale colorspace for output BMP

Do each image separately,

convert image1 -colorspace Gray outimage1
confert image2 -colorspace Gray outimage2
by fmw42
2008-01-03T19:06:52-07:00
Forum: Users
Topic: trouble with background in rotated jpg file
Replies: 8
Views: 16718

Re: trouble with background in rotated jpg file

jpeg is a lossy (compressed) image format and will not preserve colors exactly. You might try first creating it as a png and then converting to jpeg while setting the quality to 100%, but even that may not help. Also jpg does not allow transparency. So png is your best format.
by fmw42
2008-01-02T19:29:44-07:00
Forum: Users
Topic: keep 8-bit depth grayscale colorspace for output BMP
Replies: 5
Views: 14664

Re: keep 8-bit depth grayscale colorspace for output BMP

try

convert <first_image> <second_image> -colorspace Gray <output_file>