Where in this file is the compression handled/setup?

I want to remove the image compression from the thumbs.
where in the plugin is that setting done?

Thanks
Joe