Task #5092 (new)
Opened 13 years ago
Last modified 11 years ago
Update JIMI service to handle JPEG streams with DNL markers — at Initial Version
Reported by: | mlinkert | Owned by: | mlinkert |
---|---|---|---|
Priority: | critical | Milestone: | OMERO-Beta4.3 |
Component: | Bio-Formats | Version: | n.a. |
Keywords: | n.a. | Cc: | philippe.mailly@…, smithd@…, taewooko@…, andreas.dander@…, Richard.Ingram@…, qn.trinh-xuan@…, kim.linton@…, anitha.kannan@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 1.0d |
Sprint: | 2011-05-05 (11) |
Description
DNL markers and what to do about them are explained nicely here: http://www4.informatik.uni-erlangen.de/Services/Doc/graphics/doc/jpeg/structure.html.
Java's native JPEG support conveniently does not support DNL markers, so it seems like the sensible solution is to pre-process the JPEG stream to strip out any DNL markers (and update the SOF markers) before passing the stream off to JIMI and the native JPEG decoder.