is there's the way to resizing file with format pdf while it uploaded to media libraries ?
Easiest would be to ask the Editor to do it before upload :).
Otherwise you have to write something custom...
Try some third party applications to compress/ Reduce the file size. Its best way to resizing the pdf files before uploading into media libraries.
Please, sign in to be able to submit a new answer.