Sujet : Re: Image background
De : saitology9 (at) *nospam* gmail.com (saito)
Groupes : comp.lang.tclDate : 17. Oct 2024, 21:42:15
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <versr8$2t5vu$1@dont-email.me>
References : 1 2 3 4
User-Agent : Mozilla Thunderbird
On 10/17/2024 3:56 PM, Rich wrote:
Thank you - I missed this page. Does this command apply to non-png
images?
It applies to all Tk photo images.
Whether you can save the transparency to a file will depend upon the
file format you choose to save the result into.
Thank you. I know image processing is a rabbit hole. My question was much simpler. I wanted to determine what the background color is (if possible, and it is ok if not), and replace it with an alpha color. Paul Obermeier's code answers my question perfectly.
Thanks again to both of you!