I have a FileChooser object that selects images from the local directory. I then set the image chosen to a sprite.
Rather than setting a limit to the image size that could be selected from the local directory, I would like to compress the image. Compressing the image doesn't limit the images that can be chosen. Is there a way to do this?