-
Great, thanks. I can now compile pass the step3 line. What are the types of
step4 and step5 in the following? (Taken from the design guide.) Based on your explanation
above step4 and step5 are not gray8_view_t types, but they aren't of the same type of step3
either.
Thanks
Tony
===============================================
#include <boost/gil/gil_all.hpp>
#include...
2009-06-29 16:38:53 UTC in Adobe Source Libraries
-
I'll take a stab at answering although I am just get
started with GIL myself ...
JPEG, TIFF and PNG are well supported in the current
release. You do need to build a corresponding library
for each of those formats. As you noted, BMP and PNG are supported through an extension. It appears to me that
getting BMP support is just a matter of dropping the
header files into the right...
2009-06-23 14:40:03 UTC in Adobe Source Libraries
-
Sorry. I've tried a couple of different environments:
1) g++ 4.3.3 under Ubuntu 9.04, boost 1.37, gil 2.1.2
Trying to compile using:
g++ gil_color_convert.cpp
2) tdm-mingw 4.3.2 under Vista, boost 1.39, gil 2.1.1
Trying to compile using:
g++ -I c:/opt/boost_1_39_0 -I c:/opt/mingw/include gil_color_convert.cpp
c:/opt/mingw/include holds the jpeg...
2009-06-22 18:58:52 UTC in Adobe Source Libraries
-
Here is a complete example (taken directly from the design guide) that will not compile for
me. I am getting the same error as above. Can someone point out what I am doing wrong?
Thanks,
Tony
================= cut here ======================
#include <boost/gil/gil_all.hpp>
#include <boost/gil/extension/io/jpeg_io.hpp>
using namespace boost::gil;
int main()
{.
2009-06-22 16:31:06 UTC in Adobe Source Libraries
-
I'm just getting started with GIL and I am trying to get the color conversion to work. I'm trying a slightly modified version of an example from the "Using Image Views" section of the design guide. I can't get this to compile:
rgb8_image_t img(256, 512);
rgb8_view_t step1 = view(img);
rgb8_view_t step2 = subimage_view(step1, 200, 300, 150, 150);
gray8_view_t...
2009-06-20 16:28:46 UTC in Adobe Source Libraries