[oXygen-user] SVG rasterizer

David Cramer
Tue Jun 7 07:23:46 CDT 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

An Ant transformation scenario would also be good for this. There's a
batik ant task. For html outputs, I've included code in my ant script to
convert all svgs to png.

David

On 06/07/2011 06:37 AM, Radu Coravu wrote:
> Hi Wendell,
> 
> Thanks for the improvement request, we'll consider it for a future version.
> 
> Florent Georges' suggestion about integration in the transformation 
> scenarios gave me a workaround for you.
> 
> You can create a small XSL-FO file which references the image (without 
> any additional text) and performing FO processing using Apache FOP in a 
> modified Oxygen "FO to PDF" transformation scenario in the "FO 
> Processor" tab you can choose from various output methods among which 
> you can find "png" and "tiff":
> 
> http://www.oxygenxml.com/doc/ug-oxygen/topics/defining-new-transformation-scenario.html#defining-new-transformation-scenario__figure-configure-transformation-dialog-fo-oxygen
> 
> So instead of creating the PDF using Apache FOP you can create an image.
> 
> Regards,
> Radu
> 
> Radu Coravu
> <oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
> http://www.oxygenxml.com
> 
> 
> On 6/6/2011 8:15 PM, Wendell Piez wrote:
>> Hi,
>>
>> As you know, Batik comes with rasterizer code to convert SVG into JPEG
>> and PNG formats. (And others, including TIFF, EPS and PDF.)
>>
>> I happily use it on other platforms, but sometimes I'd really like to do
>> this in oXygen ... any chance of adding a widget for SVG files to
>> support this?
>>
>> Cheers,
>> Wendell
>>
>> ======================================================================
>> Wendell Piez                            mailto:
>> Mulberry Technologies, Inc.                http://www.mulberrytech.com
>> 17 West Jefferson Street                    Direct Phone: 301/315-9635
>> Suite 207                                          Phone: 301/315-9631
>> Rockville, MD  20850                                 Fax: 301/315-8285
>> ----------------------------------------------------------------------
>>     Mulberry Technologies: A Consultancy Specializing in SGML and XML
>> ======================================================================
>> _______________________________________________
>> oXygen-user mailing list
>> 
>> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>>
> _______________________________________________
> oXygen-user mailing list
> 
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJN7hhQAAoJEMHeSXG7afUhWfsH/2JuQYcPCz0Emocb9ZuVMUdj
uiuDRQcdQzn3Ss6/gRP2IPeFRrXsJsTJpW8AfqTvhnRgJSyS6shgvmabgI6iPMeB
SYLandBgbB/7YsekOBNabR58OcN4DV6Ss9/3eyAC6NKTemwOElwbFrDpADP2oU3v
uh6qtXWqmakzrWJl+Zay7V0NdB81Uf3LAJ8ATxr/6rfEpG63JkBc2C4KmtF9nZvL
sxbvTwt2lz2OBIlGEYAUeF6yN74Fpp6K5RaDcc36DUO8w9A4MPpdT8FjISO2LEWx
4SB0mQhkqDPXpDt5lBXL4k0qxsGy0W8/XiJR4dfekKwR1f6j/8Wgb2hJboN02Qo=
=q8/P
-----END PGP SIGNATURE-----



More information about the oXygen-user mailing list