Ask coding questions

← Back to all posts
Decoding
DonoldJTrump

Is there any way that I can make python read this png file? I am trying to make a python program that can automatically databend the test.png file. But, when i try to read the file and do a test print it says:

Even though I am reading from charter 10. Is there any way that i can fix this?

Edit: I have tried the following encodings:

Voters
DonoldJTrump
Comments
hotnewtop
xfinnbar

you can use the pypng module: import pypng

DonoldJTrump

@xfinnbar dose it allow me to edit the raw data

ch1ck3n

@DonoldJTrump well yes

DonoldJTrump

@ch1ck3n I mean the raw byte. Do you know how databending works?

You add or move around random bytes that are not in the header and hope it is still renderable

Edit: Profile pic is a databent image. It was a py logo, but it no longer resembles that. If you where to download it, it might look different.