Compressing Images before Commit

0
Hi there, I'm looking to compress images before they are uploaded to the server to save space. However, I'm unable to run a Java action to compress an image before commit as the file doesn't exist before commit: Anyone know how to compress an image before committing the object?   Thanks, Liam
asked
1 answers
1

Hi Liam,

I wanted to know why do you need committed object, i have used this on uncommitted image object passed as a parameter , I have attached image below you can see the return value is true and it did get compressed.

capture.jpg

I am using mxtechies module for this java action

Let me know if you need further help

Good luck!

answered