PdfImageCompression gives the same size PDF for both auto and jpeg options

Hi,
I am using the following sample code to achieve the compression of images in the PDF.

String dir = "C:\\Users\\Administrator\\Downloads\\Compression\\";
Document pdfDocument = new Document(dir + "test.docx");
PdfSaveOptions options = new PdfSaveOptions();
options.setImageCompression(PdfImageCompression.AUTO);
pdfDocument.save(dir+"output_PDF_compression_Auto.pdf");

But the output has the same size for both AUTO and JPEG options.
Can you please explain this.
Attaching the document, aspose_renditions, office_SaveAs rendition,images.
How to verify the compression?

This is in addition to this issue https://forum.aspose.com/t/dts-5714-queries-regarding-aspose-words/201405

Regards,
Ankur Vashishtha

output_PDF_compression_Jpeg.zip (7.3 MB)
test_office.zip (4.3 MB)

Cant upload the tiff image as the size is more than 10 mb

Regards,
Ankur

@sumeetm

You are not using PdfSaveOptions parameter in Document.Save method.

Please use the latest version of Aspose.Words for Java 19.9 and following code example to get the desired output.

Document pdfDocument = new Document(MyDir + "test.docx");
PdfSaveOptions options = new PdfSaveOptions();
options.setImageCompression(PdfImageCompression.AUTO);
pdfDocument.save(MyDir + "19.9_Auto.pdf", options);