sail/0.9.5

The missing small and fast image decoding library for humans (not for machines)
Recipe info
2024-05-20

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
sail/0.9.5

Using sail

Note

If you are a new Conan user, we recommend reading the how to consume packages tutorial.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
sail/0.9.5
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("sail/0.9.5")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): Sail
  • CMake target name(s): sail::sail
  • libsail => SAIL::Sail
    sail-c++ => SAIL::SailC++
    sail-manip => SAIL::SailManip
    sail-codecs => SAIL::SailCodecs
    sail-common => SAIL::SailCommon
    
  • pkg-config file name(s): sail.pc
  • libsail => libsail.pc
    sail-c++ => libsail-c++.pc
    sail-manip => libsail-manip.pc
    sail-codecs => sail-sail-codecs.pc
    sail-common => libsail-common.pc
    

A simple use case using the CMake file name and the global target:

# ...
find_package(Sail REQUIRED)
# ...
target_link_libraries(YOUR_TARGET sail::sail)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the sail homepage listed above:

#include "sail/sail-c++/abstract_io.h"
#include "sail/sail-c++/arbitrary_data.h"
#include "sail/sail-c++/at_scope_exit.h"
#include "sail/sail-c++/codec_info.h"
#include "sail/sail-c++/compression_level.h"
#include "sail/sail-c++/context.h"
#include "sail/sail-c++/conversion_options.h"
#include "sail/sail-c++/iccp.h"
#include "sail/sail-c++/image.h"
#include "sail/sail-c++/image_input.h"
#include "sail/sail-c++/image_output.h"
#include "sail/sail-c++/io_base.h"
#include "sail/sail-c++/io_file.h"
#include "sail/sail-c++/io_memory.h"
#include "sail/sail-c++/load_features.h"
#include "sail/sail-c++/load_options.h"
#include "sail/sail-c++/log.h"
#include "sail/sail-c++/meta_data.h"
#include "sail/sail-c++/ostream.h"
#include "sail/sail-c++/palette.h"
#include "sail/sail-c++/resolution.h"
#include "sail/sail-c++/sail-c++.h"
#include "sail/sail-c++/save_features.h"
#include "sail/sail-c++/save_options.h"
#include "sail/sail-c++/source_image.h"
#include "sail/sail-c++/special_properties.h"
#include "sail/sail-c++/suppress_begin.h"
#include "sail/sail-c++/suppress_c4251.h"
#include "sail/sail-c++/suppress_end.h"
#include "sail/sail-c++/tuning.h"
#include "sail/sail-c++/utils.h"
#include "sail/sail-c++/variant.h"
#include "sail/sail-common/common.h"
#include "sail/sail-common/common_serialize.h"
#include "sail/sail-common/compiler_specifics.h"
#include "sail/sail-common/compression_level.h"
#include "sail/sail-common/config.h"
#include "sail/sail-common/export.h"
#include "sail/sail-common/hash_map.h"
#include "sail/sail-common/iccp.h"
#include "sail/sail-common/image.h"
#include "sail/sail-common/io_common.h"
#include "sail/sail-common/load_features.h"
#include "sail/sail-common/load_options.h"
#include "sail/sail-common/log.h"
#include "sail/sail-common/memory.h"
#include "sail/sail-common/meta_data.h"
#include "sail/sail-common/meta_data_node.h"
#include "sail/sail-common/palette.h"
#include "sail/sail-common/pixel.h"
#include "sail/sail-common/resolution.h"
#include "sail/sail-common/sail-common.h"
#include "sail/sail-common/save_features.h"
#include "sail/sail-common/save_options.h"
#include "sail/sail-common/source_image.h"
#include "sail/sail-common/status.h"
#include "sail/sail-common/string_node.h"
#include "sail/sail-common/utils.h"
#include "sail/sail-common/variant.h"
#include "sail/sail-common/variant_node.h"
#include "sail/sail-manip/conversion_options.h"
#include "sail/sail-manip/convert.h"
#include "sail/sail-manip/manip_common.h"
#include "sail/sail-manip/sail-manip.h"
#include "sail/sail/codec_bundle.h"
#include "sail/sail/codec_bundle_node.h"
#include "sail/sail/codec_info.h"
#include "sail/sail/codec_priority.h"
#include "sail/sail/context.h"
#include "sail/sail/io_file.h"
#include "sail/sail/io_memory.h"
#include "sail/sail/io_noop.h"
#include "sail/sail/layout/v8.h"
#include "sail/sail/layout/v8_pointers.h"
#include "sail/sail/sail.h"
#include "sail/sail/sail_advanced.h"
#include "sail/sail/sail_deep_diver.h"
#include "sail/sail/sail_junior.h"
#include "sail/sail/sail_technical_diver.h"