Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Image resizing utility?
#1
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
Reply


Messages In This Thread
Image resizing utility? - by madscijr - 07-17-2022, 08:04 PM
RE: Image resizing utility? - by SMcNeill - 07-19-2022, 05:49 PM
RE: Image resizing utility? - by madscijr - 07-19-2022, 07:54 PM
RE: Image resizing utility? - by mnrvovrfc - 07-25-2022, 10:46 PM



Users browsing this thread: 1 Guest(s)