Ron King wrote:

I'm trying to set my tiff image to 100 pixels per inch. With the following code:

TiledImageTranscoder tit = new TiledImageTranscoder();
tit.addTranscodingHint(ImageTranscoder.KEY_PIXEL_UNIT_TO_MILLIMETER,new Float(.254))

The TileImageTranscoder supports almost none of the hints[*], so you will need to look at what the standard Tiff Transcoder does and do the same thing in the Tiled Transcoder.

* This is why it's in contrib and doesn't replace the default
TiffTranscoder. ;)

However, the resulting file is 72 pixels/inch. What do I need to do to get 100 pixels/inch?

Regards,

Ron King

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





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



Reply via email to