tinyimg 1.1.1
Lightweight image manipulation library for WebAssembly
Loading...
Searching...
No Matches
jpeg.h
Go to the documentation of this file.
1
11#pragma once
12
13#include "tinyimg/codec/codec.h"
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
60extern const TinyCodec tiny_codec_jpeg;
61
74uint32_t tiny_jpeg_orientation(const uint8_t* buffer, size_t size);
75
76#ifdef __cplusplus
77}
78#endif
The contract every container codec implements, and the registry that finds one.
uint32_t tiny_jpeg_orientation(const uint8_t *buffer, size_t size)
Reads the EXIF orientation out of a JPEG header.
const TinyCodec tiny_codec_jpeg
The JPEG codec.
One container format's implementation.
Definition codec.h:91