PhotoImage.paste

Gregory Ewing greg.ewing at canterbury.ac.nz
Tue Jan 24 23:51:24 EST 2017


Dennis Lee Bieber wrote:
> 	But practically everything these days uses true/high color, in which
> each pixel encodes the exact color to be displayed. This means that
> changing all matching pixels from one given color to another given color
> requires rewriting those pixels color data.

Yes, and a 4k x 4k RGBA image is about 64MB of data.
I'm not surprised it takes a noticeable amount of
time to change all of that.

-- 
Greg


More information about the Python-list mailing list