Search found 22654 matches

by fmw42
2008-01-26T16:03:14-07:00
Forum: Bugs
Topic: Is it a bug when convert *.bmp -colorspace Gray *.bmp ?
Replies: 1
Views: 5277

Re: Is it a bug when convert *.bmp -colorspace Gray *.bmp ?

I believe that all images created or converted within IM will actually have 3 channels, even if they are all the same grayscale channel. Thus the filesize will not change as you still have 3 channels and not one channel. The commands convert <inflle> -colorspace Gray <outfile> and convert <infile> -...
by fmw42
2008-01-25T17:30:57-07:00
Forum: Users
Topic: Overlaying Animation Above Animation
Replies: 6
Views: 11774

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: 24456

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: 3426

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: 7291

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: 5567

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: 11774

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: 11272

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 resulting image a...
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: 9628

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: 6203

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: 12041

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: 7017

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: 10521

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: 13038

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.