Re: SANE V2

Stephen Williams (steve@icarus.com)
Mon, 16 Aug 1999 08:47:55 -0700

becka@rz.uni-duesseldorf.de said:
> O.K. - if it really really really pleases all people here, we can add
> that types. But as said, I am afraid of opening a neverending growth
> of the frame types, which is very bad regarding compatibility and
> cannot be easily extended by just editing a textfile or something.

I made a proposal to handle compatibility, to wit:

steve@icarus.com said:
> Anyhow, to summarize. If we simply add new frame formats and define
> them as advanced or optional, drivers will be expected to support the
> existing formats as defaults. This will allow old applications to
> work. Add wording to the standard something like:

"All SANE drivers must support at least one of SANE_FRAME_GRAY
and SANE_FRAME_RGB. All SANE applications must support *both*
SANE_FRAME_GRAY *and* SANE_FRAME_RGB. The driver must provide
data in one of these standard formats unless requested otherwise
by manipulation of its "format" option."

steve@icarus.com said:
> should protect most existing applications.

IMPORTANT POINT:
** Once the well-known format option is added, new "advanced" frame formats
** can be added liberally without ever again breaking compatibility.

-- 
Steve Williams                "The woods are lovely, dark and deep.
steve@icarus.com              But I have promises to keep,
steve@picturel.com            and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com