Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

System checkpoint complete.


devel / comp.lang.tcl / Re: Modify individual bitmap image pixels

SubjectAuthor
* Modify individual image pixelsManuel Collado
`* Modify individual image pixelsHarald Oehlmann
 `- Modify individual bitmap image pixelsManuel Collado

1
Modify individual image pixels

<uid2c4$uurt$1@dont-email.me>

  copy mid

https://news.novabbs.com/devel/article-flat.php?id=12378&group=comp.lang.tcl#12378

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mcollado...@gmail.com (Manuel Collado)
Newsgroups: comp.lang.tcl
Subject: Modify individual image pixels
Date: Tue, 7 Nov 2023 11:09:08 +0100
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <uid2c4$uurt$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 7 Nov 2023 10:09:08 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e93ca11b8133301f970127bf5be9b975";
logging-data="1014653"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+/YINqDYxP765yPEFMiCZsyZiOzU1AB0k="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:0NFlz0hl6ulTgghQ8VWKYUR8LiA=
Content-Language: en-US
 by: Manuel Collado - Tue, 7 Nov 2023 10:09 UTC

The subject line says all. Is there a way to create/modify a bitmap
image on screen pixelwise?

Until now I've only found the possibility to redraw the whole image
after individual pixel changes.

Thanks in advance.
--
Manuel Collado - http://mcollado.z15.es

Re: Modify individual image pixels

<uid529$vfd0$2@dont-email.me>

  copy mid

https://news.novabbs.com/devel/article-flat.php?id=12380&group=comp.lang.tcl#12380

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!news.samoylyk.net!usenet.goja.nl.eu.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wortka...@yahoo.com (Harald Oehlmann)
Newsgroups: comp.lang.tcl
Subject: Re: Modify individual image pixels
Date: Tue, 7 Nov 2023 11:55:05 +0100
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <uid529$vfd0$2@dont-email.me>
References: <uid2c4$uurt$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 7 Nov 2023 10:55:05 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="9f76213ad5103e5eb049ce2807cd8870";
logging-data="1031584"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/xYW8Eo5oOqAZuwnENfVRY"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:nuIE1b3PoztopfMhRq3h3b3WRDU=
In-Reply-To: <uid2c4$uurt$1@dont-email.me>
Content-Language: en-GB
 by: Harald Oehlmann - Tue, 7 Nov 2023 10:55 UTC

Am 07.11.2023 um 11:09 schrieb Manuel Collado:
> The subject line says all. Is there a way to create/modify a bitmap
> image on screen pixelwise?
>
> Until now I've only found the possibility to redraw the whole image
> after individual pixel changes.
>
> Thanks in advance.

Yes, there is.

https://www.tcl-lang.org/man/tcl8.6/TkCmd/photo.htm#M30

You will need Tk 8.7 to manipulate the full alpha channel.

Enjoy,
Harald

Re: Modify individual bitmap image pixels

<uifumq$1jg4r$1@dont-email.me>

  copy mid

https://news.novabbs.com/devel/article-flat.php?id=12388&group=comp.lang.tcl#12388

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mcollado...@gmail.com (Manuel Collado)
Newsgroups: comp.lang.tcl
Subject: Re: Modify individual bitmap image pixels
Date: Wed, 8 Nov 2023 13:24:58 +0100
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <uifumq$1jg4r$1@dont-email.me>
References: <uid2c4$uurt$1@dont-email.me> <uid529$vfd0$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 8 Nov 2023 12:24:58 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6cd4c129138bcf672bee29e766ab0072";
logging-data="1687707"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ujoiOOH+7WwYU6ejANf6o2+DJ0bNjP78="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:kj8DY/f+hrFM9kgMAQhA/NKwhZ4=
Content-Language: en-US, es-ES
In-Reply-To: <uid529$vfd0$2@dont-email.me>
 by: Manuel Collado - Wed, 8 Nov 2023 12:24 UTC

El 7/11/23 a las 11:55, Harald Oehlmann escribió:
> Am 07.11.2023 um 11:09 schrieb Manuel Collado:
>> The subject line says all. Is there a way to create/modify a bitmap
>> image on screen pixelwise?
>>
>> Until now I've only found the possibility to redraw the whole image
>> after individual pixel changes.
>>
>> Thanks in advance.
>
> Yes, there is.
>
> https://www.tcl-lang.org/man/tcl8.6/TkCmd/photo.htm#M30
>
> You will need Tk 8.7 to manipulate the full alpha channel.

Sorry for not being clear enough. Subject updated. I'm working on bitmap
images. The 'put' image command seems to be only available for photos.

Anyway thanks for your hint. Perhaps I should consider using photos
instead of bitmaps.

--
Manuel Collado - http://mcollado.z15.es


devel / comp.lang.tcl / Re: Modify individual bitmap image pixels

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor