MarketplaceStudioActivityGet Pixels from Image

Create your first automation in just a few minutes.Try Studio Web

Get Pixels from Image

Get Pixels from Image

by Internal Labs

2

Activity

Downloads

26.3k

Atul Baluni
Posted 3 years ago

I want to check the image if certain color (Red, Blue, Pink,Yellow,etc.) line is available in the PNG or JPG image will it       work ?

Mahalakshmi Sundar
Posted 5 years ago

After giving input how to get output as it is a multidimensional array how to retrieve it

Cyril Kuhns
Posted 5 years ago ago

The return value is a 1d array. In an image with width X and height Y, the first X entries of the array represent the top row of pixels.

ANAMIKA SINGH
Posted 6 years ago

How to use this activity? What should be given in Filepath and Image input? And how to take the output?

Cyril Kuhns
Posted 6 years ago ago

The input can be either an Image object, or the path to an image file as a String. Precisely one of these inputs is required.

This activity returns an array of Color objects. Each Color in the array corresponds to the color of a pixel from the input image. 

For more information on the .NET Framework's Color struct, see here: https://docs.microsoft.com/en-us/dotnet/api/system.drawing.color?view=netframework-4.7.2

Vivek Khanna
Posted 6 years ago

The results of the activity is changing if the resolution of the screen changes. How can it be avoided.

Cyril Kuhns
Posted 6 years ago ago

Yes, it's an array of Color objects corresponding to the pixels in the Image. If the resolution increases, then there are more pixels per inch of screen, and the results of this activity should be expected to change.

Amrutha Acharya
Posted 6 years ago

What is the output type for the GetPixelsfromImage activity ?

Cyril Kuhns
Posted 6 years ago ago

Per the description, this activity returns an array of System.Drawing.Color objects. For more information on the .NET Framework's Color struct, see here: https://docs.microsoft.com/en-us/dotnet/api/system.drawing.color?view=netframework-4.7.2

Publisher

Internal Labs

Visit publisher's page

License & Privacy

License Agreement

Privacy Terms

Technical

Version

1.0.1

Updated

October 31, 2023

Works with

Studio: 21.10 - 22.10

Certification

Silver Certified

Support

UiPath Community Support