-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
Handling corrupt images #17862
Copy link
Copy link
Closed as not planned
Labels
category: imgcodecsfeaturefutureThis issue can't be fixed during restrictions of the compatibility requirementsThis issue can't be fixed during restrictions of the compatibility requirements
Description
I am using val sourceImageMat = imread(sourceImage.toString()) to read a file in java. But for corrputed images it just prints Premature end of JPEG file . I can see its not an exception and that is why its not ignoring the image but processing it further. Is there a way to avoid this processing?
Have had a look at the community channel but ws not of much help.Hope you can throw some ideas around this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
category: imgcodecsfeaturefutureThis issue can't be fixed during restrictions of the compatibility requirementsThis issue can't be fixed during restrictions of the compatibility requirements