jpeg Corruption

OK so this photo got corrupted by accident, now I want to investigate how to do it on purpose.

1s and 0s