That's interesting, I never had any quality loss with my images. Maybe you could send me your original image so I could investigate that.
All effects except the 3d perspective are rendered via canvas in the client's browser. After that the image gets sent to the server which adds the perspective (if needed) and sends out the download.