i'm Has anyone done batch resizing of images in QB64?
I'm looking to make a simple drag and drop exe that you drag one or more pictures onto (or maybe send it a command line parameter with a path, or a path + a pattern) and it will auto-convert all the images in the folder to some predetermined target resolution at a high quality (or maybe be able to choose the quality vs processing time?) and write the converted images to target folder (or the same folder but with some prefix or change to the file name so you can easily separate them). It would support JPEG / PNG maybe also BMP / GIF, maybe specify the output format + quality?
Bonus if the created file retains the modified date of the original.
If anyone has done or seen this kind of thing, I would be interested in any samples or advice...!
UPDATE: I think ImageMagick is what I was thinking of.
It would still be interesting to do this in QB64, but ImageMagick with a batch file should work for now...
https://www.imagemagick.org/script/download.php#windows
imagemagick - Lightweight command-line image resizer? - Stack Overflow
https://stackoverflow.com/questions/3455...ge-resizer
I'm looking to make a simple drag and drop exe that you drag one or more pictures onto (or maybe send it a command line parameter with a path, or a path + a pattern) and it will auto-convert all the images in the folder to some predetermined target resolution at a high quality (or maybe be able to choose the quality vs processing time?) and write the converted images to target folder (or the same folder but with some prefix or change to the file name so you can easily separate them). It would support JPEG / PNG maybe also BMP / GIF, maybe specify the output format + quality?
Bonus if the created file retains the modified date of the original.
If anyone has done or seen this kind of thing, I would be interested in any samples or advice...!
UPDATE: I think ImageMagick is what I was thinking of.
It would still be interesting to do this in QB64, but ImageMagick with a batch file should work for now...
https://www.imagemagick.org/script/download.php#windows
imagemagick - Lightweight command-line image resizer? - Stack Overflow
https://stackoverflow.com/questions/3455...ge-resizer