Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #75612

Tcl/Tk alpha channel bug on OSX Mavericks is fixeded, but how/when can I use the fix?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'binary': 0.07; 'subject:bug': 0.07; 'pil': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'tcl/tk': 0.09; 'python': 0.11; 'bug': 0.12; 'thread': 0.14; '"python': 0.16; 'png': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:channel': 0.16; 'subject:when': 0.16; 'user?': 0.16; 'alpha': 0.16; 'fix': 0.17; 'thanks,': 0.17; 'all,': 0.19; 'install': 0.23; 'load': 0.23; 'compilation': 0.24; 'question': 0.24; '(see': 0.26; 'shown': 0.26; 'subject:/': 0.26; 'header:X -Complaints-To:1': 0.27; 'installed': 0.27; 'tried': 0.27; 'point': 0.28; 'converting': 0.30; 'img': 0.31; 'reduced': 0.31; 'anyone': 0.31; 'file': 0.32; 'says': 0.33; 'mac': 0.33; 'subject:the': 0.34; 'could': 0.34; 'problem': 0.35; 'but': 0.35; 'version': 0.36; 'subject:?': 0.36; 'should': 0.36; 'to:addr :python-list': 0.38; 'files': 0.38; 'does': 0.39; 'channel': 0.39; 'subject:can': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'received:62': 0.63; 'show': 0.63; 'kind': 0.63; 'such': 0.63; 'charset:iso-8859-2': 0.64; 'approaches': 0.68; 'transparent': 0.68; 'containing': 0.69; '3.4': 0.84; 'installer': 0.84; 'partially': 0.84; 'url:core': 0.91; 'url:tk': 0.95
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From "Peter Tomcsanyi" <tomcsanyi@slovanet.sk>
Subject Tcl/Tk alpha channel bug on OSX Mavericks is fixeded, but how/when can I use the fix?
Date Sun, 3 Aug 2014 19:24:13 +0200
Mime-Version 1.0
Content-Type text/plain; format=flowed; charset="iso-8859-2"; reply-type=original
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host 62.197.243.26
X-MSMail-Priority Normal
X-Newsreader Microsoft Windows Mail 6.0.6002.18197
X-MimeOLE Produced By Microsoft MimeOLE V6.0.6002.18463
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.12591.1407086670.18130.python-list@python.org> (permalink)
Lines 35
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1407086670 news.xs4all.nl 2862 [2001:888:2000:d::a6]:38297
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:75612

Show key headers only | View raw


Hello to all,

My OSX is 10.9 Mavericks.
I use Python 3.4. with ActiveTcl 8.5.15.1.

I was struggling with several approaches to using PNG files with alpha 
channel (partial transparency).
Following my question in this newsgroup (see the thread "Python 3.4.1 
installer on Mac links Python to old Tcl/Tk" and all the kind suggestions 
what to do), I have tried several things:
- Used the package Img with Tk 8.5
- Used PIL to load the file and then converting it by ImageTk.PhotoImage.
- Installed MacPorts' version of Python 3.4 with Tk 8.6
But none of the approaches were able to show corretly my partially 
transparent image - the image was loaded and shown but the alpha channel was 
reduced to binary transparency.

I think that it is because of this problem in Mavericks:
http://core.tcl.tk/tk/tktview?name=99b84e49ff

The above link says that it has been solved in Tcl/Tk.
But: what does it mean for me - a Python user?
Can anyone say when a version containing the above bug fix will be available 
in a form of an installable package that I can use with Python on a Mac?
How can I know that such a package is avaibale?
Or can anyone point me to some instructions how could I compile Tcl/Tk for 
myslef and (more importanty) how to install the result of that compilation 
so that Python 3.4 recognizes that it should use that package (and not three 
other installations of Tcl/Tk in my computer)?

Thanks,

Peter 

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Tcl/Tk alpha channel bug on OSX Mavericks is fixeded, but how/when can I use the fix? "Peter Tomcsanyi" <tomcsanyi@slovanet.sk> - 2014-08-03 19:24 +0200
  Re: Tcl/Tk alpha channel bug on OSX Mavericks is fixeded, but how/when can I use the fix? Kevin Walzer <kw@codebykevin.com> - 2014-08-03 18:10 -0400
    Re: Tcl/Tk alpha channel bug on OSX Mavericks is fixeded, but how/when can I use the fix? "Peter Tomcsanyi" <tomcsanyi@slovanet.sk> - 2014-08-04 11:40 +0200
      Re: Tcl/Tk alpha channel bug on OSX Mavericks is fixeded, but how/when can I use the fix? Kevin Walzer <kw@codebykevin.com> - 2014-08-04 08:16 -0400
        Re: Tcl/Tk alpha channel bug on OSX Mavericks is fixeded, but how/when can I use the fix? "Peter Tomcsanyi" <tomcsanyi@slovanet.sk> - 2014-08-04 21:42 +0200
    typo correction "Peter Tomcsanyi" <tomcsanyi@slovanet.sk> - 2014-08-04 12:17 +0200

csiph-web