Skip to main content

[JAI-IMAGEIO] ClibPngImageReader getWidth/getHeight

3 replies [Last post]
Anonymous

Hi,
I'm trying to look into a problem I have had with JAI and
PNG. Basically it seems the ClibPngImageReader, in contrast
to the pure java one shipped with java, is not able to
grab the width and height of an image without reading
its full contents in memory.

The CLibJPEGImageReader for example buils a fake image
(the "info image") in order to grab the same information
without having to actually decode the jpeg contents.
The pure java PNGImageReader can do the same by reading
the image headers.

I'm wondering if there is any specific reason why the clib
version cannot be as smart.
Cheers
Andrea

---------------------------------------------------------------------
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.
James Cheng

Hi Andrea,

> I'm wondering if there is any specific reason why the clib
> version cannot be as smart.

Please feel free to file an issue (ENHANCEMENT) against
jai-imageio-core/codeclib for this.

Thanks,
-James

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

Andrea Aime

James Cheng ha scritto:
> Hi Andrea,
>
>> I'm wondering if there is any specific reason why the clib
>> version cannot be as smart.
>
> Please feel free to file an issue (ENHANCEMENT) against
> jai-imageio-core/codeclib for this.

Done: https://jai-imageio-core.dev.java.net/issues/show_bug.cgi?id=166

Cheers
Andrea

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

James Cheng

On 2007/12/26 08:09 AM, Andrea Aime wrote:
> Done: https://jai-imageio-core.dev.java.net/issues/show_bug.cgi?id=166

Thanks,
-James

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