@@ -15,6 +15,7 @@ public enum MimeType: String {
1515 case applicationZip = " application/zip "
1616 case imageApng = " image/apng "
1717 case imageBmp = " image/bmp "
18+ case imageDng = " image/x-adobe-dng "
1819 case imageGif = " image/gif "
1920 case imageHeic = " image/heic "
2021 case imageHeif = " image/heif "
@@ -74,7 +75,7 @@ public enum MimeTypeUtil {
7475 public static let supportedAudioUtiTypes : Set < String > = Set ( utiTypesForMimeTypes ( supportedAudioMimeTypesToExtensionTypes. keys) )
7576 public static let supportedInputImageUtiTypes : Set < String > = Set ( utiTypesForMimeTypes ( supportedImageMimeTypesToExtensionTypes. keys) )
7677 public static let supportedOutputImageUtiTypes : Set < String > = Set ( utiTypesForMimeTypes ( supportedImageMimeTypesToExtensionTypes. keys,
77- excluding: [ MimeType . imageWebp. rawValue, MimeType . imageHeic. rawValue, MimeType . imageHeif. rawValue] ) )
78+ excluding: [ MimeType . imageWebp. rawValue, MimeType . imageHeic. rawValue, MimeType . imageHeif. rawValue, MimeType . imageDng . rawValue ] ) )
7879 public static let supportedAnimatedImageUtiTypes : Set < String > = Set ( utiTypesForMimeTypes ( supportedMaybeAnimatedMimeTypesToExtensionTypes. keys) )
7980 private static func utiTypesForMimeTypes< S: Sequence < String > > ( _ mimeTypes: S , excluding excludedMimeTypes: Set < String > ? = nil ) -> Set < String > {
8081 var result = Set < String > ( )
@@ -188,6 +189,7 @@ public enum MimeTypeUtil {
188189 MimeType . imageXTiff. rawValue: " tif " ,
189190 MimeType . imageBmp. rawValue: " bmp " ,
190191 MimeType . imageXWindowsBmp. rawValue: " bmp " ,
192+ MimeType . imageDng. rawValue: " dng " ,
191193 MimeType . imageHeic. rawValue: " heic " ,
192194 MimeType . imageHeif. rawValue: " heif " ,
193195 MimeType . imageWebp. rawValue: " webp " ,
0 commit comments