02-23-2021 11:06 PM
Hi all, I have a use case. I need help in getting the logic. I have a place many small images (which comes in array) in a larger image whose to be dynamically set. I am using SetImageSize function to set the size of the larger image. My known inputs are -
1. Number of Images in the array
2. X and Y resolution(pixel values of length and breadth) of each image coming in array.
With above two values, I have to set the size of larger image. Can someone help me find the logic to find the X and Y values that should be given to SetImageSize to get the larger image.
02-24-2021 01:41 AM - edited 02-24-2021 01:43 AM
Hi mahalakshmi,
@mahalakshmi05 wrote:
I have a place many small images (which comes in array) in a larger image whose to be dynamically set.
My known inputs are -
1. Number of Images in the array
2. X and Y resolution(pixel values of length and breadth) of each image coming in array.
Can someone help me find the logic to find the X and Y values that should be given to SetImageSize to get the larger image.
Looks pretty easy (based on your description)
SetImageSize_X = NumberOfImages × X
SetImageSize_Y = Y