I wanted to take pictures from various crome based application to create power point presentations. But the image quality bot is taking is very low. Image size is 12 kb. How to increase the quantity of the picture taken by bot

I wanted to take pictures from various crome based application to create power point presentations. But the image quality bot is taking is very low. Image size is 12 kb. How to increase the quantity of the picture taken by bot

@Surela_Saha

Welcome to the community

there is no property to modify it but if you change the resolution accordingly the picture quality would become better

it more uses the same function that uses the snipping tool in windows

cheers

Hi @Surela_Saha
Welcome to UiPath

Use Take Screenshot activity with higher resolution by maximizing the browser window before capture and saving the image in PNG format using Save Image activity to preserve quality.

If you found helpful please mark as a solution. Thanks
Happy Automation with UiPath

I’ve faced a similar issue when trying to capture images from Chrome-based applications using bots or automation tools. If the image size is only around 12 KB, it’s likely the bot is capturing a low-resolution thumbnail or compressed version of the image rather than a full-quality screenshot.

Here are a few tips to improve image quality:

  1. Use Full-Page Screenshot APIs or Extensions: Instead of relying on default bot captures, try using tools like Puppeteer or browser extensions like GoFullPage for Chrome. These can capture high-resolution, full-page screenshots.
  2. Set Device Emulation Settings: If you’re using Puppeteer or Selenium, make sure you’re setting the viewport and device scale factor properly. For example:

javascript

CopyEdit

await page.setViewport({ width: 1280, height: 720, deviceScaleFactor: 2 });
  1. Avoid Image Compression: Some bots or headless browsers auto-compress images. Ensure that compression is disabled or set to a high-quality output.
  2. Use Screenshot Instead of Image Extraction: Sometimes instead of trying to extract images from the DOM, capturing the screen as an image gives better quality.
  3. Save in PNG Format: If your bot saves images in JPEG format, try switching to PNG for better clarity, especially for text-heavy or graphical content.

Let me know what bot or tool you’re using — I can give more specific suggestions based on that!I’ve faced a similar issue when trying to capture images from Chrome-based applications using bots or automation tools. If the image size is only around 12 KB, it’s likely the bot is capturing a low-resolution thumbnail or compressed version of the image rather than a full-quality screenshot.

Here are a few tips to improve image quality:

  1. Use Full-Page Screenshot APIs or Extensions: Instead of relying on default bot captures, try using tools like Puppeteer or browser extensions like GoFullPage for Chrome. These can capture high-resolution, full-page screenshots.
  2. Set Device Emulation Settings: If you’re using Puppeteer or Selenium, make sure you’re setting the viewport and device scale factor properly. For example:

javascript

CopyEdit

await page.setViewport({ width: 1280, height: 720, deviceScaleFactor: 2 });
  1. Avoid Image Compression: Some bots or headless browsers auto-compress images. Ensure that compression is disabled or set to a high-quality output.
  2. Use Screenshot Instead of Image Extraction: Sometimes instead of trying to extract images from the DOM, capturing the screen as an image gives better quality.
  3. Save in PNG Format: If your bot saves images in JPEG format, try switching to PNG for better clarity, especially for text-heavy or graphical content.

Let me know what bot or tool you’re using — I can give more specific suggestions based on that!

Hi,

Puppeteer - can you please tell me the extension name and the activity name in UiPath for this?
I am using UiPath.

Thanks,
Surela