System Information
opencv version :4.4.0
win10
Detailed description
cv::Mat m = cv::imread("H:\\k.bmp");
if(m.empty()){
return;
}
// disk D is full.
bool res = cv::imwrite("D:\k2.bmp",m);
if(res){
//always come here... true
}
else{
//will not come here
}
The file k2.bmp is created ,but the file size is 0.of course ,k2.bmp file is broken.
I searched many ,but I didn't find the answer.
Steps to reproduce
just let one of your disk be full.
Issue submission checklist
System Information
opencv version :4.4.0
win10
Detailed description
The file k2.bmp is created ,but the file size is 0.of course ,k2.bmp file is broken.
I searched many ,but I didn't find the answer.
Steps to reproduce
just let one of your disk be full.
Issue submission checklist