Loss of quality using the redact function. How to set the image quality?

When I obscure an area of ​​a pdf using the readact function, the image quality in the exported pdf is poor. Is there a way to export without loss of quality?