AnsweredAssumed Answered

image transformation in webscript

Question asked by shai on Oct 15, 2009
Latest reply on Oct 15, 2009 by zaizi
Hello,
I have a webscript for content upload, and I want to resize all images at upload time, so they all will have the same size.
I have a batch file for doing that, based on ImageMagick's transform, but I don't know how to combine it with my webscript (and if it's possible). Is there a way to call an external batch file from the webscript (like a command line shell)? or is there another way to access ImageMagick from the webscript?
I saw an article about adding image transformation options to alfresco by adding an aspect (http://wiki.alfresco.com/wiki/Using_Alfresco_for_Image_Transformation), but it didn't really help me…

Thank you!

Shai

Outcomes