[sane-devel] ICC support - summing up

Julien BLACHE jb at jblache.org
Mon Jun 8 19:36:08 UTC 2009


"m. allan noah" <kitno455 at gmail.com> wrote:

> On Mon, Jun 8, 2009 at 3:30 PM, Julien BLACHE<jb at jblache.org> wrote:
>> Yiannis Belias <jonnyb at hol.gr> wrote:
>>
>> Hi,
>>
>>> :) Actually I was hoping that saned could implement an extra function call
>>> without the need for the dll or even (maybe) the net backend to be aware of it.
>>> I understand that this would brake the api for the network part.
>>
>> And how would the frontend actually get the ICC data if it isn't aware
>> of the get_icc_profile() call?
>>
>> You want to send the ICC profile over the network, so that means
>> someone has to request it. The frontend doesn't know it's using the
>> net backend; it's using the dll backend and doesn't even know the net
>> backend exists. So it can't issue this request.
>>
>>> If that won't happen, do you see any other way of getting a remote profile
>>> without having to update every backend to a new version of the sane api?
>>
>> My take on this is that it should be handled out of band and by the
>> frontend only. The frontend should have all the information needed to
>> determine which ICC profile applies.
>
> I agree. But in the case of saned, this means each client would need
> the ICC profile for the scanner installed locally, or some other
> protocol would have to be used to call the server for it.
>
> allan

-- 
Julien BLACHE                                   <http://www.jblache.org> 
<jb at jblache.org>                                  GPG KeyID 0xF5D65169



More information about the sane-devel mailing list