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 #4110 (closed)

Opened 11 years ago

Closed 3 years ago

Add support for writing lossless JPEGs

Reported by: mlinkert Owned by:
Priority: minor Milestone: Unscheduled
Component: Bio-Formats Version: OMERO-5.2.0
Keywords: export, codec Cc: prashant.chandrakar@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description (last modified by mlinkert)

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)).

Change History (5)

comment:1 Changed 10 years ago by jmoore

imported from bio-formats:#376

comment:2 Changed 10 years ago by mlinkert

  • Description modified (diff)
  • Milestone changed from OMERO-Beta4.4 to Unscheduled

comment:3 Changed 9 years ago by mlinkert

  • Keywords export added

comment:4 Changed 5 years ago by mlinkert

  • Keywords codec added
  • Owner mlinkert deleted
  • Version set to OMERO-5.2.0 is probably relevant, but I'd also be OK with closing this as wontfix given the poor uptake of JPEG-LS (especially compared with lossless JPEG-2000, which we do support).

comment:5 Changed 3 years ago by mlinkert

  • Resolution set to needfunding
  • Status changed from new to closed

As far as I can tell, there is no existing Java library to do this across all supported platforms. JAI 1.1.2 out of the box does not register a lossless JPEG writer on my local Linux system. Obvious projects flagged for watching via Trello also do not appear to support lossless or JPEG-LS writing:

The closest I can find to a working open source library is, which is in C++. Unless any better ideas, I assume this would require a project similar to what was done for JPEG-XR via jxrlib, which requires significant interest and funding.

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.78223 sec.)

We're Hiring!