Very large dimension photo
Show older comments
The code is working properly with a one photo size and not working for other. Can you please help? The message : Warning: Image is too big to fit on screen; displaying at 17% Attached the code and the image.. The dimension of the image is too big..(Webp.net-compress-image.jpg), but for (CIMG8351.JPG) it is ok..
Answers (2)
Walter Roberson
on 25 Jun 2017
0 votes
That is not an error, that is a warning. Your image is simply too large display all at one time -- it is 4320 by 2432 . What behavior would you like to have happen instead? Display only the upper left corner?
2 Comments
Ali Ibrahim
on 25 Jun 2017
Walter Roberson
on 25 Jun 2017
I have attached revised source files.
Image Analyst
on 25 Jun 2017
0 votes
That doesn't mean it's not working properly. It's only a notification that your image is being shrunk down so that you can see it on the screen. All computations will be done on the full sized image.
If you want to turn off that warning (along with some other common ones), see attached file TurnOffWarnings.m
See attached example of how to zoom and scroll your image.
Categories
Find more on Convert Image Type in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!