|
Boost Users : |
Subject: [Boost-users] [GIL] Inspecting any_image
From: Szymon Gatner (szymon.gatner_at_[hidden])
Date: 2010-12-26 20:39:01
Is it possible to find out which of allowed image formats any_image
actually has?
For example, if image is loaded with code provided in dynamic_image.cpp:
typedef boost::mpl::vector<gray8_image_t, rgb8_image_t,
gray16_image_t, rgb16_image_t> my_images_t;
any_image<my_images_t> dynamic_img;
jpeg_read_image("test.jpg",dynamic_img);
how to figure out which colorspace / layout loaded image have?
-- Szymon Gatner
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net