For Programmers: Free Programming Magazines  


Home > Archive > Tcl > April 2007 > Re: getting issues with -alpha









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: getting issues with -alpha
michael.kirkham@gmail.com

2007-04-27, 4:17 am

Hi, Quentin. The syntax you're using is correct; I use it with an
alpha of 0.5 for the disabled icons in Muonics applications. What
TkPNG version are you using (I'd recommend the latest from SourceForge
CVS). What Tk version (8.3+ is required for alpha support, I think).
Also, if you are also using the Img extension, it could be that Img is
loading your PNG instead of TkPNG, and I don't think Img supports the -
alpha trick in the format field.

On Apr 26, 2:05 pm, Quentin Casasnovas <quentin.casasno...@free.fr>
wrote:
> Hey there,
>
> First of all, excuse my english ;) I'm using the tkpng package which
> permit to load png pictures, and change their alpha value... But I'm
> currenly getting problem when trying to do that : the picture is loaded
> well, but the picture doesn't get transparent... ?
>
> I use thise syntaxe :
> image create photo -format "png -alpha 0.2" -file "test.png"
>
> Is that correct ? And, if someone has already used the alpha
> transformation, how did he do ?
>
> Thank you :)



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com