Pdf compression returns invalid file

New Here ,
Dec 26, 2021 Dec 26, 2021

Copy link to clipboard

Copied

I am currently evaluating the compression REST apis.  I am getting results via the GET request where the compressed file is returned however I am getting errors stating the returned file is invalid, I am correctly extracting the returned file from the returned string and converting it to  Uint8Array or even Arraybuffer but neither yields a valid file and I am extracting just from the %PDF string in the returned data and I have tried compressing different files - all yield same results

Views

44

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 11, 2022 Feb 11, 2022

Copy link to clipboard

Copied

LATEST

Can you share your code?

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources