MATLAB Answers

Error in Reading BMP image

4 views (last 30 days)
Wei Shan Tan
Wei Shan Tan on 24 Jun 2020
Commented: Image Analyst on 24 Jun 2020
I need to read a bmp file on matlab and I used the IMREAD function. However, I cannot seem to read it and the error message reads Invalid Size. I am not too sure how to deal with this. I have also made sure that the image is in the correct path/folder. Can anyone help me?
The following is what I wrote in Matlab. Am I writing anything wrong?


Sign in to comment.

Answers (1)

Gaganjyoti Baishya
Gaganjyoti Baishya on 24 Jun 2020

  1 Comment

Image Analyst
Image Analyst on 24 Jun 2020
He said that he has r2019b (see left of this page).
Wei, you forgot to attach the image file, so we can't do much other than refer you to tech support.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!