Image resizer

guys check my work flow and how can i resize the image into exact required size.
if possible edit the sequence that helps
Main.xaml (28.4 KB)
test suit.zip (2.9 MB)
Image resize
Landscape: 1080 x 566 pixels
Square: 1080 x 1080 pixels

Hi @Adithyeshwar_goud
Below post should help you ?
Resizing Image - Help - UiPath Community Forum

i don’t need to reduce the size of image i need to change the dimentions only mate

Is this what your want?
image

yes exactly this the size that the bot should convert the image into

can you please edit my work flow inorder to performe this operation

You may use ‘invoke method’ with proper parameters refer to below.

image

CompositingQuality
InterpolationMode
SmoothingMode
what is this keywords means in case of image resizing in UI path and what packages should be installed in order to use this features
Main.xaml (36.6 KB)

The namespace is System.Drawing, which should be avaiable already.

For the keyword/property, you may refer to below. They’re not mandatory since they have default values.
Graphics.CompositingQuality Property (System.Drawing) | Microsoft Learn
Graphics.InterpolationMode Property (System.Drawing) | Microsoft Learn
Graphics.SmoothingMode Property (System.Drawing) | Microsoft Learn

i am using community edition by the way is that makes any problem in order to use image resizer