﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
20813	Modernize org.openstreetmap.josm.gui.layer.geoimage.ImageDisplay	simon04	simon04	"1. ImageDisplay is using java.awt.MediaTracker.

According to https://stackoverflow.com/a/7369580/205629 (written in 2010):

> MediaTracker was useful in 1995. Back then the primary GUI use of java was Applets, and Applets would usually load images slowly over the network. 
> ...
> These days you can typically load images synchronously, and it is best to use ImageIO.

2. ImageDisplay creates a new thread for each image to be loaded. We can use `MainApplication.worker`

attachment:20813-alpha.patch​ contains 1. + 2.

3. Omit rescaling via `ImageProvider.toBufferedImage` and `ImageProvider.createScaledImage`? When zapping through images, approx. 50% of heap allocations are due to `ImageIO.read()` and approx. 50% are due to `ImageProvider.toBufferedImage`/`ImageProvider.createScaledImage`."	enhancement	assigned	normal	21.04	Core image mapping				Don-vip taylor.smock Bjoeni
