site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com Hopefully everybody is at WWDC getting inspired about tvOS or something, and this will get a slow response. Anyway, I have an FxPlug with a custom UI. It’s most beautiful. The custom UI features an eye-dropper color-picker button. When you click it, I want to then let you go click on the canvas with an eyedropper to select a point, thereby selecting a color. Then I’ll use that color value for my own nefarious purposes. The brute force implementation would be to just grab a color from the screen, using an image from the API CGDisplayCreateImage( CGMainDisplayID() ). I could do that, but then you might be selecting colors from a graphic overlay or something, and I won’t be doing a smart filtered sample from the full resolution of the movie. Another approach would be implement a sort of dummy FxOnScreenControlAPI, so I can convert between screen coordinates and canvas coordinates, and then request the pixel values from some host API. Any recommendations for how to implement a color picker? Should I just grab the pixel value from the screen, or is there a more elegant solution? Cheers, Dave _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com