OLD | NEW |
---|---|
1 /* | 1 /* |
2 * iccprofile.h | 2 * iccprofile.h |
3 * | 3 * |
4 * Copyright (C) 1991-1998, Thomas G. Lane. | |
5 * This file is part of the Independent JPEG Group's software. | |
6 * For conditions of distribution and use, see the accompanying README file. | |
Nico
2016/07/29 22:27:43
are you upstreaming this change somewhere?
| |
7 * | |
4 * This file provides code to read and write International Color Consortium | 8 * This file provides code to read and write International Color Consortium |
5 * (ICC) device profiles embedded in JFIF JPEG image files. The ICC has | 9 * (ICC) device profiles embedded in JFIF JPEG image files. The ICC has |
6 * defined a standard format for including such data in JPEG "APP2" markers. | 10 * defined a standard format for including such data in JPEG "APP2" markers. |
7 * The code given here does not know anything about the internal structure | 11 * The code given here does not know anything about the internal structure |
8 * of the ICC profile data; it just knows how to put the profile data into | 12 * of the ICC profile data; it just knows how to put the profile data into |
9 * a JPEG file being written, or get it back out when reading. | 13 * a JPEG file being written, or get it back out when reading. |
10 * | 14 * |
11 * This code depends on new features added to the IJG JPEG library as of | 15 * This code depends on new features added to the IJG JPEG library as of |
12 * IJG release 6b; it will not compile or work with older IJG versions. | 16 * IJG release 6b; it will not compile or work with older IJG versions. |
13 * | 17 * |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
69 * and must be freed by the caller with free() when the caller no longer | 73 * and must be freed by the caller with free() when the caller no longer |
70 * needs it. (Alternatively, we could write this routine to use the | 74 * needs it. (Alternatively, we could write this routine to use the |
71 * IJG library's memory allocator, so that the data would be freed implicitly | 75 * IJG library's memory allocator, so that the data would be freed implicitly |
72 * at jpeg_finish_decompress() time. But it seems likely that many apps | 76 * at jpeg_finish_decompress() time. But it seems likely that many apps |
73 * will prefer to have the data stick around after decompression finishes.) | 77 * will prefer to have the data stick around after decompression finishes.) |
74 */ | 78 */ |
75 | 79 |
76 extern boolean read_icc_profile JPP((j_decompress_ptr cinfo, | 80 extern boolean read_icc_profile JPP((j_decompress_ptr cinfo, |
77 JOCTET **icc_data_ptr, | 81 JOCTET **icc_data_ptr, |
78 unsigned int *icc_data_len)); | 82 unsigned int *icc_data_len)); |
OLD | NEW |