sail v0.9.6
- Created
- Updated
The missing small and fast image decoding library for humans (not for machines)
# Usage
The package sail provides CMake targets:
C libraries:
find_package(Sail CONFIG REQUIRED)
target_link_libraries(main PRIVATE SAIL::sail)
C++ bindings:
find_package(SailC++ CONFIG REQUIRED)
target_link_libraries(main PRIVATE SAIL::sail-c++)
# License
# Supported Platforms
!uwp
- ✅ linux
- ✅ osx
- ✅ windows
- ❌
uwp
# Features
Default feature: highest-priority-codecs
# all
Enable all codecs
Dependencies:
sail
Features:
high-priority-codecs
,highest-priority-codecs
,low-priority-codecs
,lowest-priority-codecs
,medium-priority-codecs
and 18 transitive dependencies:
Host Dependencies:
3 transitive dependencies:
- vcpkg-cmake (by nanosvg )
- vcpkg-cmake-config (by nanosvg )
vcpkg-cmake-get-vars (by libpng )
Platforms:
arm & android
# avif
Enable AVIF codec
Host Dependencies:
3 transitive dependencies:
- vcpkg-cmake (by libjpeg-turbo )
- vcpkg-cmake-config (by libjpeg-turbo )
- vcpkg-cmake-get-vars (by libyuv )
# bmp
Enable BMP codec
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
# gif
Enable GIF codec
Host Dependencies:
one transitive dependency:
- vcpkg-cmake (by giflib )
# high-priority-codecs
Enable high priority codecs such as BMP
Dependencies:
sail
Features:
bmp
,highest-priority-codecs
,svg
Host Dependencies:
3 transitive dependencies:
- vcpkg-cmake (by giflib )
- vcpkg-cmake-config (by libjpeg-turbo )
vcpkg-cmake-get-vars (by libpng )
Platforms:
arm & android
# highest-priority-codecs default
Enable highest priority codecs such as JPEG or PNG
Dependencies:
sail
Features:
gif
,highest-priority-codecs
,jpeg
,png
,tiff
Host Dependencies:
3 transitive dependencies:
- vcpkg-cmake (by giflib )
- vcpkg-cmake-config (by libjpeg-turbo )
vcpkg-cmake-get-vars (by libpng )
Platforms:
arm & android
# ico
Enable ICO codec
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
# jpeg
Enable JPEG codec
Host Dependencies:
2 transitive dependencies:
- vcpkg-cmake (by libjpeg-turbo )
- vcpkg-cmake-config (by libjpeg-turbo )
# jpeg2000
Enable JPEG2000 codec
Dependencies:
and 5 transitive dependencies:
- egl-registry (by opengl-registry )
- libjpeg-turbo (by jasper )
- opengl (by freeglut )
- opengl-registry (by opengl )
Host Dependencies:
2 transitive dependencies:
- vcpkg-cmake (by libjpeg-turbo )
- vcpkg-cmake-config (by libjpeg-turbo )
# jpegxl
Enable JPEG XL codec
# low-priority-codecs
Enable low priority codecs such as TGA
Dependencies:
sail
Features:
highest-priority-codecs
,ico
,pcx
,psd
,qoi
,tga
Host Dependencies:
3 transitive dependencies:
- vcpkg-cmake (by giflib )
- vcpkg-cmake-config (by libjpeg-turbo )
vcpkg-cmake-get-vars (by libpng )
Platforms:
arm & android
# lowest-priority-codecs
Enable lowest priority codecs such as XBM
Dependencies:
sail
Features:
highest-priority-codecs
,wal
,xbm
Host Dependencies:
3 transitive dependencies:
- vcpkg-cmake (by giflib )
- vcpkg-cmake-config (by libjpeg-turbo )
vcpkg-cmake-get-vars (by libpng )
Platforms:
arm & android
# medium-priority-codecs
Enable medium priority codecs such as AVIF
Dependencies:
sail
Features:
avif
,highest-priority-codecs
,jpeg2000
,jpegxl
,webp
and 17 transitive dependencies:
Host Dependencies:
3 transitive dependencies:
- vcpkg-cmake (by libjpeg-turbo )
- vcpkg-cmake-config (by libjpeg-turbo )
- vcpkg-cmake-get-vars (by libyuv )
# openmp
Enable OpenMP support
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
# pcx
Enable PCX codec
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
# png
Enable PNG codec
Host Dependencies:
3 transitive dependencies:
- vcpkg-cmake (by libpng )
- vcpkg-cmake-config (by libpng )
vcpkg-cmake-get-vars (by libpng )
Platforms:
arm & android
# psd
Enable PSD codec
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
# qoi
Enable QOI codec
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
# svg
Enable SVG codec
Host Dependencies:
2 transitive dependencies:
- vcpkg-cmake (by nanosvg )
- vcpkg-cmake-config (by nanosvg )
# tga
Enable TGA codec
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
# tiff
Enable TIFF codec
Host Dependencies:
2 transitive dependencies:
- vcpkg-cmake (by tiff )
- vcpkg-cmake-config (by tiff )
# wal
Enable WAL codec
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
# webp
Enable WEBP codec
Host Dependencies:
2 transitive dependencies:
- vcpkg-cmake (by libwebp )
- vcpkg-cmake-config (by libwebp )
# xbm
Enable XBM codec
Dependencies:
No dependencies.
Host Dependencies:
No dependencies.
# Dependencies
No dependencies.
# Host Dependencies
No transitive dependencies.
# Dependents
- sail (feature
all
) - sail (feature
high-priority-codecs
) - sail (feature
highest-priority-codecs
) - sail (feature
low-priority-codecs
) - sail (feature
lowest-priority-codecs
) - sail (feature
medium-priority-codecs
)
# Host Dependents
No dependents.
# Contributors
- Dmitry Baryshev
- autoantwort
- Dmitry Baryshev
- Lily Wang
- JonLiu1993
- Thomas1664
- gerard-ryan-immersaview