we have some problems using Ranorex.Imaging.Compare(). We want to compare *.bmp (200 dpi) and get random OutOfMemory Exceptions back from the compare method. Another case is "Failed to load bitmap".
What can we do to handle those problems? We have like 1200 bitmaps per application and for us it doesn't matter if we take bmp or jpg (jpg would be first choice for performance reasons).
Best Regards! JayDee
Ask general questions here.
3 posts • Page 1 of 1
- Support Team
- Site Admin
- Posts: 12169
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
Could you please post the complete exception text?JayDee wrote:We want to compare *.bmp (200 dpi) and get random OutOfMemory Exceptions back from the compare method. Another case is "Failed to load bitmap".
Does this exception occur while editing recordings/repositories inside Ranorex Studio or while running the tests?
Just out of curiosity: How come you have so many pictures inside your repository? Is Ranorex not able to identify the controls and therefore you use image based automation?
Also, as Alex was saying in another post:
OutOfMemory exception is also thrown by that method if the provided PixelFormat is wrong or not supported or the rectangle is not correct