I'm having trouble viewing an image.png. ? When using the code below do I get a problem visualization (image with black background and a white square in the center of the image)? Why this error and how can I resolve it using native python features?
1 2 |
o_png = open ( '/imagem.png' , 'rb' ) return o_png |