Moved code from 'TEMP-rust-png' into own library