Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SupportedExtensions = map[string]func(string, string) error{
".heic": convertToJpg,
".HEIC": convertToJpg,
".jpg": convertToJpg,
".jpeg": convertToJpg,
".JPG": convertToJpg,
".JPEG": convertToJpg,
".mov": convertMovToMp4,
".MOV": convertMovToMp4,
".mp4": convertMovToMp4,
".MP4": convertMovToMp4,
}
SupportedExtensions is a map of supported file extensions and their corresponding processing functions
Functions ¶
func GenerateOrderedFilename ¶
GenerateOrderedFilename generates a filename with an ordered prefix
func GetOrientation ¶
GetOrientation extracts the orientation from an image file
func IsSupported ¶
IsSupported checks if a given file is supported based on its extension
func ProcessLocalMediaFile ¶
ProcessLocalMediaFile handles the processing of a single media file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.