blob: 10c063c8aa28a807c07fa4b78432a6b37e85f6bc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
.TH LIBLSS16 7 LIBLSS16
.SH NAME
liblss16 \- Library for the SYSLINUX \(dqad hoc\(dq LSS16 image format
.SH DESCRIPTION
.B liblss16
is a C library for encoding and decode the LSS16 image file
format, which is a SYSLINUX \(dqad hoc\(dq lossless, compressed,
low-fidelity image file format optimised bootloaders in low-end
graphics environments.
.PP
.B liblss16
provides the following functions for decoding LSS16 images:
.RS
.TP
.BR liblss16_decoder_init (3)
Prepare state for
.BR liblss16_decode_to_colour_index (3).
.TP
.BR liblss16_decode_to_colour_index (3)
Decode an file. The colour of each pixel is output with
the index of the colour in the colour palette.
.TP
.BR liblss16_decode_strerror (3)
Get error description for error code returned by
.BR liblss16_decode_to_colour_index (3).
.RE
.PP
.B liblss16
provides the following functions for encoding LSS16 images:
.RS
.TP
.BR liblss16_optimise (3)
Optimise an image for optimal compression with LSS16.
.TP
.BR liblss16_encoder_init (3)
Prepare state for
.BR liblss16_encode_from_colour_index (3).
.TP
.BR liblss16_encode_from_colour_index (3)
Encode an file. The colour of each pixle is input as
the index of the colour in the colour palette.
.TP
.BR liblss16_encode_strerror (3)
Get error description for error code returned by
.BR liblss16_encoder_init (3).
.RE
.SH EXTENDED DESCRIPTION
The
.B liblss16
project also implements the following utilities:
.TP
.BR lss16toppm (1)
Convert an LSS16 file to a Portable Pixmap (PPM) file.
.TP
.BR ppmtolss16 (1)
Convert a Portable Pixmap (PPM) file to an LSS16 file.
.SH SEE ALSO
.BR lss16 (5),
.BR syslinux (1)
|