We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I've started using this lib on node.js and I'm facing the following issue:
let srcImage = await Jimp.read('./image.png') let src = cv.matFromImageData(srcImage.bitmap) src is returning an empty Mat object
let srcImage = await Jimp.read('./image.png') let src = cv.matFromImageData(srcImage.bitmap)
the srcImage.bitmap values are: { width: 278, height: 155, depth: 8, interlace: false, palette: false, color: true, alpha: true, bpp: 4, colorType: 6, data: <Buffer eb eb eb ff eb eb eb ff eb eb eb ff eb eb eb ff eb eb eb ff eb eb eb ff eb eb eb ff eb eb eb ff eb eb eb ff eb eb eb ff eb eb eb ff eb eb eb ff eb eb ... 172310 more bytes>, gamma: 0 }
{ width: 278, height: 155, depth: 8, interlace: false, palette: false, color: true, alpha: true, bpp: 4, colorType: 6, data: <Buffer eb eb eb ff eb eb eb ff eb eb eb ff eb eb eb ff eb eb eb ff eb eb eb ff eb eb eb ff eb eb eb ff eb eb eb ff eb eb eb ff eb eb eb ff eb eb eb ff eb eb ... 172310 more bytes>, gamma: 0 }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I've started using this lib on node.js and I'm facing the following issue:
let srcImage = await Jimp.read('./image.png') let src = cv.matFromImageData(srcImage.bitmap)
src is returning an empty Mat object
the srcImage.bitmap values are:
{ width: 278, height: 155, depth: 8, interlace: false, palette: false, color: true, alpha: true, bpp: 4, colorType: 6, data: <Buffer eb eb eb ff eb eb eb ff eb eb eb ff eb eb eb ff eb eb eb ff eb eb eb ff eb eb eb ff eb eb eb ff eb eb eb ff eb eb eb ff eb eb eb ff eb eb eb ff eb eb ... 172310 more bytes>, gamma: 0 }
The text was updated successfully, but these errors were encountered: