0
Why is this not working?
There are two codes here: https://code.sololearn.com/cCR4k69Sm14C/?ref=app the second one prints an image in jpg form while the first prints it as a byte. How to change byte to jpg? the byte code is not wrong it worked in my laptop
6 odpowiedzi
0
It works just fine. Scroll ALL the way down
0
Slick there are two codes there
both code contain different images
The first code is a math equation which is not printed in jpg form
The second is some wallpaper which is being printed as a jpg
0
Right, but thats only byte code. Have you tried "cat"ing the image to see what the output is?
0
no, how to do it
0
If your on mobile, open termux, find the image, and type:
cat <image filename> | less
Then you can see what it's made out of. And even if the byte code is correct, you just write the string to a file in bytes and read it back. It'll just give you the byte code right back
0
oh okk Thank you