commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shadab <>
Subject [sanselan]
Date Mon, 04 Jul 2011 21:21:22 GMT

I get the exception could not read the block when I try to get metadata from images. Could not read block (block start: 31742, block length: 53177352, data
length: 25713).
    at org.apache.sanselan.common.byteSources.ByteSourceArray.getBlock(
    at org.apache.sanselan.formats.tiff.TiffReader.getTiffRawImageData(
    at org.apache.sanselan.formats.tiff.TiffReader.readDirectory(
    at org.apache.sanselan.formats.tiff.TiffReader.readDirectory(
    at org.apache.sanselan.formats.tiff.TiffReader.readDirectories(
    at org.apache.sanselan.formats.tiff.TiffReader.readContents(
    at org.apache.sanselan.formats.tiff.TiffImageParser.getMetadata(
    at org.apache.sanselan.ImageParser.getMetadata(
    at org.apache.sanselan.formats.jpeg.JpegImageParser.getExifMetadata(
    at org.apache.sanselan.formats.jpeg.JpegImageParser.getMetadata(
    at org.apache.sanselan.Sanselan.getMetadata(
    at org.apache.sanselan.Sanselan.getMetadata(
    at org.apache.sanselan.Sanselan.getMetadata(

There is also an issue for it

I wonder if anybody solve this issue or knows a workaround or can recommend any other libraries
(except Tika ) that I can use to extract XMP EXIF and other metadata from images.

Many thanks and please answer quickly

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message