A Xquery package to extract image metadata as XML using the drewnoakes library http://drewnoakes.com/code/exif/.  The o/p format is the same as xmlcalash metadata extension.   BaseX 7.7 or greater is required.