Search found 22080 matches

by fmw42
2008-01-24T17:54:14-07:00
Forum: Users
Topic: semi-transparent pixels
Replies: 3
Views: 7094

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

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

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

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

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

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

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

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

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

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

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

try

convert <first_image> <second_image> -colorspace Gray <output_file>
by fmw42
2008-01-02T19:26:41-07:00
Forum: Users
Topic: Mac OS X binary release: display just outputs help text
Replies: 2
Views: 6624

Re: Mac OS X binary release: display just outputs help text

Although I am not on the current release, in the past I have had the same problem. But seem to be able to cure it by adding export DISPLAY=:0 to my .profile file.
by fmw42
2007-12-28T17:14:15-07:00
Forum: Users
Topic: Negating color range from command line
Replies: 4
Views: 9693

Re: Negating color range from command line

convert imagename.suffix -threshold 100% outimage.suffix

The resulting image will be completely black.