﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
20341	[Patch] Support more image formats	Bjoeni	team	"I think JOSM should support more image formats than just JPEG.

The attached patch determines the image file formats that are supported by the client system / the java version and the metadata library. It allows opening them through `javax.ImageIO`.

E.g. on Java 8 JOSM then allows opening `*.bmp,*.gif,*.jpg,*.jpeg,*.png`, on Java 11 also `*.tif,*.tiff`. I'm unsure if there are any other formats available / unavailable in other versions/systems but the script should be able to deal with that accordingly.

I had to remove some compiler exclusions in the `build.xml` of the metadata-extractor library (for the `FileTypeDetector`) which results in a ~120kb larger dist (.jar). I can try to strip that further down, but I would have to implement each format manually which could result in further problems and would also not be flexible in case future Java versions (or plugins) support more image formats. So I think it makes sense to rely on the existing library at the cost of a few kb.

--

Also attached is a patch for the plugin photo_geotagging which enables writing metadata to both JPEG and TIFF files and warns in case other unsupported formats are present."	enhancement	closed	normal	21.02	Core image mapping		fixed	java11	stoecker
