Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
image_diff_png.h File Reference

(08e24b2ba6847221abd35e9b994206b764d6b322)

#include <stdlib.h>
#include <vector>
#include "core/fxcrt/span.h"
Include dependency graph for image_diff_png.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  image_diff_png

Functions

std::vector< uint8_t > image_diff_png::DecodePNG (pdfium::span< const uint8_t > input, bool reverse_byte_order, int *width, int *height)
std::vector< uint8_t > image_diff_png::EncodeBGRPNG (pdfium::span< const uint8_t > input, int width, int height, int row_byte_width)
std::vector< uint8_t > image_diff_png::EncodeRGBAPNG (pdfium::span< const uint8_t > input, int width, int height, int row_byte_width)
std::vector< uint8_t > image_diff_png::EncodeBGRAPNG (pdfium::span< const uint8_t > input, int width, int height, int row_byte_width, bool discard_transparency)
std::vector< uint8_t > image_diff_png::EncodeGrayPNG (pdfium::span< const uint8_t > input, int width, int height, int row_byte_width)