Bug 392307 - [Mac Retina] Fuzzy image when do screen capture w. GC.copyArea() under Retina
Summary: [Mac Retina] Fuzzy image when do screen capture w. GC.copyArea() under Retina
Status: CLOSED DUPLICATE of bug 492296
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.7.2   Edit
Hardware: PC Mac OS X
: P3 critical with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Silenio Quarti CLA
URL: https://bugs.eclipse.org/bugs/show_bu...
Whiteboard:
Keywords: api
Depends on:
Blocks: 385122
  Show dependency tree
 
Reported: 2012-10-18 05:17 EDT by ChunYan Zhang CLA
Modified: 2017-06-14 05:40 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ChunYan Zhang CLA 2012-10-18 05:17:34 EDT
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).
Comment 1 Lakshmi P Shanmugam CLA 2017-06-14 05:40:00 EDT

*** This bug has been marked as a duplicate of bug 492296 ***