Image conversion + ftp uploads.

Hello, I'm currently working on a project that will take an image input, and then convert its resolution to multiple others, eg from 1024 x 768 to 1920 x 1080 etc. - most of the scaling will be scaling down not up.

I'm unsure how to go about this and unsure what project type to use, currently i am using a desktop application to attempt this. Re-scaling the image is also a problem and have no idea how to change it, or what library to use either.

After it has converted the image it also needs to be uploaded to a ftp server, which takes another tab or options so the ftp server, username and passwords are able to be changed for multiple users.

The current state of the project is at the very beginning, I have under a week to complete this at this stage.

Any suggestions will be much appreciated.

Regards,
XenoMoprh.
Here is some useful reading,

JPEG - https://stackoverflow.com/questions/39008893/read-in-jpeg-resize-it-and-save-it-to-disk?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa (Uses JPEG headers

FTP - https://www.sfml-dev.org/tutorials/2.4/network-ftp.php

You could use command line arguments to send the needed information to the program

program.exe -image "C:\Pics\Image1.jpg" -resolution 1024x768 -ftp ftp.mysite.com -user someuser -pass somepass
For the image you might want to use CImg:

http://www.cimg.eu/

For the ftp client this might be helpful:

https://stackoverflow.com/questions/1244095/c-ftp-library
Topic archived. No new replies allowed.