ImageKit supports the following image formats for resizing and automatic compression:
Supported image types
Apart from above image formats, you can use ImageKit to delivery these static files. You can also directly upload files in media library.
Supported non-image types
- TS file (video stream file)
- M3U8 (video playlist file for streaming)
Different ways of uploading files to the Media Library
The Media Library comes with a very easy to use interface to upload files. You can simply drag and drop the files in the Media Library section in the dashboard. The file would automatically start uploading. Once the file upload is complete, you will get a URL for that file.
The other way to upload files is via our upload APIs. These APIs provide you with a programmatic method to upload images and files to the Media Library. There are separate APIs to upload images and files to the Media Library. You get the file URL and other necessary information in the API response if the upload is successful. These APIs have been discussed in further detail in the Upload section of this documentation.