in reply to Re: How to get pixel color from 3d application
in thread How to get pixel color from 3d application
You can improve performance by only fetching a subset of the screen with screenshot:
my $img = screenshot(left => 68, right => 69, top => 58, bottom => 59);You're also writing the screenshot to a file, then reading the same image back in again, which is a waste.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: How to get pixel color from 3d application
by JuR (Initiate) on Mar 02, 2016 at 04:22 UTC |