1 /* 2 * Copyright 2018 Google Inc. 3 * 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the LICENSE file. 6 */ 7 8 #pragma once 9 10 #include "skcms.h" 11 #include <stdio.h> 12 13 void dump_profile(const skcms_ICCProfile* profile, FILE* fp); 14 15 bool load_file_fp(FILE* fp, void** buf, size_t* len); 16 bool load_file(const char* filename, void** buf, size_t* len); 17 18 bool write_file(const char* filename, void* buf, size_t len); 19