Forum Discussion

teddy77777's avatar
teddy77777
Contributor
15 years ago

Toolbar buttons do not look correct when using wImage

I am using wImage to capture an image of a toolbar button, and then compare it to an image in the stores using regions.compare.
This works for almost all images that contain colors other than black.  When a button with only the color black on it, is captured it gets captured has a solid black square.  It appears that anything that is transparent is converted to black so if the image only contains black then the button is captured has solid black.




I don't see an option to post an attachment which would probably make this clearer.  If you just image capturing the B button for making text Bold in most text editors, this results in a solid black button when I do it.

12 Replies