1 | initial version |
just a note : when you compile OpenCV with GDAL support you can open a gif file like
image = imread( inputImage, IMREAD_LOAD_GDAL);
2 | No.2 Revision |
just a note : when the answer is YES if you compile OpenCV with GDAL support support.
In the case you can open a gif file likeset WITH_GDAL flag to true in CMake and IMREAD_LOAD_GDAL to load the image, then GDAL driver will be used in order to decode the image by supporting the following formats: Raster,Vector.
image = imread( inputImage, IMREAD_LOAD_GDAL);
3 | No.3 Revision |
the answer is YES if you compile OpenCV with GDAL support.
In the case you set WITH_GDAL flag to true in CMake and IMREAD_LOAD_GDAL to load the image, then GDAL driver will be used in order to decode the image by supporting the following formats: Raster,Vector.
image = imread( inputImage, IMREAD_LOAD_GDAL);
another way ( simplier ) use VideoCapture to open gif image