Regular readers at this place will know about our admiration for ImageMagick and its command line (โconvertโ for macOS and Linux and โmagick.exeโ for Windows) image conversion functionality. Even so, ImageMagick is not capable of โฆ
convert filespec*.*g* *.jpeg
โฆ type of image conversion, in bulk, kind of processing (which Gimp offered with its sadly departed Bimp conversion software in the past). But tailored PHP use of the GD (image manipulation) library, helped out by (good olโ) PHP glob, is!
And so, weโve written a โproof of conceptโ converter that you can run at the RJM Programming domain, but weโd recommend for use with an Apache/PHP local web server like MAMP is! (Two in one blog posting is a record โฆ is!)
Get into MAMP, and you might want to download convert_wildcardphp PHP source code to MAMPโs Document Root folder. Else, try
it here or below โฆ
If this was interesting you may be interested in this too.