Hi there,
I tried to use the simple example of converting an image via aspose pdf.
aspose.pdf.Pdf pdf1 = new aspose.pdf.Pdf();
aspose.pdf.Section sec1 = pdf1.getSections().add();
aspose.pdf.Image img1 = new aspose.pdf.Image(sec1);
sec1.getParagraphs().add(img1);
byte[] bytes = IOUtils.toByteArray(is);
img1.getImageInfo().setMemoryData(bytes);
img1.getImageInfo().setTitle("JPEG image");
ByteArrayOutputStream baos = new ByteArrayOutputStream();
pdf1.setConformance(???????????);
pdf1.save(baos);
One thing I am not able to do is setting the PdfConformance Level. The Enum seems a bit weird for my understanding. Can you provide any assistance on this please?
Oh and it might be nice if the package structure would match the other aspose products, starting with com.aspose instead of just aspose.
Thanks in Advance.