Search found 7 matches

by rling
2011-11-08T22:22:31-07:00
Forum: Users
Topic: Convert image to 8-bit BMP with a predefined palette
Replies: 0
Views: 3953

Convert image to 8-bit BMP with a predefined palette

Hi all! I need to convert images to 8-bit BMPs with one byte per pixel and a palette. The palettes in the output BMPs must have exactly 256 entries (even if some are unused). The entries must be the grayscale levels 0..255 in increasing order. That is, index 0 is RGB triple (0,0,0) etc. So far I've ...
by rling
2009-11-30T12:48:34-07:00
Forum: Users
Topic: Operate on just one image in an image list?
Replies: 3
Views: 6846

Re: Operate on just one image in an image list?

Lovely. Thankyou.
by rling
2009-11-29T22:29:37-07:00
Forum: Users
Topic: Operate on just one image in an image list?
Replies: 3
Views: 6846

Operate on just one image in an image list?

Hello I want to use IM to separate an RGB image into three greyscale images, resize the channels independently and then recombine them. I'd like to do it in one command line if possible. Is it possible to select that the -resize operator only applies to a selected one of the images? For example ...
by rling
2007-10-09T23:40:05-07:00
Forum: Users
Topic: Fill alpha channel with a constant?
Replies: 2
Views: 6755

Re: Fill alpha channel with a constant?

I've just noticed there is a -compose operator, copy-opacity, which might work. I would have to create a canvas using xc:, with a solid color and the required opacity and the size of the image whose alpha channel I want to set, and composite it onto the image with copy-opacity. The downside is I ...
by rling
2007-10-09T22:34:55-07:00
Forum: Users
Topic: Why does -normalize burn pixels?
Replies: 3
Views: 7507

Re: Why does -normalize burn pixels?

Thanks anthony. I thought this was a bug in normalize but later worked out that it seemed to be equivalent to -contrast-stretch 1%, and often it looks good. I began to use -contrast-stretch 0 instead. It looks like a lot more than 1% of pixels get burned by normalize but I guess when the dynamic ...
by rling
2007-10-08T01:56:25-07:00
Forum: Users
Topic: Fill alpha channel with a constant?
Replies: 2
Views: 6755

Fill alpha channel with a constant?

Hi, is there a quick way to fill an image's alpha channel with a constant? -fx and -recolor are overkill and are quite slow. i would like to do what -dissolve does but 'convert' doesnt support it. thanks
by rling
2007-10-07T17:51:27-07:00
Forum: Users
Topic: Why does -normalize burn pixels?
Replies: 3
Views: 7507

Why does -normalize burn pixels?

Should this command line burn pixels? convert img.jpg -normalize img-normalized.jpg If so, what are the formulas it uses, and are these formulas listed in the documentation? If not, there appears to be a bug in normalize.... img.jpg: http://i237.photobucket.com/albums/ff319/r_ling/img.jpg img ...