Hi,
How to get raw image (byte[] or base64 string) from dom element ? (C# WebElement.GetRawImage() ?? )
I found some methods:
- WebElement.CaptureCompressedImage(): not a good solution, i need raw image size and byte.
- Get image scr from img tag and get image with html get: no, i want to get loaded image (some website not response or change image (captcha) if request image 2 time)
- Exec javascript - > set image to clipboard -> get image from clipboard (hard, i use multichrome will be confusion)
- Create google chrome extension same as ranorex (very hard for me)
Please help me!
Thanks!
Sorry for my bad english.
Google Chrome - Get raw image ?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Google Chrome - Get raw image ?
Hi Smoke,
Is there a special reason why you want to get the raw image?
Are you sure the shown image is really a raw image and not just a jpeg?
We offer a class which provides methods to create screenshots of elements, to search for images, and for image processing, I hope this will help you: Imaging Class
Regards,
Markus
Is there a special reason why you want to get the raw image?
Are you sure the shown image is really a raw image and not just a jpeg?
We offer a class which provides methods to create screenshots of elements, to search for images, and for image processing, I hope this will help you: Imaging Class
Regards,
Markus
Re: Google Chrome - Get raw image ?
Hi Markus,
Thank for reply!
I need raw image to process captcha (same image big but small on website), check same image (saved captcha (check md5)),...
Image can be png, jpg, gif...
I thing byte (md5) will be change if capture screenshot again (not a good method, image will low quality, difficult to ocr).
It will be supported in the new version of ranorex studio?
Regards,
Smoke
Thank for reply!
I need raw image to process captcha (same image big but small on website), check same image (saved captcha (check md5)),...
Image can be png, jpg, gif...
I thing byte (md5) will be change if capture screenshot again (not a good method, image will low quality, difficult to ocr).
It will be supported in the new version of ranorex studio?
Regards,
Smoke