Banding in Composited Gradients

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
stupid
Posts: 51
Joined: 2010-02-12T07:30:34-07:00
Authentication code: 8675308

Banding in Composited Gradients

Post by stupid »

Hi, all.

A question regarding "banding" when compositing gradients.

I have some (approx. 800) full-size crops (jpegs) of cloud formations. I need to apply a gradient similar to a weak, rectangular vignette to perform what you might call the digital equivalent of edge-burning in order to define the edges against a background. I can make the gradient easily enough but no matter how smooth it is I get vague(ish) banding when it's composited onto the destination. Obviously with 8-bit imagery this is always going to tend towards the problematic. The usual remedy is to add noise to the gradient in addition to the default dithering; but because of the smooth nature of the images - sky/cloud - the noise is noticeable. Just hoping vaguely that someone might have "been there; done that" and discovered/developed an alternative method.

Thanks.


Jo
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Banding in Composited Gradients

Post by fmw42 »

can you post a link and example to your problem and your command line used for processing?

Also what version of IM are you using and on what platform?
Post Reply