[−][src]Crate libwebp
Modules
boxed | |
error |
Functions
WebPDecodeARGB | Same as WebPDecodeRGBA, but returning A, R, G, B, A, R, G, B... ordered data. |
WebPDecodeARGBInto | |
WebPDecodeBGR | Same as WebPDecodeRGB, but returning B, G, R, B, G, R... ordered data. |
WebPDecodeBGRA | Same as WebPDecodeRGBA, but returning B, G, R, A, B, G, R, A... ordered data. |
WebPDecodeBGRAInto | |
WebPDecodeBGRInto | |
WebPDecodeRGB | Same as WebPDecodeRGBA, but returning R, G, B, R, G, B... ordered data. If the bitstream contains transparency, it is ignored. |
WebPDecodeRGBA | Decodes WebP images pointed to by 'data' and returns RGBA samples, along with the dimensions in *width and *height. The ordering of samples in memory is R, G, B, A, R, G, B, A... in scan order (endian-independent). The returned pointer should be deleted calling WebPFree(). Returns NULL in case of error. |
WebPDecodeRGBAInto | |
WebPDecodeRGBInto | |
WebPDecodeYUV | Decode WebP images pointed to by 'data' to Y'UV format(*). The pointer returned is the Y samples buffer. Upon return, *u and *v will point to the U and V chroma data. These U and V buffers need NOT be passed to WebPFree(), unlike the returned Y luma one. The dimension of the U and V planes are both (*width + 1) / 2 and (*height + 1)/ 2. Upon return, the Y buffer has a stride returned as '*stride', while U and V have a common stride returned as 'uv_stride'. Return NULL in case of error. () Also named Y'CbCr. See: http://en.wikipedia.org/wiki/YCbCr |
WebPDecodeYUVInto | |
WebPEncodeBGR | |
WebPEncodeBGRA | |
WebPEncodeLosslessBGR | |
WebPEncodeLosslessBGRA | |
WebPEncodeLosslessRGB | |
WebPEncodeLosslessRGBA | |
WebPEncodeRGB | |
WebPEncodeRGBA | |
WebPGetDecoderVersion | Return the decoder's version number, packed in hexadecimal using 8bits for each of major/minor/revision. E.g: v2.5.7 is 0x020507. |
WebPGetEncoderVersion | Return the encoder's version number, packed in hexadecimal using 8bits for each of major/minor/revision. E.g: v2.5.7 is 0x020507. |
WebPGetInfo | Retrieve basic header information: width, height. This function will also validate the header, returning true on success, false otherwise. '*width' and '*height' are only valid on successful return. Pointers 'width' and 'height' can be passed NULL if deemed irrelevant. |