media.vector
is a specialized library within the SmartMediaFiles ecosystem. Its purpose is to define and categorize all file types and extensions related to vector graphic files. This library provides the necessary definitions for the main @/media
library to recognize and classify vector files like SVG
, AI
, etc.
- File Type Definitions: Provides a list of
FileType
constants for each supported vector format. - File Extension Definitions: Provides a list of all corresponding
FileExtension
constants. - Type-to-Extension Mapping: Contains the
VectorFileTypesExtensions
map that links each file type to its extensions, which is then consumed by the central@/media
registry. - Future-proofing: This library will be expanded to include functions for parsing vector graphics and extracting relevant metadata.
go get -u github.com/smartmediafiles/media.vector
This project is licensed under the MIT License - see the LICENSE.md file for details.