Hi, I needed to be able to arbitrarily crop an RGB image. It turns out that imgconvert.c:av_picture_crop() only crops planar YUV formats (returns an error if !is_yuv_planar). Would it be welcome to send a patch to support more pixel formats? At the very least, I made it work with RGB565 data. -- -Mike Melanson