Alamofire / AlamofireImage

AlamofireImage is an image component library for Alamofire
MIT License
3.99k stars 523 forks source link

Add Additional Image MIME Types, Dynamic Per OS #434

Closed jshier closed 3 years ago

jshier commented 4 years ago

Issue Link :link:

428 #47

Goals :soccer:

This PR updates our default MIME types to be properly dynamic by OS version. It also adds support for JPEG2000 on all OSes, HEIC and HEIF on 2017 OSes, and WebP on macOS 11 and iOS 14 (doesn't seem to work on tvOS 14).

Implementation Details :construction:

Simply constructs the default accept types dynamically.

Testing Details :mag:

Tests updated for additional MIME types and image type support.

maciej-letgo commented 3 years ago

Do you have any plans on continuing work on this PR?

jshier commented 3 years ago

@maciej-letgo Yes, it just needs test updates. I just need to be less busy to finish it up.