I'm attempting to process image data acquired from a digital camera via its
C-based SDK. After obtaining the data, a series of three ICC profiles must
be applied to get an appropriate color space for output (e.g. printing,
displaying, etc.). My plan was to use JNI to get a buffer of image data,
create an appropriate BufferedImage, and then create a ColorConvertOp with
an array of ICC_Profile instances to do the color conversion. The profiles
are provided with the camera SDK, but the first one generates an "Invalid
profile type" error in the ICC_ColorSpace constructor. Apparently, this is
because the profile is of type DeviceLink (ICC_Profile.CLASS_DEVICELINK)
and it's illegal to construct an ICC_ColorSpace based on this type of profile.
So, as far as I can tell, that means I can't do the color conversion within
Java. Does anyone else have experience with handling DeviceLink profiles
(either with Java or native code)? Any suggestions for a different plan of
attack? Thanks.

--
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

===========================================================================
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".

Reply via email to