[etoys-dev] How can I access the individual pixels in an image

Bert Freudenberg bert at freudenbergs.de
Fri May 25 07:59:44 EDT 2012


On 25.05.2012, at 12:35, Steve Thomas wrote:

> How can I loop through each pixel in an image and get their red,green,blue values?
> I also would like to be able to create a new image using those values (modified, for example set red=red*0.5)
> 
> I know Karl did a great project Color Reading And Writing which I could use, but would like to introduce some of the kids to squeak.
> 




- Bert -

-------------- n?chster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <http://lists.squeakland.org/pipermail/etoys-dev/attachments/20120525/9d673510/attachment-0001.html>
-------------- n?chster Teil --------------
Ein Dateianhang mit Bin?rdaten wurde abgetrennt...
Dateiname   : PastedGraphic-10.png
Dateityp    : image/png
Dateigr??e  : 39661 bytes
Beschreibung: nicht verf?gbar
URL         : <http://lists.squeakland.org/pipermail/etoys-dev/attachments/20120525/9d673510/attachment-0002.png>
-------------- n?chster Teil --------------
Ein Dateianhang mit Bin?rdaten wurde abgetrennt...
Dateiname   : PastedGraphic-11.png
Dateityp    : image/png
Dateigr??e  : 56906 bytes
Beschreibung: nicht verf?gbar
URL         : <http://lists.squeakland.org/pipermail/etoys-dev/attachments/20120525/9d673510/attachment-0003.png>


More information about the etoys-dev mailing list