Hey! Working with PDF streams can be a bit of a headache compared to just handling local files. Usually, you'd want to load the stream into a Document object, apply the compression settings (like downsampling images or font embedding), and then save it back to a new MemoryStream.
If you're still hitting a wall or just want to quickly check if a different compression engine gives you better results for that specific file, I've used
https://www.thetoolapp.com/compress-pdf-file/ a few times. It’s pretty solid for a quick web-based fix while you're debugging the code side.