Crate sixel_sys [−] [src]
Bindings to libsixel
libsixel is an encoder/decoder implementation for DEC SIXEL graphics
SIXEL is one of image formats for printer and terminal imaging introduced by Digital Equipment Corp. (DEC). Its data scheme is represented as a terminal-friendly escape sequence. So if you want to view a SIXEL image file, all you have to do is "cat" it to your terminal.
For additional information, please check its repo
Structs
Version |
Enums
Allocator |
Can be passed to API functions to control allocation |
BuiltinDither | |
CharacterSize |
Output character size |
Decoder | |
DecoderOptflag |
Flags used in the easy decoder API. |
DiffusionMethod | |
Dither | |
EncodePolicy |
Policy used when encoding |
Encoder | |
FormatType |
Offset value used for the values of PixelFormat |
Frame | |
ImageFormat | |
LoopMode |
How to treat GIF animations that loop |
MethodForLargest |
Method for finding the largest dimension for splitting, and sorting by that component. |
MethodForRepColor |
Method for choosing the a color from the box |
Optflag |
Flags used in the easy encoder API. |
Output | |
PaletteType | |
PixelFormat |
Pixel format used in input image |
QualityMode |
Quality of palette |
ResamplingMethod |
What filter to use when resampling |
Constants
ABI_VERSION | |
BAD_ALLOCATION |
|
BAD_ARGUMENT | |
BAD_INPUT | |
CURL_ERROR | |
ERR |
Failed |
FEATURE_ERROR | |
GDK_ERROR | |
GD_ERROR | |
INTERRUPTED |
Interrupted by a signal |
JPEG_ERROR | |
LIBC_ERROR | |
LOGIC_ERROR | |
NOT_IMPLEMENTED |
Feature not implemented |
OK |
Suceeded |
OUTPUT_PACKET_SIZE | |
PALETTE_MAX | |
PALETTE_MIN | |
PNG_ERROR | |
RUNTIME_ERROR | |
STBIW_ERROR | |
STBI_ERROR | |
USE_DEPRECATED_SYMBOLS | |
VERSION |
Functions
Type Definitions
CallocFn | |
FreeFn | |
LoadImageFn | |
MallocFn | |
ReallocFn | |
Status |
Describes why a function returned |
WriteFn |