How do I control the screenshot size

Hi everyone,
I want to change the size of screenshot, but I can’t find the method

Katalon Studio provides WebUI.setViewPortSize() keyword. With it you can set the Browser’s windows size smaller, and it results smaller size of screenshot images.

Katalon Studio does not provide capability to resize image files.

If you want to resize image files, you can develop your own solution using Java/Groovy apis. See

Does katalon recorder have the same ability to set the Browser’s windows size ?