Hi,
We are attempting to apply JPEG compression via an encoding filter, using the example method here:
https://sdkhelp.pdf-xchange.com/vie ... nfo#Sample
As the example above is for the editor, we have adapted it for use with the Core SDK.
When creating our test document that contains graphics, what we are finding is that the "Quality" parameter is having no effect on the file size. It is exactly the same size whether we use "low" or "high" quality. I would be most grateful if someone could supply some example code that is for the Core SDK to clarify how this is done.
Regards,
Richard
Image compression - JPEG quality
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Image compression - JPEG quality
Hello Richard,
How are you using the IPXS_EncodeFiltersArray exactly?
If you are using the https://sdkhelp.pdf-xchange.com/vie ... StreamType method then you should call it before adding the images of the specified type. This won't convert images, that already exist in the document.
Cheers,
Alex
How are you using the IPXS_EncodeFiltersArray exactly?
If you are using the https://sdkhelp.pdf-xchange.com/vie ... StreamType method then you should call it before adding the images of the specified type. This won't convert images, that already exist in the document.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ