Topic: Resizing images
Hello all !!
First things first, let me wish you all a happy 2016 year.
The application I'm building downloads images from the web.
I use :
HTTPGetFile(some_file_url,path_+_image_file_name_to_save');
This goes into a TEMP folder in the application folder, and later this is saved in database with the rest of the infos.
No problem here, everything works fine.
I have chosen to save images in database because too many users would mess up with the folders containing images and I wanted to avoid that.
But with an average of about 300ko per image, database will soon reach 100 of Mo.
My question is, is it possible with a script, before saving into database, to resize pictures while maintaining aspect ratio ?
I've tried a few tricks, but all involved redrawing the picture and calling external addons we can not incorporate in MVD.
Any idea ?
Cheers
Mathias
Each time I get a divorce, I keep the house
Zaza Gabor