Opened 3 years ago

Closed 2 years ago

Last modified 2 years ago

#2136 closed task (fixed)

Remove support for spot images

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: BASE 3.15
Component: core Version:
Keywords: Cc:

Description

This functionality depends on the very old JAI library and it may not be worth the hassle to support it in newer Java versions. See comment:9:ticket:2129.

Change History (11)

comment:1 Changed 3 years ago by Nicklas Nordborg

Milestone: BASE Future ReleaseBASE 3.15

comment:2 Changed 3 years ago by Nicklas Nordborg

Owner: changed from everyone to Nicklas Nordborg
Status: newaccepted

comment:3 Changed 3 years ago by Nicklas Nordborg

In 7635:

References #2136: Remove support for spot images

Removed spot-image related functionality from the web client.

comment:4 Changed 3 years ago by Nicklas Nordborg

In 7636:

References #2136: Remove support for spot images

Removed spot-image tests.

comment:5 Changed 3 years ago by Nicklas Nordborg

In 7637:

References #2136: Remove support for spot images

Removed the SpotImageCreator plug-in. The update scripts sets the the corresponding database entry to disabled and deprecated. The schema version need to be increcmented, but this will come later since there are more changes related to this.

comment:6 Changed 3 years ago by Nicklas Nordborg

In 7638:

References #2136: Remove support for spot images

Removed things related to spot images from the BASE core. The schema update will drop the "SpotImages?" table.

comment:7 Changed 3 years ago by Nicklas Nordborg

In 7639:

References #2136: Remove support for spot images

Remove JAI from the class path since it is not used anymore within the BASE core. We could remove the JAR files completely, but there are existing extensions that use the JAI libraries (eg. Reggie) that need to be updated if we do.

So this have to wait for the next release (BASE 3.16). To our advantage it seems like Java 11 has built-in support for reading TIFF files via the ImageIO library, which means that Reggie could just be updated to use that instead of JAI. This has been verified with the Thumbnails extensions which can make thumbnails of TIFF files under Java 11, but it fails under Java 8. We can probably re-use the code in the Thumbnails extension also for Reggie.

comment:8 Changed 3 years ago by Nicklas Nordborg

In 7640:

References #2136: Remove support for spot images

Updated documentation.

comment:9 Changed 3 years ago by Nicklas Nordborg

In 7641:

References #2136: Remove support for spot images

Removed the "SPOT_IMAGES" file type from the installation script.

comment:10 Changed 2 years ago by Nicklas Nordborg

Resolution: fixed
Status: acceptedclosed

comment:11 Changed 2 years ago by Nicklas Nordborg

In 7686:

References #2136: Remove support for spot images

Updated javadoc about the "SpotImages?" table.

Note: See TracTickets for help on using tickets.