Free Support Forum - aspose.com

Convert PDF to Image with Aspose.Pdf

Hi,

I’m attempting to use Aspose .NET 3.5 libraries to render jpegs from multiple filetypes.

I have managed this with aspose.cells and aspose.words, but cannot find a way of doing it with aspose.pdf. Is it possible?

As an alternative, would I need to convert it to another format first (say .doc or .html) then render images from that?

I’m trying Aspose for a proof of concept, so a quick response would be much appreciated.

Thanks,
Paul

Hi Paul,


Thanks for your interest in our products.

Aspose.Pdf for .NET supports the conversion of PDF files to Image format. Furthermore, it also supports the feature to render various files types (XPS, HTML, XML, XSL-FO, Image files) to PDF format and then you can render the the file to Jpeg formats. Please visit the following link for further information on
In the event of any further query, please feel free to contact.

Thanks for your quick response Nayyer,

Is it possible to do what I have outlined in my original post (render images from ppt, pptx, pdf, doc, docx, xls, xlsx) with just aspose.imaging, or do I need each project (ie. aspose.words for doc and docx)?

Also, could you direct me to a similar programmer’s refernce for rendering images from ppt files using aspose.slides? I need this as although I think I’ve got the code correct, the resulting images are coming up in Photoshop saying:
“Could not complete your request because a JPEG marker segment length is too short (the file may be truncated or incomplete)”".

Thanks again,
Paul.

paul.r:
Is it possible to do what I have outlined in my original post (render images from ppt, pptx, pdf, doc, docx, xls, xlsx) with just aspose.imaging, or do I need each project (ie. aspose.words for doc and docx)?

Hi Paul,

Thanks for sharing the details.

Aspose.Words supports the feature to create as well as manipulate MS Word documents. It offers the feature to save the word document into JPEG format. Please visit the following link for required information. How to Convert a Document to PDF (Simply use Jpeg value from SaveFormat enumeration instead of PDF)

Aspose.Cells supports the feature to create and manipulate excel worksheets. It also supports the capability to render worksheets into Image format. For more information, Converting Worksheet to Image

Similarly, Aspose.Slides offers the feature to create and manipulate power point presentations. For information on Presentation to Image, please visit Creating Slides Thumbnail Image

In case you face any issue or you have any further query, please feel free to contact.

You haven’t answered my question at all, I’m affraid.

Is
it possible [to render
images from ppt, pptx, pdf, doc, docx, xls, xlsx] with just
aspose.imaging, or do I need each project (ie. aspose.words for doc and
docx)?

Hi Paul,

Thanks for your interest in Aspose. I'm afraid Aspose.Imaging doesn't support rendering images from ppt, pptx, pdf, doc, docx, xls and xlsx. You have to use respective Aspose API for the purpose, as described above by Nayyer. Once you render your documents to images and later, if required, you can use Aspose.Imaging for manipulating the images.

Please feel free to contact us for any further assistance.

Best Regards,