PhotoImage.paste

rryan.asu at gmail.com rryan.asu at gmail.com
Wed Jan 25 15:37:07 EST 2017


Hi Greg,

Yeah, I thought of that too...  So I was trying to store it as only a grayscale image and use the "L" format.  I wonder if maybe that didn't work?  I'll play around with that and ensure I did what I think I did.  But that's a good reminder.

Thanks!
Russell


On Tuesday, January 24, 2017 at 11:51:37 PM UTC-5, Gregory Ewing wrote:
> 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