SVG resizing/scaling

2001-12-06 Thread Alex Kachanov
Hello! Guys, another task for Batik Gurus. We have an SVG image which is planned to converted to gif, png, and wbmp for mobile devices. Since all these mobile devices have different screen sizes the image 95x10 px would look good on DoCoMo mobile phone, but would not look good on iPAQ PDA (to

RE: AW: Transcoders to PNG, GIF, JPG, WBMP

2001-12-06 Thread Alex Kachanov
>> Have you tried to paint your raster image (resulting from the SVG convertion) >> to a BufferedImage with a grayscale color space? >> Does the result not good enough? Yes, I've tried this and the result was not good The color image converted to B/W was distorted. Probably I've done smth. wr

Invalid CSS Document?

2001-12-06 Thread Brent L Johnson
Since I couldn't get my TTF file to convert to an SVG file I decided to try transcoding an SVG file exported by Adobe Illustrator.  I got one of our Mac guys to export an SVG from Illustrator (using the font I want to embed) - and what it seems to do is encode the fonts used in the SVG file

TTF NullPointerException

2001-12-06 Thread Brent L Johnson
I've got a truetype font I'm trying to convert using the ttf2svg converter and I get the following error: java.lang.NullPointerException    at org.apache.batik.svggen.font.table.GlyfCompositeDescript.(Unknown Source)    at org.apache.batik.svggen.font.table.GlyfTable.init(Unknown So

Re: AW: Transcoders to PNG, GIF, JPG, WBMP

2001-12-06 Thread Thierry Kormann
On Thursday 06 December 2001 17:02, Jorn Heid wrote: > But I'm stuck with WBMP transcoder. None of the codes that are available > in Interenet are able to create a grayscale image from full color > bitmap. Have you tried to paint your raster image (resulting from the SVG convertion) to a Buffer

AW: Transcoders to PNG, GIF, JPG, WBMP

2001-12-06 Thread Jorn Heid
What's the status of it? Can I help? JOERN_HEID -Ursprungliche Nachricht- Von: Alex Kachanov [mailto:[EMAIL PROTECTED]] Gesendet: Sonntag, 2. Dezember 2001 14:02 An: Batik Users Betreff: Transcoders to PNG, GIF, JPG, WBMP Hello! I'm now working on a project that uses Cocoon to serve w

Batik 1.1 release available

2001-12-06 Thread Vincent Hardy
Hello, The Batik team is pleased to announce the availability of the 1.1 release of the Batik software: http://xml.apache.org/batik Despite the minor revision number increase since 1.0, there have been large improvements to the Batik software: - Performance, Processing time and memory re

Re: Jdk 1.4 & JPEG generation

2001-12-06 Thread Thierry Kormann
On Friday 12 October 2001 13:33, Bala Bharathan wrote: > Hello - > > I am trying to use Batik for SVG to JPEG rasterization using Jdk 1.4 > (beta). For some reason, Batik doesn't generate JPEG and however it can > generate PNG/TIFF. Is there any obvious reasons that impose dependencies > on Jdk1.

Re: Simple svg files create big spools files in Batik.

2001-12-06 Thread Thierry Kormann
On Monday 05 November 2001 15:09, Mark Claassen wrote: > I have been kind of playing around with things and I tried this simple file > in Batik. I realize that Batik's font rendering capabilities go beyond > what normal font rendering can handle, but this is a simple file. I was > testing in 1.4

Re: Problem generating PDF

2001-12-06 Thread Thierry Kormann
On Tuesday 04 December 2001 03:31, Russ Leong wrote: > Hi all, > > As I read the ability to output to JPEG or PDF is because of the > transcoders, I changed the transcoder from JPEG to PDF to find out if it is > so. > > import java.io.*; > import org.apache.batik.transcoder.image.JPEGTranscoder; >

Re: PNGTranscoding

2001-12-06 Thread Thierry Kormann
On Thursday 06 December 2001 09:07, Benaja wrote: > How can I set or unset antialising for transcoding? There is no way to toggle on/off the antialising in the transcoder API. You can set attributes on your SVG document to control that. See: 11.7 Rendering properties http://www.w3.org/TR/SVG

PNGTranscoding

2001-12-06 Thread Benaja
Hello! How can I set or unset antialising for transcoding? Thanks. Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]