Maps a file extension to the expo-image-manipulator save format that keeps the image in its original container.
expo-image-manipulator
File extension without the leading dot, any casing
Matching save format, or null when the format cannot be preserved
null
saveFormatForExtension('JPEG') // SaveFormat.JPEGsaveFormatForExtension('gif') // null Copy
saveFormatForExtension('JPEG') // SaveFormat.JPEGsaveFormatForExtension('gif') // null
Maps a file extension to the
expo-image-manipulatorsave format that keeps the image in its original container.