Free Support Forum - aspose.com

Thumbnail generation for word document

Hi

I’m trying to generate thumbnails for word documents which are basically a snapshot of the first page.
I was wondering whether Aspose provides Word to Image conversion out of the box

Another option I was considering is to convert to PDF and then convert pdf to image (i have technology for that), but in this case how to i convert to PDF only 1st page of word document? (I know how to convert the whole doc)

Please advice


Hello<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for your interest in Aspose products. Currently converting to image is supported only in .NET version of Aspose.Words. Please see the following link for more information:

(NET) http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/about-rendering-in-aspose-words.html

(Java) http://www.aspose.com/documentation/java-components/aspose.words-for-java/about-rendering-in-aspose-words.html

At the moment we are working on synchronizing .NET and Java versions of Aspose.Words. Once we finish this work, all features, which are available in .NET version will be also available in Java version. We plan to finish this work within 3-4 weeks. You will be notified.

Regarding the second question, there is no direct way to convert a certain page of the document to PDF.

Best regards,

Andrey

Thanks for your quick response
Looking forward to notification from you that the feature is released

Irena

Hi Irena,

Thanks for your inquiry.

Just to clarify what Andrey has explained, image rendering will be available in Java but not in the first auto ported version due out shortly. It will become available in the version released after that (around a month later).

Thanks,

Guys

It would be good to know the approximate date this feature become available. We would like to plan the roadmap of the features dependent on this functionality

thanks,
Irena

Hi Irena,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. We are still working on synchronizing .NET and Java versions of Aspose.Words. You can check progress here:

https://blog.aspose.com/2011/02/11/autoporting-aspose-words-for-java-progress-11th-feb-2011

Best regards,

Andrey

Unfortunately it’s difficult for me to estimate the release date of the feature I’m interested in by the number of failing unit tests :slight_smile:

Can you please give me an approximate date when this feature becomes available for your customers?
This will help us plan the roadmap for our product some features of which are dependent on this functionality

Regards
Irena Stetska

Loomis Sayles and Co

Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. Hopefully the new version of Aspose.Words for Java will be released somewhere in March. You will be notified as soon as it is released.

Best regards,

The issues you have found earlier (filed as WORDSJAVA-20) have been fixed in this .NET update and in this Java update.

Thanks Alexey. Can I get an example please of rendering Word to image
Thanks!

Hello

Thanks for your request. Please see the following code:

Document doc = new Document("in.doc");

doc.save("out.jpeg", SaveFormat.JPEG);

Also please see the following link:

http://www.aspose.com/documentation/java-components/aspose.words-for-java/com/aspose/words/document.html#save(java.lang.String)

Best regards,

Guys I can’t access documentation at the link in your post above.
It prompts me for a username.password but the credentials i’m using to access the forum (loomis/loomis) do not work to access documentation
please help

Hi there,


Thanks for your inquiry.

We will look into this issue as soon as possible, sorry for any inconvenience.

You can find the new address for this article in the documentation here: http://www.aspose.com/docs/display/wordsnet/Document+Save+Overload_1

Thanks,