Message Boards Message Boards

GROUPS:

Adjust image dimensions in manipulate?

Posted 4 months ago
454 Views
|
1 Reply
|
1 Total Likes
|

Hi, As show in ImageDimension, The original size of the images are : {1920, 1080}pixels and {1920, 1200}pixels respectively. But in the manipulate its displaying at 180,106 pixels. I require both images to display at least 500, 500 pixels in the manipulate GUI. Thanks for help and suggestions. enter image description here enter image description here

Attachment

Attachment

Attachments:
POSTED BY: Man Oj
Answer

You need to post code, not images of code, for anyone to help you in a meaningful way.

MMA displays the image in a size that it computes will fit in the window. It processes the full resolution. To set the display size of an image, use ImageSize. For example, in your code (which I can't copy to show you) you can do something like

Show[binImg, ImageSize->{1920,1080}]

or

scale = 2; Show[binImg, ImageSize->{1920/scale,1080/scale}]

Regards

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract