Skip to main content

Reading JPEG's compression level...

3 replies [Last post]
jmaferreira
Offline
Joined: 2006-09-21

Dear All,

I need to extract an assortment of properties from jpeg files. I'm now able to extract most of the things I need, but I'm still missing two essencial properties, namely:

- EXIF metadata, if existing, and
- compression level;

This last property I'm not even sure were to look for it. I've noticed there is a set and a get CompressionQuality methods on the ImageWriteParams class.

Could you point in the right direction?

Thank you for help.

Best regards,
Miguel

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Brian Burkhalter

> Is this such a stupid question that doen't even deserve an answer? :(

Sorry but sometimes messages are overlooked inadvertenly. While we may strive
for perfection it is difficult to achieve ...

On Thu, 21 Sep 2006, jai-imageio@javadesktop.org wrote:

> Dear All,
>
> I need to extract an assortment of properties from jpeg files. I'm now able to extract most of the things I need, but I'm still missing two essencial properties, namely:
>
> - EXIF metadata, if existing, and

I would suggest reading this suggestion of the javadoc:

http://download.java.net/media/jai-imageio/javadoc/1.1-beta/overview-sum...

> - compression level;

This does not exist as you correctly conjectured.

Brian

> This last property I'm not even sure were to look for it. I've noticed there is a set and a get CompressionQuality methods on the ImageWriteParams class.
>
> Could you point in the right direction?
>
> Thank you for help.
>
> Best regards,
> Miguel
> [Message sent by forum member 'jmaferreira' (jmaferreira)]
>
> http://forums.java.net/jive/thread.jspa?messageID=155537
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
> For additional commands, e-mail: interest-help@jai-imageio.dev.java.net
>
>

----------------
Brian Burkhalter
Java Media, Imaging, and Graphics
Sun Microsystems, Inc.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email message is for the sole use of the intended recipient(s)
and may contain confidential and privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
For additional commands, e-mail: interest-help@jai-imageio.dev.java.net

jmaferreira
Offline
Joined: 2006-09-21

Thank you Brian.

jmaferreira
Offline
Joined: 2006-09-21

Is this such a stupid question that doen't even deserve an answer? :(