(dsssl) scale-attribute - how is it handled correctly?

Subject: (dsssl) scale-attribute - how is it handled correctly?
From: "Christof Drescher" <drescher.lists@xxxxxxxxxxxx>
Date: Wed, 4 Jul 2001 09:17:28 +0200
Hi!

For the pdf formatter I've developed, I ran into the problem how the DSSSL
"scale" attribute (for external-graphics) should be treated properly for
gif+jpeg images. It is quite reasonable for PDF files I put in, since they
have a given width+height.

If I parse a GIF or JPEG in Java, I only get the width+height in pixels.
Since I want to get a result comparable with the other backends - how should
a gif image (which - as far as I know - does not have a dpi value saved with
it) be treated? As if it was 72dpi (screen res)?

Can anyone help?
Greetings,
C. Drescher

(fot2pdf-formatter availabe at www.pdftech.com)
--------------------------------------------
Pro Image GbR, Marburg
Tel. 06421-66800, Fax 06421-66820
email: drescher@xxxxxxxxxxxx


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist

Current Thread