// MicroPDF - MuPDF API Compatible C Header
// Auto-generated from Rust FFI - DO NOT EDIT MANUALLY
// Module: image_ops

#ifndef MUPDF_FITZ_IMAGE_OPS_H
#define MUPDF_FITZ_IMAGE_OPS_H

#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>

#ifdef __cplusplus
extern "C" {
#endif

// ============================================================================
// Image_ops Functions (5 total)
// ============================================================================

void mp_pdf_image_free(int32_t img);
int32_t mp_pdf_image_from_dict(int32_t dict_ptr, u8 const * data, size_t data_len);
uint32_t mp_pdf_image_height(int32_t img);
int32_t mp_pdf_image_to_rgba(int32_t img, u8 * out_buf, size_t out_len);
uint32_t mp_pdf_image_width(int32_t img);

#ifdef __cplusplus
}
#endif

#endif /* MUPDF_FITZ_IMAGE_OPS_H */
