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
- Convert all PDF Pages to Images
- How to Convert a text file to PDF
- How to Convert an Image to PDF
- How to convert HTML to PDF using InLineHTML approach
- Converting PCL file to PDF format
- Converting XSL FO to PDF
- Converting SVG file to PDF format
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)?
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,