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 Thomas Singer <th...@regnis.de> on 2003/08/22 12:02:24 UTC

Batik-rasterizer/SVG for image creation via script?

Hi all,

I want to simplify the generation of application images. Typically those 
application images contain common parts (e.g. a user-symbol) to make it 
easier for the application user to recognize related tasks. If such a 
common part changes (e.g. I want to modify the used user-symbol), 
currently all application images need to be updated. If one needs to do 
this by hand, it's no fun. Now my question:

Is it possible to (ab)use SVG and Batik's rasterizer to render 
application images from existing raster-images (common parts)? Is it 
possible to create (semi)transparent png files with the rasterizer?

Thanks in advance!

Tom


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


Re: Batik-rasterizer/SVG for image creation via script?

Posted by Thomas DeWeese <Th...@Kodak.com>.
Thomas Singer wrote:
> Hi all,
> 
> I want to simplify the generation of application images. Typically those 
> application images contain common parts (e.g. a user-symbol) to make it 
> easier for the application user to recognize related tasks. If such a 
> common part changes (e.g. I want to modify the used user-symbol), 
> currently all application images need to be updated. If one needs to do 
> this by hand, it's no fun. Now my question:
> 
> Is it possible to (ab)use SVG and Batik's rasterizer to render 
> application images from existing raster-images (common parts)? 

     Yes, take a look at the SVG 'image' element.  It can reference
raster content (JPEG and PNG is required).

> Is it possible to create (semi)transparent png files with the rasterizer?

     Yes, this is the default for PNG.  It does not normally
generate pallete PNG (and if you tell it to it doesn't generate
alpha - this makes palletization really hard...).




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