Artifacts Associated With Ticket 3500365fffffffff
Ticket change [8b5d9c2a36] (rid 127556) by parasytic on 2012-03-09 09:26:04:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
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.
- foundin initialized to: "obsolete: 8.5.11"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "parasytic"
- subsystem initialized to: "None"
- title initialized to: "tk: Washed out colors on Mac OS X display"
- type initialized to: "Bug"
Add attachment "grays.png" [e99680ecc4] (rid 104840) by parasytic on 2012-03-09 16:26:10.
Ticket change [f2d047db3d] (rid 109621) by parasytic on 2012-03-09 16:26:10:
- icomment:
File Added - 437848: grays.png
- login: "parasytic"
- mimetype: "text/plain"
- username: "parasytic"
- icomment:
Ticket change [75f0508c37] (rid 105481) by parasytic on 2012-03-09 16:28:28:
- icomment:
Can't attach a second file. Here's the Python source: https://gist.github.com/80fa53032ec820d28950
- login: "parasytic"
- mimetype: "text/plain"
- username: "parasytic"
- icomment:
Ticket change [a51c07284d] (rid 110318) by parasytic on 2012-03-11 05:42:33:
- closedate changed to: "2012-03-10T22:42:33"
- closer changed to: "parasytic"
- icomment:
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
- login: "parasytic"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Deleted"
- username: "parasytic"