Questions tagged [c-api]
154 questions
-2
votes
1 answer
Imagemagick c api : How to read png image frmaes from gif file , what calls to use
So I created gif file from 5 png files with using MagickCoalesceImages call and store it on disk.
How I can read these files back from gif file ?
MagickReadImage does not help

Narek yan
- 37
- 6
-2
votes
1 answer
Call C header file functions in a Python module
I need to convert cfgmgr32 api header(cfgmgr.h) from C to a python module. So that I can call any the C header functions from other python script

Moana
- 11
- 1
- 3
-3
votes
1 answer
error: base operand of ‘->’ has non-pointer type ‘cv::Mat’
i have a c-Api opencv project and i want to change into c++ (mat)
see this original code :
current_cost = 0;
basePtr = (unsigned char*)tmp1->imageData;
for( int j=0; jheight; basePtr += tmp1->widthStep, j++ )
{
iterator = basePtr;
…

Mazyar123
- 279
- 1
- 3
- 3
-3
votes
1 answer
Pointer becomes null when passed by stack
I have very strange (rather impossible) issue with one of OpenCV's functions - pointer passed to cvGetSize, inside cvGetSize becomes NULL. I get checked them inside CvGetSize, it's really becomes NULL. There is no dereferences, just cast.
How can…

asaenko
- 235
- 1
- 2
- 11