Group4Layers / ex_image_info

ExImageInfo is an Elixir library to parse images (binaries) and get the dimensions (size), detected mime-type and overall validity for a set of image formats. It is the fastest and supports multiple formats.
https://hex.pm/packages/ex_image_info
Other
95 stars 4 forks source link

PSD mime should be image/vnd.adobe.photoshop ? #3

Closed michelson closed 2 years ago

michelson commented 2 years ago

Hello, thanks for this useful library. Is possible to configure different mime types to respond to .PSD? I believe that the format should be image/vnd.adobe.photoshop as documented in some mime types databases. Would you accept a pull request for this?

nozalr commented 2 years ago

Hey, @michelson! Thanks for your words.

Sure, your functionality will be welcomed. Be sure you prepare:

I will assist you when you do the PR.

Have a good day.

michelson commented 2 years ago

Thanks! I've ended up doing another package that does the mime detection only, thanks anyway for your willingness to help on this.

you can close this issue if you want, best