Re: less than 100% opaque svg graphic
I'm not a big help here, but I can confirm that no transparency support is available for FOP 0.20.5. If I remember correctly Keiron Liddle started transparency support in the PDF transcoder in HEAD (redesign). Another reason for people to start helping with the redesign so it gets finished more quickly. :-) On 01.10.2003 22:37:55 Adam Shelley wrote: I'm am using svg's in pdf's created by fop and I was wondering if there was anyway to do less than 100% opaque graphics in the output pdf document. I hit the archives and couldn't find any particular issue addressing this. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
less than 100% opaque svg graphic
Hello all, I'm am using svg's in pdf's created by fop and I was wondering if there was anyway to do less than 100% opaque graphics in the output pdf document. I hit the archives and couldn't find any particular issue addressing this. Any input would be appreciated. -Adam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: less than 100% opaque svg graphic
Adam Shelley wrote: I'm am using svg's in pdf's created by fop and I was wondering if there was anyway to do less than 100% opaque graphics in the output pdf document. I hit the archives and couldn't find any particular issue addressing this. I suspect it is not possible to do it with FOP. However, it should be possible using a combination of iText and a little bit of advanced PDF spec knowledge. This page on the FOP web site has links to everything you probably will need: http://xml.apache.org/fop/resources.html We'd appreciate learning from your experiences, including what works and doesn't work! Please report back and let us know what you've found. Web Maestro Clay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: less than 100% opaque svg graphic
Hello, Thanks for the confirmation. I will most likely not be doing development in this area to solve the problem cause its going to cause too much overhead having to parse the source xml document(=2MB) multiple times and doing multiple translations on it. Is there a way to import an svg into fop produced pdf and have batik render it into a .tiff or .jpg with the opacity looking correctly instead of translating it to pdf 2D vectors? The only reason I want to modify this value is because I'm going to be assigning barcharts specific colours and I would like to automagically have the previous year's figures a slightly modified version of the colour used to display the current year's statistics. I was thinking about modifying the opacity to a lesser value to dim the colour but I'm sure there are other ways to do this. I could probably calculate the hex value appropriately and do this. Does anyone have any suggestions? -Adam -Original Message- From: Clay Leeds [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 1:50 PM To: [EMAIL PROTECTED] Subject: Re: less than 100% opaque svg graphic Adam Shelley wrote: I'm am using svg's in pdf's created by fop and I was wondering if there was anyway to do less than 100% opaque graphics in the output pdf document. I hit the archives and couldn't find any particular issue addressing this. I suspect it is not possible to do it with FOP. However, it should be possible using a combination of iText and a little bit of advanced PDF spec knowledge. This page on the FOP web site has links to everything you probably will need: http://xml.apache.org/fop/resources.html We'd appreciate learning from your experiences, including what works and doesn't work! Please report back and let us know what you've found. Web Maestro Clay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: less than 100% opaque svg graphic
My reply was not meant as any sort of confirmation per se. By no means do I consider myself an authority on FOP. My experience is limited to reading this list, and having used FOP since shortly after fop-0.20.4 was released (about a year a half or so). Although I haven't used iText myself (I haven't had the need to *yet* ;-p), I don't believe it parses XML. Instead, I believe it goes through PDF documents. I suspect you would complete your PDF transformation as normal using FOP, and then parse the PDF to modify your chart graphics. BTW, (somewhat OT) having used the Excel portion of Microsoft Office v.X for Mac, I can attest that it does a beautiful job of creating the kind of charting transparency you describe. I believe they are exportable as JPG, TIFF or PDF documents as well. If this would help, then you might be able to use iText or some PDF concatenator (Combine PDF on Mac OS X) to insert it into your PDF file. Hope this helps! Web Maestro Clay Adam Shelley wrote: Hello, Thanks for the confirmation. I will most likely not be doing development in this area to solve the problem cause its going to cause too much overhead having to parse the source xml document(=2MB) multiple times and doing multiple translations on it. Is there a way to import an svg into fop produced pdf and have batik render it into a .tiff or .jpg with the opacity looking correctly instead of translating it to pdf 2D vectors? The only reason I want to modify this value is because I'm going to be assigning barcharts specific colours and I would like to automagically have the previous year's figures a slightly modified version of the colour used to display the current year's statistics. I was thinking about modifying the opacity to a lesser value to dim the colour but I'm sure there are other ways to do this. I could probably calculate the hex value appropriately and do this. Does anyone have any suggestions? -Adam -Original Message- From: Clay Leeds [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 1:50 PM To: [EMAIL PROTECTED] Subject: Re: less than 100% opaque svg graphic Adam Shelley wrote: I'm am using svg's in pdf's created by fop and I was wondering if there was anyway to do less than 100% opaque graphics in the output pdf document. I hit the archives and couldn't find any particular issue addressing this. I suspect it is not possible to do it with FOP. However, it should be possible using a combination of iText and a little bit of advanced PDF spec knowledge. This page on the FOP web site has links to everything you probably will need: http://xml.apache.org/fop/resources.html We'd appreciate learning from your experiences, including what works and doesn't work! Please report back and let us know what you've found. Web Maestro Clay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: less than 100% opaque svg graphic
Heh, I've been using FOP since 0.20.4 as well but not enough to become an expert. I am using iText but just to implement security on the document, but nothing else. This is the flow of my program: xml + xsl -(http)- fop+itext servlet -(http)- pdf the xml has all of the information for creating data grids as well as charting information. svg seems like a great way to make charts, its just a matter of coming up with some good xsl and xml inputs to generate them how you want. I'd like this to be a 100% xml-output_document solution since thats how everything works so far. I'd also never do anything using an office SDK again since it will probably(my guess) get security patched out of existance. I have full control over the input and output document so I think i'll just have to somehow modify the colour value programmatically. Thanks again, -Adam -Original Message- From: Clay Leeds [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 2:52 PM To: [EMAIL PROTECTED] Subject: Re: less than 100% opaque svg graphic My reply was not meant as any sort of confirmation per se. By no means do I consider myself an authority on FOP. My experience is limited to reading this list, and having used FOP since shortly after fop-0.20.4 was released (about a year a half or so). Although I haven't used iText myself (I haven't had the need to *yet* ;-p), I don't believe it parses XML. Instead, I believe it goes through PDF documents. I suspect you would complete your PDF transformation as normal using FOP, and then parse the PDF to modify your chart graphics. BTW, (somewhat OT) having used the Excel portion of Microsoft Office v.X for Mac, I can attest that it does a beautiful job of creating the kind of charting transparency you describe. I believe they are exportable as JPG, TIFF or PDF documents as well. If this would help, then you might be able to use iText or some PDF concatenator (Combine PDF on Mac OS X) to insert it into your PDF file. Hope this helps! Web Maestro Clay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]