Search found 4 matches

by stephanecharette
2016-07-28T13:04:45-07:00
Forum: Users
Topic: writing files with Magick++
Replies: 1
Views: 1470

writing files with Magick++

When writing files with Magick::Image::write(), how are options set? For example, if I have the following: Magick::Image img; // do something here to populate img img.write( "test.jpg" ); Is there a way to specify the quality of the JPG file? Or if it should be progressive? Or a comment to store in ...
by stephanecharette
2016-07-28T12:33:49-07:00
Forum: Users
Topic: Magick++ and YUYV
Replies: 4
Views: 3253

Re: Magick++ and YUYV

fmw42 wrote:...does not list a YUYV format. So I am not sure IM understands that. I have never heard of that format. But I know little about such. Is that a special version of YUV?
YUY2 aka YUNV aka V422 aka YUYV: http://www.fourcc.org/yuv.php#YUYV
by stephanecharette
2016-07-28T10:41:25-07:00
Forum: Users
Topic: Magick++ and YUYV
Replies: 4
Views: 3253

Re: Magick++ and YUYV

I'm not trying to get video. I'm using it as a still camera. I can read the image, now all I need is a way to interpret the bytes. As for "the build is bad" -- this is exactly how it installed when I ran "sudo apt-get install libmagick++-dev". The Debian repo is like this, I did not build from ...
by stephanecharette
2016-07-28T09:49:53-07:00
Forum: Users
Topic: Magick++ and YUYV
Replies: 4
Views: 3253

Magick++ and YUYV

Using magick++6.q16-5 on Debian running on ARM7 device. Reading from V4L2 (Video 4 Linux 2) USB camera, the input stream identifies itself as follows: Video input : 0 (Camera 1: ok) Format Video Capture: Width/Height : 640/480 Pixel Format : 'YUYV' Field : None Bytes per Line: 1280 Size Image ...