Free Support Forum - aspose.com

Adding book cover image to ePub file converted from Word

I am using the Aspose product that inverts my Word doc to an epub file. Everything is successful except I cannot insert the book cover image. Would anyone know how to do this?

Hi Lisa,


Thanks for your inquiry. You can include a cover image on output EPUB documents either by importing an existing image or by generating a thumbnail of one of the document page’s using Aspose.Words. You can set the thumbnail of the document using BuiltInDocumentProperties.Thumbnail property. Image of arbitrary format can be set to this property, but the format is checked during export. InvalidOperationException is thrown if the image is invalid or its format is unsupported for specific format of document. Only gif, jpeg and png images can be used for ePub publication.

Best regards,