|
2012-03-11
| ||
| 05:42 | • Deleted ticket [3500365fff]: tk: Washed out colors on Mac OS X display plus ... artifact: a51c07284d user: parasytic | |
|
2012-03-09
| ||
| 16:28 | • Ticket [3500365fff]: 4 changes artifact: 75f0508c37 user: parasytic | |
| 16:26 | • Add attachment grays.png to ticket [3500365fff] artifact: e99680ecc4 user: parasytic | |
| 16:26 | • Ticket [3500365fff] tk: Washed out colors on Mac OS X display status still O... artifact: f2d047db3d user: parasytic | |
| 09:26 | • New ticket [3500365fff]. artifact: 8b5d9c2a36 user: parasytic | |
tk: Washed out colors on Mac OS X display
Deleted3500365fffffffffffffffffffffffffffffffffCreated 15 years agoUpdated 15 years ago
Descriptionplain2012-03-09 09:26:04
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.
parasyticplain2012-03-09 16:26:10
File Added - 437848: grays.png
parasyticplain2012-03-09 16:28:28
Can't attach a second file. Here's the Python source: https://gist.github.com/80fa53032ec820d28950
parasyticplain2012-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
Log in (anonymous is fine) to add a comment.
Attachments:
- grays.png [download] added by parasytic on 2012-03-09 16:26:10. [details]