Fix image format and copy size. DOESNT WORK ON PEANUT