Code: Select all
Video input : 0 (Camera 1: ok)
Format Video Capture:
Width/Height : 640/480
Pixel Format : 'YUYV'
Field : None
Bytes per Line: 1280
Size Image : 614400
Colorspace : SRGB
Flags :
Code: Select all
Magick::Blob blob( buffer, buffer_len );
Magick::Image img;
img.size( Magick::Geometry(640, 480) );
img.magick( "YUYV" );
img.read( blob );
img.write( "test.jpg" );
Code: Select all
terminate called after throwing an instance of 'Magick::ErrorMissingDelegate'
what(): Magick: no decode delegate for this image format `YUYV' @ error/blob.c/BlobToImage/361
Code: Select all
img.magick( "UYVY" );
Anyone have insight into what I'm doing wrong? In case it is relevant, I also ran into a problem including Magick++.h:
Code: Select all
/usr/include/ImageMagick-6/magick/magick-config.h:29:3: warning: #warning "you should set MAGICKCORE_QUANTUM_DEPTH to sensible default set it to configure time default" [-Wcpp]
# warning "you should set MAGICKCORE_QUANTUM_DEPTH to sensible default set it to configure time default"