Skip to content

CrossYUV (xyuv) is a C library with utilities to manage raw images. It is designed to easily support new formats without recompilation. Both YUV and RGB images are supported, with the possibility of more colour spaces in the future.

License

Notifications You must be signed in to change notification settings

stian-svedenborg/xyuv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

===================================================
||             CrossYUV Library                  ||
===================================================

Thank you for downloading the CrossYUV library, this
package contains rules to build both a static and a
shared library, together with a tool to create and
manage .xyuv files.

===================================================
||                   License                     ||
===================================================

The CrossYUV library and tools are licensed under the
MIT License, outlined below.
Furthermore, the CrossYUV source includes the rapidjson
library, also released under the MIT License. A copy
of the license may be found in the file LICENSE included
in this bundle.

===================================================
||             LibPNG and ImageMagick            ||
===================================================
CrossYUV supports loading and encoding standard image formats
such as png, jpeg etc. when compiled with libPNG or
ImageMagick support.

These should be automatically included by CMAKE at
compile time if they are installed.
For troubleshooting please refer to CMAKE's find_package documentation.

To install libPNG on Ubuntu:
$ sudo apt install libpng  -dev

To install imagemagick on Ubuntu:
$ sudo apt install libmagick  -6.q16-dev

===================================================
||                Installation                   ||
===================================================
Start by cloning the repository (recursively to bring
in the dependencies as well):

$ git clone --recursive https://github.com/stian-svedenborg/xyuv.git
$ mkdir xyuv_build
$ cd xyuv_build
$ cmake ../xyuv
$ make
$ sudo make install

You may also need to run ldconfig to update the shared library cache.
$ sudo ldconfig

The default installation directory can be overridden
by passing -DCMAKE_INSTALL_PREFIX:PATH=/path/to/somewhere
to cmake.

===================================================
||                Dependencies                   ||
===================================================
Requirements:
 - CMake 3.2
 - Rapidjson (submodule in source)
 - googletest (submodule in source)

For changing the minicalc internal expression parser
you may also require the following tools:
 - re2c lexer generator.
 - The Lemon parser generator (svn version 3080900 in tree).

About

CrossYUV (xyuv) is a C library with utilities to manage raw images. It is designed to easily support new formats without recompilation. Both YUV and RGB images are supported, with the possibility of more colour spaces in the future.

Resources

License

Stars

Watchers

Forks

Packages

No packages published