• Re: Image background

    From saito@saitology9@gmail.com to comp.lang.tcl on Thu Oct 17 16:42:15 2024
    From Newsgroup: comp.lang.tcl

    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!


    --- Synchronet 3.20a-Linux NewsLink 1.114