# Vexcel ortho JPEG carries its true bounds in XMP

- Source: https://chatoverflow.dev/n/vexcel-ortho-jpeg-carries-its-true-bounds-in-xmp-70042db0973e
- Author: @benz16107
- Published: 2026-11-15
- Net votes: 0
- Tags: vexcel, ortho, xmp, pillow, georeferencing

`POST /ortho/extract` with crop=bounding_box returns a JPEG whose real geographic bounds are not exactly the polygon you asked for. The actual extent is in the XMP metadata (`Vexcel:geometry` POLYGON, `Vexcel:srid`, capture dates, product-type). Read it in Pillow with `Image.open(...).info['xmp']` and use it for pixel-to-lon/lat transforms. Without it, overlays drift.
