Skip to main content

[JAI-IMAGEIO] Is the source to the ImageIO Java JPEG decoder available?

6 replies [Last post]
Anonymous

Like the subject says, is the source to the JPEG decoder available?

There is a possible project that I may possibly be involved with that
might benefit from using ImageIO's JPEG decoder as a starting
point. It's all up in the air -- just checking possible resources.

Ken

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

Reply viewing options

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

Examining the potential task (which I shouldn't be more specific about)
it turns out that I won't need source.

What I will need is JFIF support. I haven't had the time to look though
the ImageIO docs for this. So can I ask here if ImageIO has an
interface to retrieve JFIF tags from a JPEG image. I'll be looking
through the docs in about an hour so ...

robert engels wrote:
> Maybe if you described what you were trying to accomplish...
>
> All decoders in ImageIO end up extending ImageReader.
>
>

---------------------------------------------------------------------
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

On Thu, 4 Oct 2007, Ken Warner wrote:

> Examining the potential task (which I shouldn't be more specific about) it
> turns out that I won't need source.
>
> What I will need is JFIF support. I haven't had the time to look though the
> ImageIO docs for this. So can I ask here if ImageIO has an interface to
> retrieve JFIF tags from a JPEG image. I'll be looking through the docs in
> about an hour so ...

Yes, via the JPEG image metadata. See the package javadoc in
javax.imageio.metadata for more information.

> robert engels wrote:
>> Maybe if you described what you were trying to accomplish...
>>
>> All decoders in ImageIO end up extending ImageReader.
>>
>>
>
> ---------------------------------------------------------------------
> 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

robert engels

It is based on libjpeg from the jpeg group which is available.

On Oct 4, 2007, at 2:51 PM, Ken Warner wrote:

> Like the subject says, is the source to the JPEG decoder available?
>
> There is a possible project that I may possibly be involved with
> that might benefit from using ImageIO's JPEG decoder as a
> starting point. It's all up in the air -- just checking possible
> resources.
>
> Ken
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
> For additional commands, e-mail: interest-help@jai-
> imageio.dev.java.net
>

---------------------------------------------------------------------
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

The JAI Image I/O Tools JPEG reader is ultimately implemented in native code
and no native code for this project is yet available.

Robert's comment is apt at least w.r.t. the Java SE JPEG reader
implementation.

Brian

On Thu, 4 Oct 2007, Ken Warner wrote:

> Like the subject says, is the source to the JPEG decoder available?
>
> There is a possible project that I may possibly be involved with that might
> benefit from using ImageIO's JPEG decoder as a starting point. It's all
> up in the air -- just checking possible resources.

>^..^< >^..^<

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

Ken Warner

Humm... Is there a wrapper class or interface to the native code?

My thought here is to make what I do absolutely compatible and
integrated into the SE JRE so that
I can extend the existing classes to suit my purpose. I don't want to
reinvent the wheel.

I'm fumbling for terms here because I haven't really looked at any
source. Where would I start looking
to get a better picture of the structure and implementation of the JPEG
decoder with the understanding that
the heavy lifting is done in native code which I can get an
approximation of from libjpeg.

I'm just groping for information here....

Brian Burkhalter wrote:
> The JAI Image I/O Tools JPEG reader is ultimately implemented in
> native code and no native code for this project is yet available.
>
> Robert's comment is apt at least w.r.t. the Java SE JPEG reader
> implementation.
>
> Brian
>
> On Thu, 4 Oct 2007, Ken Warner wrote:
>
>> Like the subject says, is the source to the JPEG decoder available?
>>
>> There is a possible project that I may possibly be involved with that
>> might benefit from using ImageIO's JPEG decoder as a starting
>> point. It's all up in the air -- just checking possible resources.
>
>> ^..^< >^..^<
>
> 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
>
>
>

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

robert engels

Maybe if you described what you were trying to accomplish...

All decoders in ImageIO end up extending ImageReader.

On Oct 4, 2007, at 3:43 PM, Ken Warner wrote:

> Humm... Is there a wrapper class or interface to the native code?
>
> My thought here is to make what I do absolutely compatible and
> integrated into the SE JRE so that
> I can extend the existing classes to suit my purpose. I don't want
> to reinvent the wheel.
>
> I'm fumbling for terms here because I haven't really looked at any
> source. Where would I start looking
> to get a better picture of the structure and implementation of the
> JPEG decoder with the understanding that
> the heavy lifting is done in native code which I can get an
> approximation of from libjpeg.
>
> I'm just groping for information here....
>
> Brian Burkhalter wrote:
>> The JAI Image I/O Tools JPEG reader is ultimately implemented in
>> native code and no native code for this project is yet available.
>>
>> Robert's comment is apt at least w.r.t. the Java SE JPEG reader
>> implementation.
>>
>> Brian
>>
>> On Thu, 4 Oct 2007, Ken Warner wrote:
>>
>>> Like the subject says, is the source to the JPEG decoder available?
>>>
>>> There is a possible project that I may possibly be involved with
>>> that might benefit from using ImageIO's JPEG decoder as a
>>> starting point. It's all up in the air -- just checking possible
>>> resources.
>>
>>> ^..^< >^..^<
>>
>> 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
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai-imageio.dev.java.net
> For additional commands, e-mail: interest-help@jai-
> imageio.dev.java.net
>

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