Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #13098 (new)

Opened 8 years ago

Last modified 8 years ago

BUG: JPEG Reader (Could not determine subsample type)

Reported by: bramalingam Owned by:
Priority: minor Milestone: Unscheduled
Component: Bio-Formats Version: BIo-Formats-5.1.5
Keywords: turbojpeg, JPEGReader Cc: a.ostrowski@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

ref: QA16891 - QA16894

loci.formats.cache.CacheException: java.io.IOException: tjDecompressHeader2(): Could not determine subsampling type for JPEG image
	at loci.plugins.util.ImageProcessorSource.getObject(ImageProcessorSource.java:78)
	at loci.formats.cache.Cache.recache(Cache.java:204)
	at loci.formats.cache.Cache.recache(Cache.java:224)
	at loci.formats.cache.Cache.<init>(Cache.java:88)
	at loci.plugins.util.BFVirtualStack.<init>(BFVirtualStack.java:126)
	at loci.plugins.in.ImagePlusReader.createVirtualStack(ImagePlusReader.java:331)
	at loci.plugins.in.ImagePlusReader.readImage(ImagePlusReader.java:276)
	at loci.plugins.in.ImagePlusReader.readImages(ImagePlusReader.java:238)
	at loci.plugins.in.ImagePlusReader.readImages(ImagePlusReader.java:216)
	at loci.plugins.in.ImagePlusReader.openImagePlus(ImagePlusReader.java:111)
	at loci.plugins.in.Importer.readPixels(Importer.java:146)
	at loci.plugins.in.Importer.run(Importer.java:85)
	at loci.plugins.LociImporter.run(LociImporter.java:78)
	at ij.IJ.runUserPlugIn(IJ.java:212)
	at ij.IJ.runPlugIn(IJ.java:176)
	at ij.Executer.runCommand(Executer.java:132)
	at ij.Executer.run(Executer.java:65)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: tjDecompressHeader2(): Could not determine subsampling type for JPEG image
	at loci.formats.services.JPEGTurboServiceImpl.getTile(JPEGTurboServiceImpl.java:332)
	at loci.formats.services.JPEGTurboServiceImpl.getTile(JPEGTurboServiceImpl.java:238)
	at loci.formats.in.TileJPEGReader.openBytes(TileJPEGReader.java:85)
	at loci.formats.DelegateReader.openBytes(DelegateReader.java:225)
	at loci.formats.ChannelFiller.openBytes(ChannelFiller.java:156)
	at loci.formats.ChannelFiller.openBytes(ChannelFiller.java:148)
	at loci.formats.ChannelSeparator.openBytes(ChannelSeparator.java:196)
	at loci.formats.ChannelSeparator.openBytes(ChannelSeparator.java:157)
	at loci.formats.ReaderWrapper.openBytes(ReaderWrapper.java:335)
	at loci.formats.DimensionSwapper.openBytes(DimensionSwapper.java:233)
	at loci.formats.ReaderWrapper.openBytes(ReaderWrapper.java:335)
	at loci.formats.ReaderWrapper.openBytes(ReaderWrapper.java:335)
	at loci.plugins.util.ImageProcessorReader.openProcessors(ImageProcessorReader.java:186)
	at loci.plugins.util.ImageProcessorReader.openProcessors(ImageProcessorReader.java:83)
	at loci.plugins.util.ImageProcessorSource.getObject(ImageProcessorSource.java:72)
	... 17 more
Caused by: java.lang.Exception: tjDecompressHeader2(): Could not determine subsampling type for JPEG image
	at org.libjpegturbo.turbojpeg.TJDecompressor.decompressHeader(Native Method)
	at org.libjpegturbo.turbojpeg.TJDecompressor.setJPEGImage(TJDecompressor.java:113)
	at org.libjpegturbo.turbojpeg.TJDecompressor.<init>(TJDecompressor.java:82)
	at loci.formats.services.JPEGTurboServiceImpl.getTile(JPEGTurboServiceImpl.java:324)
	... 31 more


Change History (2)

comment:1 Changed 8 years ago by mlinkert

  • Keywords turbojpeg JPEGReader added
  • Owner mlinkert deleted

Probably worth seeing if updating components/forks/turbojpeg to be in line with the latest libjpeg-turbo release (see https://github.com/libjpeg-turbo/libjpeg-turbo) helps. Note that ImageMagick? doesn't seem to read these files correctly either (I see all black images), but eog on Linux shows plausible-looking figures with gels (haven't tried on Windows/Mac?).

comment:2 Changed 8 years ago by sbesson

  • Milestone changed from B-F-5.2.0 to Unscheduled

Turbojpeg will not be upgraded for 5.2.0. Pushing away from this milestone

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.64326 sec.)

We're Hiring!