xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Changes between Initial Version and Version 1 of Ticket #1155

03/30/16 08:30:13 (5 years ago)
Antoine Martin
  • r12282 + r12292 adds basic ICC information for win32 collected using pillow which calls GetICMProfile - we could pass it an HDC for each monitor to get per-monitor information, but this would need to go with changes to ensure that the monitor indexes used for reporting the geometry are the ones used for icc (GTK messes with things and may re-order monitors...)
  • r12284 does the same for OSX, where we get per-monitor values too (same monitor-order caveat applies) - here, we do get the raw ICC data in a blob already, so this can easily be applied server-side
  • for Linux, I think we need to make sure python-pillow is built with lcms support - and even then, I don't get any values out.. but I do get lots of data using colormgr get-devices


  • Ticket #1155

    • Property Status changed from new to assigned
  • Ticket #1155 – Description

    initial v1  
    1818* [http://www.littlecms.com/ Little CMS]: ''Little CMS intends to be an OPEN SOURCE small-footprint color management engine, with special focus on accuracy and performance''
    1919* [https://github.com/python-pillow/Pillow/blob/master/PIL/ImageCms.py Pillow: ImageCms] / [https://github.com/python-pillow/Pillow/blob/master/_imagingcms.c Pillow: imagingcms]: support for lcms / win32 API in Pillow.
     20* [http://hipolabs.com/en/blog/icc-profile-transformation-using-pil/ ICC profile transformation using PIL]
    2223MS Windows specific info:
     24* [http://msdn.microsoft.com/en-us/library/dd372446(v=vs.85).aspx WCS: Windows Color System]
    2325* [https://msdn.microsoft.com/en-us/library/ms969981.aspx Introduction to Color Management in Microsoft Windows Operating Systems]
    2426* [https://msdn.microsoft.com/en-us/library/windows/desktop/dd372179(v=vs.85).aspx MS Windows Profile Management Functions]
    3537* [https://developer.apple.com/library/mac/documentation/Cocoa/Reference/NSWindowDelegate_Protocol/index.html#//apple_ref/occ/intfm/NSWindowDelegate/windowDidChangeBackingProperties windowDidChangeBackingProperties]: ''The notification NSWindowDidChangeBackingPropertiesNotification is posted on OS X v10.7.3 or later when a window’s backing scale factor or its color space changes''
     38* [https://searchcode.com/codesearch/view/2208657/ NSScreenColorSpaceDidChangeNotification example] seems to require 10.6 or later..
     39* [https://developer.apple.com/library/mac/documentation/GraphicsAnimation/Conceptual/HighResolutionOSX/APIs/APIs.html APIs for Supporting High Resolution]: [https://developer.apple.com/library/mac/documentation/GraphicsAnimation/Conceptual/HighResolutionOSX/CapturingScreenContents/CapturingScreenContents.html#//apple_ref/doc/uid/TP40012302-CH10-SW20 Handle Dynamic Changes in Window Resolution Only When You Must]: ''Listening for NSWindowDidChangeBackingPropertiesNotification is something only a few apps—primarily those apps that specialize in video or graphics work, and for which color matching and high-quality rendering fidelity are especially important—will need to do''
     40* [https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSColorSpace_Class/index.html#//apple_ref/occ/cl/NSColorSpace NSColorSpace]