Mailing Lists: Apple Mailing Lists

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

Re: Image.getProperty() and JPEG files



On Apr 20, 2007, at 8:54 AM, Jerry wrote:

I don't think the AWT JEPG decoder handles comments. If you look at the JPEG Decoder source code in the JDK , there seems to be no mention of setting properties at all.

You might have better luck using javax.imageio.ImageIO:

http://java.sun.com/j2se/1.4.2/docs/api/javax/imageio/metadata/doc- files/jpeg_metadata.html

IMHO, the ImageIO package is over-engineered yet incomplete, not to mention a fairly dense API to learn.


Much better is:

	http://www.drewnoakes.com/code/exif/

Of the top of my head, I don't recall whether it handles the JPEG comment field specifically, however.

- Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Image.getProperty() and JPEG files (From: Kerry Shetline <email@hidden>)
 >Re: Image.getProperty() and JPEG files (From: Jerry <email@hidden>)



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.