> convert: 12-bit JPEG not supported. Reducing pixel JPEG supports 8 and 12-bit samples. By default JPEG is 8-bit. You must enable 12-bit support by changing jmorecfg.h so that BITS_IN_JSAMPLE is 12.