blob: 63a2983888c3752ef3376a30ff68cd8baf959867 [file] [log] [blame]
* Copyright 2018 Google Inc.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
#pragma once
#include "skcms.h"
#include <stdio.h>
void dump_profile(const skcms_ICCProfile* profile, FILE* fp);
bool load_file_fp(FILE* fp, void** buf, size_t* len);
bool load_file(const char* filename, void** buf, size_t* len);
bool write_file(const char* filename, void* buf, size_t len);