cancel
Showing results for 
Search instead for 
Did you mean: 

Create a Thumbnail Image per document Page

bpmarko
Champ in-the-making
Champ in-the-making
Hi Guys,

I am trying to output a series of thumbnails for Alfresco contents (types of .PPT(x), .DOC(x), .XLS(x), .pdf etc) to an image format (.PNG or .JPG), and require one image per page in the document.

I have created a new org.alfresco.repo.thumbnail.ThumbnailDefinition for my required thumbnail size and this works great, as I can then create and access the thumbnails via the REST API. However, I can only seem to get an image for the first page or slide or sheet etc.

Is it possible to add an option to create a thumbnail for all pages?

Alternatively, looking at the configs, it appears that it MIGHT be the case that renditions to an Image format go via an interim format of PDF. IF this is the case, is it possible to keep and reference the interim PDF file as I could use the ImageMagick/GhostScript to then genarate thumbnail images from that.

I am using the latest version of Enterprise Edition as we are currently at Proof of Concept stage.

Hope someone can help,

Cheers,

Bernard Marko
1 REPLY 1

christopheradam
Champ in-the-making
Champ in-the-making
<a href="http://www.rasteredge.com/how-to/vb-net-imaging/thumbnail-creating/">Creating thumbnail</a> is no longer a hard task. As long as you choose a right image thumbnail creating tool, you can easily and quickly create thumbnail from multiple document and image formats, such as PDF, TIFF, GIF, BMP, etc.

    Public Function CreateThumbnail(ImageID As Integer, Width As Integer, Height As Integer) As Integer
     End Function