From: George P. S. <GeorgePS@XMission.com> - 2004-11-20 04:40:26
|
Sorry about the delay in bringing this up. This Tk bug is priority 9, and I only just last night wrote a patch to fix it. I attached the patch to the bug report and it's available here if SF should go down: http://www.xmission.com/~georgeps/engineering/software/patches/tkImage_Nov_19_2004.diff With a PNG that has alpha transparency, and is larger than the -width/-height requested it's possible to cause an X error by doing: % package require img::png % pack [label .l -image [image create photo -file some_alpha.png]] % .l config -width 3 % X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 73 (X_GetImage) Serial number of failed request: 375 Current serial number in output stream: 375 This problem exists in all Tk versions since the alpha transparency handling was added to photo images (sometime during 8.4.x). My patch has fixed this problem. I hope that we can get this into an RC. Happy Tcl'ing, George |