Re: display -backdrop

Bob Friesenhahn <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.core
Message-ID <Pine.GSO.4.44.0402271414040.13197-100000@scooby.simplesystems.org>
On Fri, 27 Feb 2004, Patrick Welche wrote:

> On Thu, Feb 26, 2004 at 04:28:23PM -0600, Bob Friesenhahn wrote:
> > It seems like -bordercolor may be a more intuitive way to specify the
> > color used by -backdrop since the backdrop is effectively a border.
> > The backdrop may be viewed as a border around the image.
> >
> > Changing the value of foreground (using X11 resources) in order to
> > control -backdrop may negatively effect user-interface elements.
> >
> > Comments?
>
> or how about matching the documentation, and letting backdrop take
> an argument?

I like that approach except that it would require adding a new API
structure member just for that purpose since there is currently no
'backdrop' member.  There are already structure members to support
foreground, background, and border colors.

There is also the issue that in order to provide backward
compatability (we don't want to break existing scripts), we would need
to support the option both with, and without an argument.  Currently
the only option we have with an optional argument is -profile, and
that has already caused plenty of problems for us.

For the moment, I have simply corrected the documentation to match
what the software actually does, and to match the existing help
output.

Bob
======================================
Bob Friesenhahn
[email protected]
http://www.simplesystems.org/users/bfriesen



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.