Re: [filter-effects] Color clamping of intermediate filter primitive results

On Tue, Jul 23, 2013 at 5:58 PM, Dirk Schulze <dschulze@adobe.com> wrote:

> On Jul 23, 2013, at 7:41 AM, Robert O'Callahan <robert@ocallahan.org>
> wrote:
> > I'm afraid that your proposed change may be rather complex though. I'd
> like to see the details.
>
> grayscale, sepia, saturate, hue-rotate, invert, opacity, brightness and
> contrast are all filter operations that can be represented by a color
> matrix. Lets take a look at the following example:
>

I understand all that. I'm just saying that you'll have to define exactly
how filter primitives are combined into groups for clamping, and you'll be
forcing implementations to do it that way.

Also, note that in your example it seems no clamping is actually necessary,
since the primitives you chose should not send any values out of the 0-255
range. (Except huerotate maybe?)

Rob
-- 
Jtehsauts  tshaei dS,o n" Wohfy  Mdaon  yhoaus  eanuttehrotraiitny  eovni
le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o  Whhei csha iids  teoa
stiheer :p atroa lsyazye,d  'mYaonu,r  "sGients  uapr,e  tfaokreg iyvoeunr,
'm aotr  atnod  sgaoy ,h o'mGee.t"  uTph eann dt hwea lmka'n?  gBoutt  uIp
waanndt  wyeonut  thoo mken.o w  *
*

Received on Tuesday, 23 July 2013 06:31:15 UTC