always decide on image file extension

instead of choosing jp2

Signed-off-by: Sebastian Schüpbach <sebastian.schuepbach@unibas.ch>
2 jobs for master in 1 minute and 46 seconds (queued for 1 second)