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.cpp File Reference

(08e24b2ba6847221abd35e9b994206b764d6b322)

#include "testing/image_diff/image_diff_png.h"
#include <stdlib.h>
#include <string.h>
#include <string>
#include "core/fxcrt/check_op.h"
#include "core/fxcrt/fx_memcpy_wrappers.h"
#include "core/fxcrt/notreached.h"
#include "third_party/zlib/zlib.h"
#include "third_party/libpng/png.h"
Include dependency graph for image_diff_png.cpp:

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)