I'm looking for some guidance on how to add a new type of rendition to a set of nodes. Basically I have a large number of .TIF files that I would like to create smaller JPEG or PNG renditions for to be used a website.
Using 'transformImage' I can easily create new versions of an image and store them in a folder which is really nice:
var node = search.findNode('workspace://SpacesStore/101bc9b8-1fc7-43fa-9ff3-f22c38bae133');
var destDir = search.findNode('workspace://SpacesStore/8e955a31-2bbe-4bda-af0e-7bea49ff4db0');
var transformedNode = node.transformImage("image/jpeg", '-resize 50%', destDir);
But I'm a bit lost with using the RenditionService (render | Alfresco Documentation ) to render a transformation like the above as a new rendition.
Thanks,
Neil
Here's an oldie-but-goodie, going all the way back to March of 2009. It might help you figure out how to register a thumbnail definition, which is what you're trying to do.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.