Image compression from filepicker