[GM-core] ChannelThresholdImage interface
Bob Friesenhahn <[email protected]>
| Newsgroups | gmane.comp.video.graphicsmagick.core |
|---|---|
| Message-ID | <Pine.GSO.4.44.0303200035130.14868-100000@scooby.simplesystems.org> |
ChannelThresholdImage is considerably faster due to the latest code updates (in CVS). Unfortunately, I don't like the functionality of this routine very much. The thresholding is specified like 'threshold' (e.g. "30%"), or 'red/green/blue/opacity' (e.g. "30%/40%/50%/60%"). The problem with this interface is that *all* channels must be thresholded. It would be nice if the user could specify channels to ignore so that only one or two channels could be thresholded. Does anyone have an idea of how the current syntax can be supported while also being able to specify that a channel should not be altered? Bob ====================================== Bob Friesenhahn [email protected] http://www.simplesystems.org/users/bfriesen ------------------------------------------------------- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en