justadudewhohacks / justadudewhohacks/opencv4nodejs

cv::imwrite method signature missmatch

Open
#516 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5.1k
Forks
826
PR merge metrics
No merged PRs in 30d

Description

Following the opencv4nodejs typings, imwrite(Async) returns `void` (or `Promise`), while the actual signature is

```C++
bool imwrite(const String& filename, InputArray img, const vector& params=vector() )
```

Is there a particular reason for dropping the result of imwrite?
Or am I just missing another way to validate successful writes?

Best regards

Simon

And please keep up your great work, this package just awesome!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.