Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After update to IOS 12 .grabCardImage mode: result.image returns nil #25

Open
vigneshducont opened this issue Dec 3, 2018 · 2 comments

Comments

@vigneshducont
Copy link

I just want to fetch image but result returns nil and throwing below error,

Error:-
[Unknown process name] CGImageCreate: invalid image bits/component: 8 bits/pixel 8 alpha info = kCGImageAlphaNoneSkipLast

Kindly help me in the issue as soon as possible.

@austenstrine
Copy link

Might be as simple as including an alpha value in the image: https://stackoverflow.com/questions/10298165/error-cgimagecreate-invalid-image-bits-pixel-8/44060453
Can we get this updated in the source framework?

@Panosstylianou
Copy link

I am having the same issue. My app retrieves the data from the image correctly but then crashes.
Here is the error it's throwing:

[Unknown process name] CGImageCreate: invalid image bits/component: 8 bits/pixel 8 alpha info = kCGImageAlphaNoneSkipLast
[Unknown process name] CGImageCreate: invalid image bits/component: 8 bits/pixel 24 alpha info = kCGImageAlphaNoneSkipLast
OpenCV Error: Assertion failed (!empty()) in detectMultiScale, file /Users/amba/Work/opencv-3.0.0/modules/objdetect/src/cascadedetect.cpp, line 1636
libc++abi.dylib: terminating with uncaught exception of type cv::Exception: /Users/amba/Work/opencv-3.0.0/modules/objdetect/src/cascadedetect.cpp:1636: error: (-215) !empty() in function detectMultiScale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants