Ticket UUID: | 3500365 | |||
Title: | tk: Washed out colors on Mac OS X display | |||
Type: | Bug | Version: | obsolete: 8.5.11 | |
Submitter: | parasytic | Created on: | 2012-03-09 09:26:04 | |
Subsystem: | None | Assigned To: | nobody | |
Priority: | 5 Medium | Severity: | ||
Status: | Deleted | Last Modified: | 2012-03-11 05:42:33 | |
Resolution: | Invalid | Closed By: | parasytic | |
Closed on: | 2012-03-10 22:42:33 | |||
Description: |
While building a Tk app in Python on Mac OS X 10.7.3, I noticed the colors appear consistently "washed out" as if there is some sort of bad gamma correction going on under the hood. As a test, I write a very simple app that draws 1-pixel-high rectangles to a canvas with varying levels of intensity on each of the RGB channels, creating a black-to-white gradient. Second, I created a black-to-white gradient in GIMP to use as a baseline. When placed side-by-side, it's pretty clear that Tk is adjusting colors incorrectly. I've tried the same test on Linux, and it appears to work correctly, displaying the same exact gradient as generated by GIMP. I have also tried updating ActiveTcl and Python on OS X, but the problem persists. I'm now using python.org Python 2.7.2, and ActiveTcl 8.5.11.1. Attached is a PNG that illustrated the difference between the Tk gradient and the GIMP gradient, as well as the Python source I used to generate the Tk gradient. | |||
User Comments: |
parasytic added on 2012-03-11 05:42:33:
allow_comments - 1 Marking invalid. Moving this bug to the Tk tracker: https://sourceforge.net/tracker/?func=detail&aid=3501372&group_id=12997&atid=112997 parasytic added on 2012-03-09 16:28:28: Can't attach a second file. Here's the Python source: https://gist.github.com/80fa53032ec820d28950 parasytic added on 2012-03-09 16:26:10: File Added - 437848: grays.png |
Attachments:
- grays.png [download] added by parasytic on 2012-03-09 16:26:10. [details]