Oh in that case. Let me look up an open source tool I’ve used for PDFs before. It might be able to do it.
It’s called pdfsam.
I’m not sure if it can do what you are asking, but I think it will do the trick.
You might be able to use the convert function of ffmpeg to extract the pages as png and then recreate a new pdf from the pngs that were extracted, but this may not work for your specific file.