You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Eric Suen <er...@yahoo.com.cn> on 2006/04/14 13:59:04 UTC

feColorMatrix problem

Hi

In SVG1.1 doc, images/filters/feColorMatrix.svg file line 31:

  <feColorMatrix type="saturate" in="SourceGraphic" values="40%"/>
  
Batik report:
 The attribute "values" of the element <feColorMatrix> is invalid

Is this the Batik problem? because I can open it use ASV6

Regards

Eric



		
___________________________________________________________ 
无限容量雅虎相册,原图等大下载,超快速度,赶快抢注! 
http://cn.photos.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Re: feColorMatrix problem

Posted by th...@kodak.com.
Hi Eric,

   The set of options that you can adjust is available by sending mail to 
the
help address at the end of every message:

> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Re: feColorMatrix problem

Posted by Eric Suen <er...@yahoo.com.cn>.
Hi Thomas,
>
>   I don't know what you mean.  I've never used gmane and I don't know
> how the Batik lists are getting reflected into gmane/NNTP.

for example, sourceforge maillist has admin page like this:

http://lists.sourceforge.net/lists/listinfo/aswing-users

you can set options like digest and delivery modes, receive
the mail or not,  etc...

Not sure apache maillist has same options, because I can't
find it in:
 http://jakarta.apache.org/site/mail.html

Thanks

Eric




---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Re: feColorMatrix problem

Posted by th...@kodak.com.
Hi Eric,

news <ne...@sea.gmane.org> wrote on 04/14/2006 02:12:53 PM:

> >   Specifications are not immune from errors ;).  Your example comes 
from
> > the 1.0 spec, the 1.1 spec fixed this error:

> Really? because the example is from:
>   http://www.w3.org/TR/SVG11/images/filters/feColorMatrix.svg

   Ohh, they fixed the text in the spec but not the linked SVG.
Read the filters chapter it has the same SVG example 'in line':

        http://www.w3.org/TR/SVG11/filters.html#feColorMatrix

> It still 40%, where can I download the new one?

   You have the right place.

> BTW, where I can set the maillist options like other lists, because I
> use gmane NNTP, so I don't want receive the email same time...

   I don't know what you mean.  I've never used gmane and I don't know
how the Batik lists are getting reflected into gmane/NNTP.


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Re: feColorMatrix problem

Posted by Eric Suen <er...@yahoo.com.cn>.
>> > According to the spec[1], the values attribute for an feColorMatrix of
>> > type 'saturate' should be a single number from 0 to 1.  If ASV6 allows
>> > "40%" and interprets it as "0.4", then it is incorrect.
>
>> Because the example is from spec, I'm little confused... :)
>
>   Specifications are not immune from errors ;).  Your example comes from
> the 1.0 spec, the 1.1 spec fixed this error:
>
>    <filter id="Saturate40" filterUnits="objectBoundingBox"
>            x="0%" y="0%" width="100%" height="100%">
>      <feColorMatrix type="saturate" in="SourceGraphic" values="0.4"/>
>    </filter>

Really? because the example is from:
  http://www.w3.org/TR/SVG11/images/filters/feColorMatrix.svg

It still 40%, where can I dowonload the new one?

BTW, where I can set the maillist options like other lists, because I
use gmane NNTP, so I don't want receive the email same time...

Thanks

Eric




---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Re: feColorMatrix problem

Posted by th...@kodak.com.
news <ne...@sea.gmane.org> wrote on 04/14/2006 01:38:56 PM:

> > According to the spec[1], the values attribute for an feColorMatrix of
> > type 'saturate' should be a single number from 0 to 1.  If ASV6 allows
> > "40%" and interprets it as "0.4", then it is incorrect.

> Because the example is from spec, I'm little confused... :)

   Specifications are not immune from errors ;).  Your example comes from
the 1.0 spec, the 1.1 spec fixed this error:

    <filter id="Saturate40" filterUnits="objectBoundingBox" 
            x="0%" y="0%" width="100%" height="100%">
      <feColorMatrix type="saturate" in="SourceGraphic" values="0.4"/>
    </filter>


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Re: feColorMatrix problem

Posted by Eric Suen <er...@yahoo.com.cn>.
>
> According to the spec[1], the values attribute for an feColorMatrix of
> type 'saturate' should be a single number from 0 to 1.  If ASV6 allows
> "40%" and interprets it as "0.4", then it is incorrect.
>
> Cameron
>
> [1] http://www.w3.org/TR/SVG11/filters.html#feColorMatrixValuesAttribute
>

Because the example is from spec, I'm little confused... :)

Thanks

Eric




---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Re: feColorMatrix problem

Posted by Cameron McCormack <ca...@mcc.id.au>.
Hi Eric.

Eric Suen:
> In SVG1.1 doc, images/filters/feColorMatrix.svg file line 31:
> 
>   <feColorMatrix type="saturate" in="SourceGraphic" values="40%"/>
>   
> Batik report:
>  The attribute "values" of the element <feColorMatrix> is invalid
> 
> Is this the Batik problem? because I can open it use ASV6

According to the spec[1], the values attribute for an feColorMatrix of
type 'saturate' should be a single number from 0 to 1.  If ASV6 allows
"40%" and interprets it as "0.4", then it is incorrect.

Cameron

[1] http://www.w3.org/TR/SVG11/filters.html#feColorMatrixValuesAttribute

-- 
 Cameron McCormack			ICQ: 26955922
 cam (at) mcc.id.au			MSN: cam (at) mcc.id.au
 http://mcc.id.au/			JBR: heycam (at) jabber.org

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org