W3C home > Mailing lists > Public > www-svg@w3.org > October 2010

[Bug 11015] New: errata: feDisplacementMap needs to specify how to treat output

From: <bugzilla@jessica.w3.org>
Date: Tue, 12 Oct 2010 17:15:39 +0000
To: www-svg@w3.org
Message-ID: <bug-11015-2017@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11015

           Summary: errata:  feDisplacementMap needs to specify how to
                    treat output
           Product: SVG
           Version: SVG 1.2 Tiny
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SVG Document Object Model (DOM)
        AssignedTo: schepers@w3.org
        ReportedBy: j.chetwynd@btinternet.com
         QAContact: www-svg@w3.org


Created attachment 922
  --> http://www.w3.org/Bugs/Public/attachment.cgi?id=922
simple testcase

unless style of filters is specified:
color-interpolation-filters="SRGB"

there is currently a difference in display between Mozilla and Opera or Safari.
in the attachment Mozilla lightens the filtered space, whereas Opera and Safari
darken.

Robert  Longson in the Mozilla bug report says:

It all comes down to whether the output of feDisplacementMap should be
premultiplied or not.

The specification clearly says how to treat the inputs (in1 and in2)
http://www.w3.org/TR/SVG/filters.html#feDisplacementMapElement it does not say
how to treat the output. Should that be affected by color-interpolation-filters
or should it always be SRGB, LINEARRGB or whatever in1 is or even whatever in2
is.

Firefox takes the output as being whatever colour space is defined by
color-interpolation-filters i.e. if in1 starts as LINEARRGB then it finishes as
LINEARRGB. It seems like Opera and Safari assume it is SRGB.

This needs taking up with the w3c as it is unclear what is correct.

https://bugzilla.mozilla.org/show_bug.cgi?id=603584#c16

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 12 October 2010 17:15:47 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:46 GMT