Changed the change_size_of_png() function quite a bit. Added a TODO there, where I can continue working on once I grow more familiar with libpng