I use the putpixel operation on the image (srcImage), which is equal to w = 134 and h = 454
Here we enter the r, g, b value of the part of the font that is 0.255.0, which I found by debugging (using the print option).
image = letters['H'] r,g,b = image.getpixel((1,1)) *Note rgb values are 0, 255,0* srcImage.putpixel((10,15),(r,g,b)) srcImage.save('lolmini2.jpg')
This code does not give any error, but when I look at the saved image, I can not determine the clear green pixel.
source share