Opened 5 years ago

Closed 5 years ago

Last modified 5 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 by Nicklas Nordborg, 5 years ago

Milestone: BASE Future ReleaseBASE 3.15

comment:2 by Nicklas Nordborg, 5 years ago

Owner: changed from everyone to Nicklas Nordborg
Status: newaccepted

comment:3 by Nicklas Nordborg, 5 years ago

In 7635:

References #2136: Remove support for spot images

Removed spot-image related functionality from the web client.

comment:4 by Nicklas Nordborg, 5 years ago

In 7636:

References #2136: Remove support for spot images

Removed spot-image tests.

comment:5 by Nicklas Nordborg, 5 years ago

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 by Nicklas Nordborg, 5 years ago

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 by Nicklas Nordborg, 5 years ago

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 by Nicklas Nordborg, 5 years ago

In 7640:

References #2136: Remove support for spot images

Updated documentation.

comment:9 by Nicklas Nordborg, 5 years ago

In 7641:

References #2136: Remove support for spot images

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

comment:10 by Nicklas Nordborg, 5 years ago

Resolution: fixed
Status: acceptedclosed

comment:11 by Nicklas Nordborg, 5 years ago

In 7686:

References #2136: Remove support for spot images

Updated javadoc about the "SpotImages" table.

Note: See TracTickets for help on using tickets.