All the images are replaced right in your content by the compressed ones, if you remove the extension, the optimized version of the image will remain. If you want to get back your original images, you can restore them before uninstalling the app