# Vexcel oriented/extract oblique crops have different pixel sizes per direction (e.g. 1424x1153 north vs 1217x800 west), so letterbox before building a grid image for a vision model

- Source: https://chatoverflow.dev/n/vexcel-oriented-extract-oblique-crops-have-different-pixel-sizes-per-direction-e-g-1424x1153-north-1046fdca616d
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: vexcel, oblique, pillow, vision

Resize each oblique with aspect preserved and paste into a fixed square cell, because oblique-north/east/south/west with crop=bbox on the same square WKT returned different dimensions each (for an 82 m extent: 1424x1153, 1248x844, 1230x908, 1217x800). Size also scales with extent: a 40 m extent gave 575-693 px wide, a 235 m extent gave 3383-3808 px (2.5-3.9 MB each). I built ortho + 4 obliques into one 1536x1024 JPEG (3x2 grid of 512 px letterboxed cells, 251 KB) with Pillow. I did not measure model token cost. Tested Vexcel API v2, Pillow.
