blob: 90cbb20ff2890286533fb5e57875b88dd4521733 [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 "src/skcms_public.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);