+ 3

Doesn't Sololearn support the display of .png files with Go?

I have two codes, one in Python, one in Go. They are supposed to do the same thing. Get a .png file and show it. The Python code shows the picture. The Go code doesn't. Doesn't Sololearn the display of .png files in all languages? https://code.sololearn.com/cwxmMD7S12rV/?ref=app https://code.sololearn.com/crjvzxiizGGo/?ref=app

6th Feb 2023, 8:56 PM
Paul
Paul - avatar
1 Antwort
+ 2
Sololearn does not support processing and viewing .png files as part of its code execution environment, the code in Go you provided downloads a .png image from the internet and saves it to your local disk, but it doesn't display it in a viewable format, code in Python does the same, but might be viewed on a system that has an image viewer installed that knows how to open .png files.
6th Feb 2023, 9:17 PM
ArsenicolupinIII