Hi
I’m testing out Aspose conversion of BMP to PDF and have hit a problem with my 256 colout test file (attached). It produces the PDF attached. The colours, mirroring and orientation are all wrong.
This is my test code:
Pdf pdf = new Pdf();
Section sec = pdf.getSections().add();
Image img = new aspose.pdf.Image(sec);
sec.getParagraphs().add(img);
img.getImageInfo().setFile(“C:\example.bmp”);
pdf.save(“C:\example.pdf”);
Please can you advise on this.
Thanks, Richard
Version info:
com.aspose
aspose-pdf
11.2.0