Community
Participate
Working Groups
This bug is separated from bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=387755. You can find the sample app to reproduce the problem in bug 387755. In the debug environment, when we can get the right rectangle, the screen capture image still looks fuzzy. That is because SWT Cocoa used CGBitmapContextCreate method to get the bitmap context. However, according to the Apple's guide, we should use NSBitmapImageRep and NSGraphicsContext for offscreen rendering automatically scales bitmaps appropriately, whereas the CGBitmapContextCreate function does not. I think it requires SWT API changes and a lot of effort to support high-res image, and it may require application code changes (since existing SWT applications are not high-res aware).
*** This bug has been marked as a duplicate of bug 492296 ***