Ghost image compression

I’m trying to disable image compression and just have NGINX serve the images that are needed. When adding

 "imageOptimization": {
    "resize": false,
    "srcsets": false

to the config, I notice that resized version are still being made and served in the pages. Has anyone been able to get around this issue or having it as well?

ghost 5.24
node 16.18.1
ubuntu 22
nginx 1.23.2

I also found that NGIX is more efficient with compression so I have that compress all files.