Modify

Opened 4 months ago

Closed 4 months ago

#15749 closed enhancement (wontfix)

Support opening JPEG 2000 files

Reported by: naoliv Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: jpeg2000 jpeg2k Cc:

Description

Is it possible to also support opening JPEG 2000 files, exactly like we already can open GeoTIFFs?
For example, Sentinel-2 images from https://earthexplorer.usgs.gov/ are distributed as JPEG 2000 files (.jp2)

JOSM:

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-01-08 02:45:59 +0100 (Mon, 08 Jan 2018)
Revision:13300
Build-Date:2018-01-08 01:49:06
URL:http://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (13300 pt_BR) Linux Debian GNU/Linux testing (buster)
Memory Usage: 796 MB / 7168 MB (375 MB allocated, but free)
Java version: 9.0.1+11-Debian-1, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1600x900, :0.1 1280x1024
Maximum Screen Size: 1600x1024
Java package: openjdk-9-jre:amd64-9.0.1+11-1
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-13
VM arguments: [--add-modules=java.activation,java.se.ee, -Dawt.useSystemAAFontSettings=on]

Attachments (0)

Change History (1)

comment:1 Changed 4 months ago by Don-vip

Keywords: jpeg2000 jpeg2k added
Resolution: wontfix
Status: newclosed

Supporting JPEG 2000 is not an easy task:

  1. It is not supported natively by the JDK (only BMP, GIF, JPEG, PNG, TIFF and WBMP are)
  2. Oracle does not plan to add support for JPEG 2000
  3. Sun created a plugin to decode it in JAI long time ago, but JAI is no longer supported by Oracle
  4. Almost all libraries decoding this format are written in C/C++ so this requires wrappers to use them.
  5. The only Java library I found (BOI) uses a weird licence

See #14921 for Sentinel-2 support, but this would need we get images in a more conventional format.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.