File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2771,7 +2771,7 @@ from PIL import Image, ImageDraw
27712771``` python 
27722772< int / tuple >  =  < Image> .getpixel((x, y))          #  Returns a pixel.
27732773< Image> .putpixel((x, y), < int / tuple > )           #  Writes a pixel to the image.
2774- < ImagingCore>  =  < Image> .getdata()               #  Returns a flattened sequence  of pixels.
2774+ < ImagingCore>  =  < Image> .getdata()               #  Returns a flattened view  of the  pixels.
27752775< Image> .putdata(< list / ImagingCore> )             #  Writes a flattened sequence of pixels.
27762776< Image> .paste(< Image> , (x, y))                  #  Writes passed image to the image.
27772777``` 
Original file line number Diff line number Diff line change 5454
5555< body > 
5656  < header > 
57-     < aside > April 12 , 2023</ aside > 
57+     < aside > April 13 , 2023</ aside > 
5858    < a  href ="https://gto76.github.io " rel ="author "> Jure Šorn</ a > 
5959  </ header > 
6060
@@ -2263,7 +2263,7 @@ <h3 id="format-2">Format</h3><div><h4 id="forstandardtypesizesandmanualalignment
22632263</ code > </ pre > 
22642264< pre > < code  class ="python language-python hljs "> <int/tuple> = <Image>.getpixel((x, y))          < span  class ="hljs-comment "> # Returns a pixel.</ span > 
22652265<Image>.putpixel((x, y), <int/tuple>)           < span  class ="hljs-comment "> # Writes a pixel to the image.</ span > 
2266- <ImagingCore> = <Image>.getdata()               < span  class ="hljs-comment "> # Returns a flattened sequence  of pixels.</ span > 
2266+ <ImagingCore> = <Image>.getdata()               < span  class ="hljs-comment "> # Returns a flattened view  of the  pixels.</ span > 
22672267<Image>.putdata(<list/ImagingCore>)             < span  class ="hljs-comment "> # Writes a flattened sequence of pixels.</ span > 
22682268<Image>.paste(<Image>, (x, y))                  < span  class ="hljs-comment "> # Writes passed image to the image.</ span > 
22692269</ code > </ pre > 
@@ -2935,7 +2935,7 @@ <h3 id="format-2">Format</h3><div><h4 id="forstandardtypesizesandmanualalignment
29352935
29362936
29372937  < footer > 
2938-     < aside > April 12 , 2023</ aside > 
2938+     < aside > April 13 , 2023</ aside > 
29392939    < a  href ="https://gto76.github.io " rel ="author "> Jure Šorn</ a > 
29402940  </ footer > 
29412941
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments