imread>get_format_info error

73 views (last 30 days)
ahmed gaafer
ahmed gaafer on 26 Feb 2020
Answered: Guillaume on 26 Feb 2020
I = imread('Jaguar.bmp');
when I try to execute this line on any image this error occures
Error using imread>get_format_info (line 541)
Unable to determine the file format.
Error in imread (line 389)
fmt_s = get_format_info(fullname);
Error in Untitled (line 1)
I = imread('Jaguar.bmp');
I added the images path to the default pathes and tried like 10 solutions still no answer.
How can I read .bmp, .jpg, .png image files?
  7 Comments
Guillaume
Guillaume on 26 Feb 2020
Attach the image file (doesn't matter if you can't open it) and we'll take a look.
Guillaume
Guillaume on 26 Feb 2020
ahmed gaafer's comment posted as an answer moved here:
Here are a couple of samples

Sign in to comment.

Accepted Answer

Guillaume
Guillaume on 26 Feb 2020
does that mean that they are corrupted ?
Very much so, I'm afraid. The two files you attached are just a long stream of 0s. There's absolutely nothing useful in the two files.

More Answers (0)

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!