Content-Type: multipart/alternative; boundary="0-1292811905-1241026253=:85800" --0-1292811905-1241026253=:85800 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I tried the three filters versions on Batik and they render and export corr= ectly.=0A=0Aivan=0A=0A=0A=0A----- Message transf=E9r=E9 ----=0ADe : Ivan Lo= uette =0A=C0 : the Adib ; in= kscape-devel =0AEnvoy=E9 le : Mercred= i, 29 Avril 2009, 19h14mn 56s=0AObjet : [Inkscape-devel] Re : rendering qu= ality for filter etc.=0A=0A=0APerhaps linked to the problem I have with my = latest filter which is intended to draw dark or black edges on pictures.=0A= =0AIt renders well in Inkscape, Opera and Firefox, but export to png is bad= and never gives correctly the dark lines.=0A=0AI join you a file with thre= e filters samples to apply to the embedded pictures.=0A=0Aivan=0A=0A=0A=0A= =0A________________________________=0ADe : the Adib =0A=C0 : inkscape-devel =0AEnvoy=E9 = le : Mercredi, 29 Avril 2009, 1h53mn 25s=0AObjet : [Inkscape-devel] renderi= ng quality for filter etc.=0A=0AThere is this issue 322116 https://bugs.lau= nchpad.net/bugs/322116 "PDF=0Aexport does not use the highest quality for r= asterized filters"=0AThe reason for this issue is that each nr_arena_item c= hecks the=0Apreferences for the filter quality even for off screen renderin= g.=0A=0AThis is wrong behaviour.=0A=0ADuring png export there is a sequence= like this save, set ...=0Arendering ... restore. This changes for a short = moment the=0Apreferences.=0A=0AThis is also not good style. (remember a bac= kground task renderin to=0Apng - in future)=0A=0AI developed a patch that i= s attached to the issue in launchpad.=0A=0AAttached patch puts render quali= ty properties to nr_arena. You can do=0Anow "nr_arena_set_renderoffscreen(a= rena)" for an offscreen arena in=0Aorder to get highest accuracy.=0A=0A=0A= please review!=0A=0AAdib.=0A=0A--------------------------------------------= ----------------------------------=0ARegister Now & Save for Velocity, the = Web Performance & Operations =0AConference from O'Reilly Media. Velocity fe= atures a full day of =0Aexpert-led, hands-on workshops and two days of sess= ions from industry =0Aleaders in dedicated Performance & Operations tracks.= Use code vel09scf =0Aand Save an extra 15% before 5/3. http://p.sf.net/sfu= /velocityconf=0A_______________________________________________=0AInkscape-= devel mailing list=0AInkscape-devel@lists.sourceforge.net=0Ahttps://lists.s= ourceforge.net/lists/listinfo/inkscape-devel=0A=0A=0A --0-1292811905-1241026253=:85800 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
I tried the three filters versions on Batik and they render and exp= ort correctly.

ivan

----- Message transf=E9r=E9 ----
De : Ivan Louette <ivan_louette@yahoo.fr>
=C0 : the Adib <theadib@googlemai= l.com>; inkscape-devel <inkscape-devel@lists.sourceforge.net>
<= b>Envoy=E9 le : Mercredi, 29 = Avril 2009, 19h14mn 56s
Objet = ;: [Inkscape-devel] Re : rendering quality for filter etc.
<= /font>
P= erhaps linked to the problem I have with my latest filter which is intended= to draw dark or black edges on pictures.

It renders well in Inkscap= e, Opera and Firefox, but export to png is bad and never gives correctly th= e dark lines.

I join you a file with three filters samples to apply = to the embedded pictures.

ivan


De : t= he Adib <theadib@googlemail.com>
=C0 : inkscape-devel <inkscape-devel@lists.sourceforge.n= et>
Envoy=E9 le :=0A= Mercredi, 29 Avril 2009, 1h53mn 25s
Objet : [Inkscape-devel] rendering quality for filter et= c.

There is this issue 322116 https://bugs.launchp= ad.net/bugs/322116 "PDF
export does not use the highest quality for = rasterized filters"
The reason for this issue is that each nr_arena_item= checks the
preferences for the filter quality even for off screen rende= ring.

This is wrong behaviour.

During png export there is a s= equence like this save, set ...
rendering ... restore. This changes for = a short moment the
preferences.

This is also not good style. (rem= ember a background task renderin to
png - in future)

I developed = a patch that is attached to the issue in launchpad.

Attached patch p= uts render quality properties to nr_arena. You can do
now=0A "nr_arena_s= et_renderoffscreen(arena)"  for an offscreen arena in
order to get = highest accuracy.


please review!

Adib.

-----------= -------------------------------------------------------------------
Regi= ster Now & Save for Velocity, the Web Performance & Operations
= Conference from O'Reilly Media. Velocity features a full day of
expert-= led, hands-on workshops and two days of sessions from industry
leaders = in dedicated Performance & Operations tracks. Use code vel09scf
and= Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf<= br>_______________________________________________
Inkscape-devel mailin= g list
Inkscape-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel

=0A=0A=0A=0A

=0A=0A= =0A=0A --0-1292811905-1241026253=:85800--