How can I adjust or well crop an image in a imagelabel or imagebutton to make it smaller or bigger
Edit: Just realized posted this in the wrong section
How can I adjust or well crop an image in a imagelabel or imagebutton to make it smaller or bigger
Edit: Just realized posted this in the wrong section
Use the Crop
type of image to achieve this.
Where can I change the crop dimensions
Change the ImageRectSize
aaa
if i change it to anything it disappears
image.Size = UDim2.new(0, 0, 0, 0)
Change the zeros.
I am trying to crop the image no the imagelabel
you can use photopea to resize the image and cut off unnecessary sides
I have encountered this same issue, and figured out a solution. My advice is to replace the image label/button with a text label/button (this will be the background). Give it the same size and position properties as the previous UI element, and set the text property to an empty string.
Then, add an image label inside of the text label. Set the background transparency to 1, the anchor point to 0.5, 0.5; and the position to 0.5, 0, 0.5, 0. Give it the same image as the previous image label had, and then scale it up or down on the background to give it a different size ratio.