On 14.02.2007 16:57:30 Hinrich Aue wrote:
> Hello everybody,
> 
>  
> 
> I was wondering about some things:
> 
> Why does FOP not use meta data (specially dpi) from images? I know it
> doesn't, I read the documentation. I just wonder why.

Wow, http://xmlgraphics.apache.org/fop/0.93/graphics.html seems quite a
bit out of date. A few things stated there are wrong.

FOP does interpret the resolution setting of most bitmap images. Only
formats like BMP don't contain a resolution. For JPEG and PNG this
should work fine.

> Of course, when you don't read that information, you have to set a dpi
> resolution.
> 
> Why is it 72 dpi? Every screen these days has >96dpi. Printers have even
> higher dpi.

72dpi is the default PostScript and PDF resolution.

> Another question is, is it configurable? I read a different post about this,
> but nobody answered. Can I change these default 72 dpi to 96 dpi?

Yes, see: 
http://xmlgraphics.apache.org/fop/0.93/configuration.html#general-elements
("source-resolution")

> 
> I'm asking these questions because I'm a docbook user, and I use FOP.

0.93???

> For our printed documentation we use FOP. We have _a lot_ of screenshots.
> 
> Now I have to set the absolute width for every image instead of setting dpi
> to 96 dpi in FOP.

For screenshots, even 96dpi may be too little. How about using
percentages to scale down the images?

> I cannot scale the images, they are also used for our html documentation.
> 
>  
> 
> Is there something I can do?
> 
> Are there plans for FOP to use image meta data?

As indicated above, we already do that in most places. If the above
doesn't help, please post an example.



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to