Oxen-AI / Oxen

Oxen.ai's core rust library, server, and CLI
https://oxen.ai
Apache License 2.0
176 stars 11 forks source link

Detect image format in the file details instead of infering it from the path. #310

Closed EloyMartinez closed 3 months ago

EloyMartinez commented 3 months ago

The file opening was erroring out in a case in which the file's name ended with .png but was a jpeg. Now we detect the format of the file first before explicitly passing it into the image opening function.