Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

exporting a tiff



I'm developing a servlet that needs to export high resolution images for use in Quark. Since I couldn't find an easy way to export as EPS, I decided to try exporting as a tiff through qt-java.

I can get the export to work fine, but calls to set the resolution seem to fail. I can call graphicsExporter.setResolution(300, 300) and then calls to getHorizontalResolution (and Vertical) return 300. But when the image is actually exported, the resolution shows as 72 in photoshop.

Is there something else that has to be done to set the resolution? Or is this functionality just not supported?

Also, is there any way to have an alpha channel exported as part of the image?

I'm creating the original image by creating a BufferedImage, getting the Graphics2D for it, and then drawing using the Java 2D API.

TIA

--
__________________________________________________________________________
"They that can give up essential liberty
Mark J. Lilback to obtain a little temporary safety
<email@hidden> deserve neither liberty or safety."
http://www.lilback.com/ -- Benjamin Franklin




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.