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

Error during image loading #384

Closed
ermolenkodev opened this issue May 26, 2022 · 0 comments
Closed

Error during image loading #384

ermolenkodev opened this issue May 26, 2022 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@ermolenkodev
Copy link
Collaborator

An exception is thrown during the loading of the jpeg image. Maybe the reason is non-standard encoding.

java.lang.IllegalArgumentException: Numbers of source Raster bands and source color space components do not match

snippet to reproduce an issue

val cocoPath = "000000163682.jpg"
val img = File(cocoPath).inputStream().use { inputStream -> ImageConverter.toBufferedImage(inputStream) }

000000163682

@ermolenkodev ermolenkodev added the bug Something isn't working label May 26, 2022
@ermolenkodev ermolenkodev added this to the 0.5 milestone May 30, 2022
@ermolenkodev ermolenkodev self-assigned this May 30, 2022
ermolenkodev added a commit to ermolenkodev/KotlinDL that referenced this issue Jul 12, 2022
…lin#384)

* Add TwelveMonkeys ImageIO plugin

* Add IO test with images from COCO 2017 test set, which failed to load using standard java ImageIO
ermolenkodev added a commit to ermolenkodev/KotlinDL that referenced this issue Jul 18, 2022
…lin#384)

* Add TwelveMonkeys ImageIO plugin

* Add IO test with images from COCO 2017 test set, which failed to load using standard java ImageIO
ermolenkodev added a commit that referenced this issue Jul 18, 2022
… (#404)

* Add TwelveMonkeys ImageIO plugin

* Add IO test with images from COCO 2017 test set, which failed to load using standard java ImageIO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant