[ 
https://issues.apache.org/jira/browse/IMAGING-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17428230#comment-17428230
 ] 

Gary Lucas edited comment on IMAGING-194 at 10/13/21, 2:27 PM:
---------------------------------------------------------------

Does anyone have some manageable-sized, public domain files that we can use to 
develop/test this capability?

Does anyone have a current need for this feature?

Through my job, I've got some interest in accessing JPEG based TIFFs.  The U.S. 
National Weather Service has started posting some satellite images as GeoTIFFs 
containing JPEG-formatted data. I will be investigating the level-of-effort for 
implementing the ability to read such files. But the task may be out-of-scope 
for what I am willing to take on unless there are a significant number of 
people interested in the feature.

You can find the satellite images of interest at 

[GOES-East - Latest CONUS Images - NOAA / NESDIS / 
STAR|https://www.star.nesdis.noaa.gov/GOES/conus.php?sat=G16]

and 

[GOES Imagery Viewer - NOAA / NESDIS / 
STAR|https://www.star.nesdis.noaa.gov/GOES/]

Some of the satellite-derived imagery is really quite beautiful.


was (Author: gwlucas):
Does anyone have some manageable-sized, public domain files that we can use to 
develop/test this capability?

> Tiff with JPEG,Zip compression fails to decompress
> --------------------------------------------------
>
>                 Key: IMAGING-194
>                 URL: https://issues.apache.org/jira/browse/IMAGING-194
>             Project: Commons Imaging
>          Issue Type: Improvement
>          Components: Format: TIFF
>    Affects Versions: 1.0-alpha1
>            Reporter: Satya Deep Maheshwari
>            Priority: Major
>
> Tiff with JPEG, Zip compression  fails to decompress with the below exception:
> {code}
> org.apache.commons.imaging.ImageReadException: Tiff: unknown/unsupported 
> compression: 7
>       at 
> org.apache.commons.imaging.formats.tiff.datareaders.DataReader.decompress(DataReader.java:215)
>       at 
> org.apache.commons.imaging.formats.tiff.datareaders.DataReaderStrips.readImageData(DataReaderStrips.java:210)
>       at 
> org.apache.commons.imaging.formats.tiff.TiffImageParser.getBufferedImage(TiffImageParser.java:650)
>       at 
> org.apache.commons.imaging.formats.tiff.TiffDirectory.getTiffImage(TiffDirectory.java:157)
>       at 
> org.apache.commons.imaging.formats.tiff.TiffImageParser.getBufferedImage(TiffImageParser.java:463)
>       at 
> org.apache.commons.imaging.Imaging.getBufferedImage(Imaging.java:1407)
>       at 
> org.apache.commons.imaging.Imaging.getBufferedImage(Imaging.java:1370)
> {code}
> From the 
> [documentation|https://commons.apache.org/proper/commons-imaging/formatsupport.html]
>  , it seems this compression format is not supported. Excerpt from the 
> document below:
> {quote}
> Supported through version 6.0. TIFFs is a open-ended container format, so 
> it's not possible to support every possibly variation. Supports Bi-Level, 
> Palette/Indexed, RGB, CMYK, YCbCr, CIELab and LOGLUV images. Supports reading 
> and writing LZW, CCITT Modified Huffman/Group 3/Group 4, and Packbits/RLE 
> compression. Notably missing other forms of compression though, including 
> JPEG. Supports reading Tiled images.
> {quote}
> This ticket is logged to add JPEG/Zip compression format support.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to