Skip to main content
17-Peridot
July 21, 2019
Solved

How to compress image in javascript service ?

  • July 21, 2019
  • 1 reply
  • 980 views

 Hi , 

I'm using  FileRepository.SaveImage to save the image upload from the client .   The image size is more than 4M ,  how can I compress the image in Thingworx server ?   or I have to compress it in client side ? 

 

Regards,

Sean

Best answer by Constantine
Hello,

Probably the easiest thing to begin with is resizing it using this extension: https://marketplace.ptc.com/apps/193452/imaging-tools

/ Constantine

1 reply

18-Opal
July 22, 2019
Hello,

Probably the easiest thing to begin with is resizing it using this extension: https://marketplace.ptc.com/apps/193452/imaging-tools

/ Constantine