Hi,
One of our customers receives from their customers xml data with binary data (containing pictures).
The problem is that the size of the pictures are sometimes very big (not too big to receive). So if a pictues size is too big after they have received it and stored in a servers directory, they want to make the size of the picture smaller.
They use LANSA Composer. Is their someone have this situation with a soultion?
Or any suggestions?
Kind regards,
René
Make image sizes smaller (Composer)
Re: Make image sizes smaller (Composer)
René,
depending on which type of server (windows or IBMi) they are using, the 'easiest' solution would be to place the files in a directory (from the xml) and use WATCH_DIRECTORY activity to monitor for new files, then run an external program over them (there are various command line programs for both windows and IBMi PASE environment that will resize images).
once you have the programs (search the internet, there are plenty of open souce ones), writing a processing sequence to do this should be relatively straight forward.
Brendan.
depending on which type of server (windows or IBMi) they are using, the 'easiest' solution would be to place the files in a directory (from the xml) and use WATCH_DIRECTORY activity to monitor for new files, then run an external program over them (there are various command line programs for both windows and IBMi PASE environment that will resize images).
once you have the programs (search the internet, there are plenty of open souce ones), writing a processing sequence to do this should be relatively straight forward.
Brendan.