Is there ANY way to load an image (from a URL from example), and know
whether the source image file has an alpha channel or not.
It looks to me like the only thing in Java you can do is to force
whether or not you want an alpha channel.
Am I missing something, or is Java missing something very fundamental??
The application for this is Java3D, where each "image observer" (a 3D
polygon) must be placed in a special mode to perform alpha blending.
Rendering is much slower if you enable alpha blending just by default.
Instead, blending should only be turned on when necessary.
The "Image" class gives width and height, no depth. With the
"BufferedImage" class, you dictate the format. Is there another class I
am missing.
-Lee
J. Lee Dixon
Software Engineer
SAIC - Celebration, FL
[EMAIL PROTECTED]
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".