rescale image in app when maximized
古いコメントを表示
Hi,
I am trying to maximize an image in MATLAB app when the App is maximized.
This mean, resize/rescale the image according tot the original position in the App.
Just maximizing the image show the next:
Original image:

Maximized figure:

The size does not change...
I've tried to use converting, for obtain an autoreflow app, but seems that it does not works for images:

then the new app:

Maximized:

This is not resized.
I don't know how to resize the image then!
Thank you very much =)
2 件のコメント
Jonas
2022 年 7 月 20 日
you could set up a listener (e.g. addlistener with the PostSet option) to the figure's WindowState property
Josep Llobet
2022 年 7 月 21 日
回答 (1 件)
Image Analyst
2022 年 7 月 20 日
0 投票
Use AppDesigner and it will automatically resize when you resize the figure.
2 件のコメント
Josep Llobet
2022 年 7 月 21 日
Image Analyst
2022 年 7 月 21 日
If you have any more questions, then attach your data and code to read it in (your .mlapp file) with the paperclip icon after you read this:
カテゴリ
ヘルプ センター および File Exchange で Image Preview and Device Configuration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!