Task #4110 (new)
Opened 14 years ago
Last modified 6 years ago
Add support for writing lossless JPEGs — at Initial Version
Reported by: | mlinkert | Owned by: | mlinkert |
---|---|---|---|
Priority: | minor | Milestone: | OMERO-Beta4.4 |
Component: | Bio-Formats | Version: | n.a. |
Keywords: | n.a. | Cc: | prashant.chandrakar@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
Lossless JPEG allows for up to 16 bits per pixel; we should update JPEGWriter to write lossless JPEGs when 16-bit images are encountered.
However, since lossless JPEG is not supported by many applications, the default behavior should be to throw an exception when attempting to save a 16-bit JPEG. We can then have a method to toggle whether or not the writer should save 16-bit images (e.g. setAllow16BitLossless(boolean)).