How to show images in a GUI table
2 ビュー (過去 30 日間)
古いコメントを表示
Hello,
I am trying to run a GUI that will load an excel file into a uitable. I want some of the cells of that tables to show images, or at least perhaps a thumbnail to the image. Is this possible?
0 件のコメント
回答 (1 件)
Walter Roberson
2017 年 7 月 9 日
My experiences suggest that you probably will not be happy with the results, as you cannot control the cell sizes the way you might hope. The cell size that will be automatically chosen will depend upon the size of the URL string, not the size of the image being inserted.
You could probably do better using the Java level; http://undocumentedmatlab.com has some articles about uitable and java.
2 件のコメント
fareed jamaluddin
2018 年 6 月 1 日
if i need to display an imcrop of image into the uitable do i need to imwrite it first as .png file first then display it using the html method?
Walter Roberson
2018 年 6 月 6 日
It probably does not need to be png specifically, but png is known to work. It could probably be jpg or bmp . Possibly not tiff though.
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!