Avoid copying PNG data during encoding, directly blit Vector into bytestring