cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeroen Reijn" <>
Subject RE: raster (jpeg, png) graphics in Batik SVG rasterizer under Cocoon
Date Sun, 01 Apr 2007 21:22:44 GMT
Hi Wendell,

could you perhaps elaborate on the version of Cocoon which you are using?
Maybe the operating system helps as well. I've been using the batik rasterizer and transformation
to jpgs with Cocoon for quite some time and never had problems with it. I've been using Cocoon
2.1.6 and 2.1.8 while doing that.


Jeroen Reijn

-----Original Message-----
From: Wendell Piez []
Sent: Sunday, April 01, 2007 11:05 PM
Subject: raster (jpeg, png) graphics in Batik SVG rasterizer under


When serving SVGs with Cocoon, if I call a jpeg or PNG image into an 
SVG file and the Cocoon sitemap is configured to deliver them, I can 
see them just fine in the SVG in a browser. But when I pass the same 
SVG through Batik's rasterizer under Cocoon to make a jpeg (or png), 
the jpeg or png fails to be included, instead showing me a nice but 
alarming placeholder image. (I can arrange for examples on request, 
and/or show my sitemap.)

When I run Batik standalone (as a client) and point them to the SVGs 
(being delivered by Cocoon), it behaves just like any SVG browser, 
displaying the jpeg or PNG and even offering me the rasterize 
functionality. It's when it's running on the server that it doesn't work.

Does anyone have any hints as to whether (and how) it's possible to 
get Batik to resolve and include these images when rasterizing under Cocoon?


Wendell Piez                  
Mulberry Technologies, Inc.      
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

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message