Sujet : Re: Image background
De : saitology9 (at) *nospam* gmail.com (saito)
Groupes : comp.lang.tclDate : 17. Oct 2024, 20:44:41
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <verpfa$2s2jq$3@dont-email.me>
References : 1 2
User-Agent : Mozilla Thunderbird
On 10/17/2024 3:35 PM, Rich wrote:
saito <saitology9@gmail.com> wrote:
I wonder if it is possible to remove the background from an image and
make it transparent using Tk or a package? Then I can save it as a png
image. The background in my case consists of a single color. Perhaps I
could replace that color with an "alpha" color but how?
man n photo:
imageName transparency subcommand ?arg arg ...?
Allows examination and manipulation of the transparency
information in the photo image. Several subcommands are
available:
Thank you - I missed this page. Does this command apply to non-png images? Initially the image will have no transparency, since the background is a solid, opaque color?
The challenge in my case is I don't know where the background starts and what color it would be. The latter can be solved by involving the user perhaps.