This will preserve the exported image quality. Currently the only option to achieve this is through the EncodedImageData class. However, using this approach is not easy because the user have to know the width, height, color space and filters of the image.