Sha256: a1775cb87fbd4e381a739d52b3c138b5860dbf15f58832fe40a7dcc721afc293

Contents?: true

Size: 625 Bytes

Versions: 7

Compression:

Stored size: 625 Bytes

Contents

#include <stdio.h>
#include <stdlib.h>

#include "webp/encode.h"
#include "webp/decode.h"

#ifdef __cplusplus
extern "C" {
#endif

// Reads a TIFF from 'filename', returning the decoded output in 'pic'.
// If 'keep_alpha' is true and the TIFF has an alpha channel, the output is RGBA
// otherwise it will be RGB.
// Returns true on success.
int UtilReadTIFF(const char* const filename,
             struct WebPPicture* const pic, int keep_alpha);

int UtilWriteTIFF(FILE* fout, const WebPDecBuffer* const buffer);
int UtilWriteBMP(FILE* fout, const WebPDecBuffer* const buffer);

#ifdef __cplusplus
}    // extern "C"
#endif

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
webp-ffi-0.4.0 ext/webp_ffi/tiffdec.h
webp-ffi-0.3.1 ext/webp_ffi/tiffdec.h
webp-ffi-0.3.0 ext/webp_ffi/tiffdec.h
webp-ffi-0.2.7 ext/webp_ffi/tiffdec.h
webp-ffi-0.2.6 ext/webp_ffi/tiffdec.h
webp-ffi-0.2.5 ext/webp_ffi/tiffdec.h
webp-ffi-0.2.4 ext/webp_ffi/tiffdec.h