-
-
Notifications
You must be signed in to change notification settings - Fork 17
Formats
Basically, gal
automatically identifies formats and saves media. Therefore, users of this package do not need to do their own filtering for formats.
If an attempt is made to save media that is not supported by the OS, this package will throw
a GalException.notSupportedFormat
.
⚠️ File names must include the extension. Saving files without file extensions is not supported as it may cause unexpected behavior or make them unrecognizable to the gallery app. WindowsputImage
andputVideo
will save the file regardless of its format.
If you got a GalException.notSupportedFormat
with a major file type such as mp4, please check and see if the format (video codec) is supported by the OS.
Both the file type and format (video codec) must be supported.
If you want to save a video with an unsupported video codec, you may need to re-encode the video using ffmpeg_kit_flutter.