I use createScreenShot to get a IImage* screenshot and then use writeImageToFile to save it as "screenshot.png".
However, I found that screenshot->getPixel will not get the same pixel value as "screenshot.png", it will be darker than "screenshot.png". I guess it is because screenshot->getPixel gets ...
Search found 1 match
- Thu Nov 12, 2015 4:53 am
- Forum: Beginners Help
- Topic: How to get rendered pixel value of IImage?
- Replies: 5
- Views: 971