Closed turric4n closed 6 years ago
Hi we are trying to pass multiple encoding flags/params to function cvEncodeImage(const ext: pCvChar; const image: pCvArr; const params: PInteger = nil): pCvMat; cdecl;
params is PInteger. How can pass parameters? What is the best way to do it?
Var P: array of Integer;
P:=[CV_IMWRITE_PNG_COMPRESSION,9]; R:=cvEncodeImage('png', image, @P[0]);
Thanks Laex
Hi we are trying to pass multiple encoding flags/params to function cvEncodeImage(const ext: pCvChar; const image: pCvArr; const params: PInteger = nil): pCvMat; cdecl;
params is PInteger. How can pass parameters? What is the best way to do it?