Image Trace script does not recognize uppercase JPG files, only lowercase jpg
Ai v 27.2 (64bit) Windows 10.
Image Trace Script is not recognizing uppercase JPG file extensions, only images with lowercase jpg extension.
I have not tried the same for PNG vs png to see if it is also not recognizing upper vs lower case extensions.
The folder of images I was testing has mixed case JPG/jpg extensions. These images had been created in Photoshop.
-
Indeed, it does.
If you locate the ImageTracing.jsx (should be somewhere here: C:\Program Files\Adobe\Adobe Illustrator 2023\Presets\en_GB\Scripts\ImageTracing.jsx) and open it in a text editor, in the line 36 you will find this:
var COLLECTABLE_EXTENSIONS = ["bmp", "gif", "giff", "jpeg", "jpg", "pct", "pic", "psd", "png", "tif", "tiff"];So the script is written in a way it's case-sensitive.
You can modify the script (the easiest way is to include upper-case variants for all the extensions) and backup it, since it’d be replaced each time Ai updates.As for the permanent fix to this — I’ll try to let the team know.
Thanks!(Edited by admin) -
Mark commented
More inconvenient than important especially when you want to do a large batch of images and half of them are uppercase JPG and the rest lowercase jpg. I could write a powershell script to change the extensions, but Ai is a pricy tool, it should work.