| 1 |
|
| 2 |
Change History: (See ArgyllCMS log.txt too) |
| 3 |
|
| 4 |
3.0.0 |
| 5 |
|
| 6 |
Added new combined icmLu object with API that differs from earlier versions. |
| 7 |
Changed lu->spaces() arguments to compact each colorspace information, |
| 8 |
and to eliminate get_ranges() and get_lutranges() methods. |
| 9 |
Other lu->spaces() arguments also change. |
| 10 |
Renamed lutspaces() -> native_spaces() |
| 11 |
|
| 12 |
Changed lu transform method names: |
| 13 |
|
| 14 |
1 step: |
| 15 |
lookup -> lookup_fwd |
| 16 |
3 step: |
| 17 |
lookup_in -> input_fwd |
| 18 |
lookup_core -> core3_fwd |
| 19 |
lookup_out -> output_fwd |
| 20 |
lookup_inv_in -> input_bwd |
| 21 |
lu2mono: |
| 22 |
1 step: |
| 23 |
fwd_lookup -> lookup_fwd |
| 24 |
bwd_lookup -> lookup_bwd |
| 25 |
5 step: |
| 26 |
fwd_curve -> (input_fmt_fwd) + input_pch_fwd |
| 27 |
fwd_map -> core5_fwd |
| 28 |
fwd_abs -> (output_pch_fwd) + output_fmt_fwd |
| 29 |
bwd_abs -> output_fmt_bwd + (output_pch_bwd) |
| 30 |
bwd_map -> core5_bwd |
| 31 |
bwd_curve -> input_pch_bwd + (input_fmt_bwd); |
| 32 |
lu2matrix: |
| 33 |
1 step: |
| 34 |
fwd_lookup -> lookup_fwd |
| 35 |
bwd_lookup -> lookup_bwd |
| 36 |
5 step: |
| 37 |
fwd_curve -> (input_fmt_fwd) + input_pch_fwd |
| 38 |
fwd_matrix -> core5_fwd |
| 39 |
fwd_abs -> (output_pch_fwd) + output_fmt_fwd |
| 40 |
bwd_abs -> output_fmt_bwd = (output_pch_bwd) |
| 41 |
bwd_matrix -> core5_bwd |
| 42 |
bwd_curve -> input_pch_bwd + (input_fmt_bwd); |
| 43 |
lu2lut: |
| 44 |
5 step: |
| 45 |
in_abs -> input_fmt_fwd |
| 46 |
matrix -> XXXXXXXXXXXXX none. Combined with input & clut |
| 47 |
input -> input_pch_fwd |
| 48 |
clut -> core5_fwd |
| 49 |
output -> output_pch_fwd |
| 50 |
out_abs -> output_fmt_fwd |
| 51 |
inv_out_abs -> output_fmt_bwd |
| 52 |
inv_output -> output_pch_bwd |
| 53 |
(clut) (clut not invertable) |
| 54 |
inv_input -> input_pch_bwd |
| 55 |
inv_matrix -> XXXXXXXXXXXXX none. Combined with clut & input |
| 56 |
inv_in_abs -> input_fmt_bwd |
| 57 |
|
| 58 |
Split out less icc specific source code into icc_util.[ch] |
| 59 |
|
| 60 |
Add new TagType parsing code (icmSn*) |
| 61 |
Old parsing code is labeled LEGACY |
| 62 |
Switch header and main profile code to use new parsing code. |
| 63 |
|
| 64 |
Changed implementation ICC version numbers to use icmTV |
| 65 |
|
| 66 |
Added controls to format compatibility checking and warning (icmCompatFlags). |
| 67 |
Added warning callback function to handle warnings. |
| 68 |
|
| 69 |
Changed icclib API to use UTF-8 to communicate Unicode text. |
| 70 |
icmTextDescription now uses *uc8Desc for string and uc8Count for its length. |
| 71 |
|
| 72 |
Remove need to cast of tagtype object to icmBase |
| 73 |
when invoking icmBase methods: |
| 74 |
i.e. get_size(), read(), write(), del(), dump(), allocate() |
| 75 |
|
| 76 |
Most tagtype members called "size" have been renamed "count". |
| 77 |
|
| 78 |
icmProfileSequenceDesc struct now has pointer to TextDescriptions rather than |
| 79 |
being embeded, and these have been renamed: device -> mfgDesc, model -> modelDesc. |
| 80 |
|
| 81 |
icmData now uses icBinaryData and icAsciiData as type value. |
| 82 |
|
| 83 |
icmText elment data renamed to desc. |
| 84 |
|
| 85 |
icmColorantTable now uses allocated name strings. |
| 86 |
|
| 87 |
icmMeasurement flare is now icMeasurementFlare enum. |
| 88 |
|
| 89 |
icmScreening flags is now icScreening screeningFlags |
| 90 |
|
| 91 |
NamedColor prefix/suffix/root strings need to have count set and allocate(). |
| 92 |
|
| 93 |
icmVideoCardGamma now uses double array to store data, rather than |
| 94 |
being tag details dependent. tagType is now icVideoCardGammaFormat. |
| 95 |
Converted red/green/blue gamma/min/max to arrays. |
| 96 |
|
| 97 |
icmCurve icmCurveStyel flag -> icmCurveType ctype |
| 98 |
|
| 99 |
Changed to use icmErr error to hold error code & message. |
| 100 |
icm.err[] -> icc.e.m[] |
| 101 |
icm.errc -> icc.e.c |
| 102 |
|
| 103 |
Some functions now have a new first argument of *icmErr. |
| 104 |
Note that it is treated as "sticky" so that several |
| 105 |
functions can be called before checking for errors. |
| 106 |
new_icmAllocStd() |
| 107 |
new_icmFileStd_name() |
| 108 |
new_icmFileStd_fp() |
| 109 |
new_icmFileStd_name_a() |
| 110 |
new_icmFileStd_fp_a() |
| 111 |
new_icmFileMem_a() |
| 112 |
new_icmFileMem_ad() |
| 113 |
new_icmFileMem() |
| 114 |
new_icmFileMem_d() |
| 115 |
new_icmMD5_a() |
| 116 |
new_icmMD5() |
| 117 |
new_icc_a() |
| 118 |
new_icc() |
| 119 |
|
| 120 |
|
| 121 |
Renamed str2tag() -> icmstr2tag() |
| 122 |
|
| 123 |
Renamed icmLuAlg -> icmTransformLookupAlgorithm |
| 124 |
|
| 125 |
2.21 |
| 126 |
Automatically repair icmTextDescription strings have an allocation that is longer |
| 127 |
than their size. |
| 128 |
|
| 129 |
2.20 |
| 130 |
Add better cross compatibility with non-Argyll ICC profiles: |
| 131 |
+ Use "wrong Von Kries" media white point adapation for non-Argyll non-display profile |
| 132 |
+ Optionally create "wrong Von Kries" media white point adapation profiles |
| 133 |
using the "ARGYLL_CREATE_WRONG_VON_KRIES_OUTPUT_CLASS_REL_WP" env. variable, |
| 134 |
while maintaining ArgyllCMS compatibility using the 'arts' tag. |
| 135 |
+ Implement proper absolute colorimetric intent for ICCV2 Display profiles |
| 136 |
that use the ICCV4 style of have a media white of D50 and storing the |
| 137 |
media chromatic trasnform in the 'chad' tag. |
| 138 |
+ Optionally create such ICCV4 style V2 Display profiles by using the |
| 139 |
"ARGYLL_CREATE_DISPLAY_PROFILE_WITH_CHAD" env. variable. |
| 140 |
|
| 141 |
2.16 |
| 142 |
Clean up cLUT read code to make sanity checking |
| 143 |
more explicit and remove redundant code. |
| 144 |
|
| 145 |
Added special mode that interprets cLUT res of 0 as 256 |
| 146 |
for MadVR testing. |
| 147 |
|
| 148 |
Change icc->read_tag() to only succeed if the tag type is |
| 149 |
known, since the standard expectation of a non NULL |
| 150 |
return type is that it is of a known type. Added new |
| 151 |
method icc->read_tag_any() which will return a |
| 152 |
icmSigUnknownType if the tag type is unknown. |
| 153 |
|
| 154 |
2.14 |
| 155 |
Fix potential array bounds violation in icc/icc.c for malformed |
| 156 |
cLUT profiles with zero input channels. |
| 157 |
|
| 158 |
2.10 |
| 159 |
|
| 160 |
Added protection against crafted file integer overflows. |
| 161 |
|
| 162 |
Many minor additions to support ArgyllCMS. |
| 163 |
|
| 164 |
Further add V4 compatibility, with changes to PCS encoding. |
| 165 |
|
| 166 |
2.06 |
| 167 |
|
| 168 |
Added MD5 checksum code for profile ID support. |
| 169 |
|
| 170 |
2.05 |
| 171 |
Version in Argyll V0.51 release. |
| 172 |
|
| 173 |
Started adding support for ICC V4. Not enabled yet. |
| 174 |
|
| 175 |
Expanded internal/effective colorspace/ranges support |
| 176 |
to be uniform between all the lookup types. |
| 177 |
|
| 178 |
2.04 |
| 179 |
|
| 180 |
Fixed minor casting nits picked up by some compilers |
| 181 |
(thanks to Keith Trummel). |
| 182 |
|
| 183 |
Make intent selection for Matrix profiles and Gamut tables |
| 184 |
more forgiving if not ICM_STRICT. |
| 185 |
|
| 186 |
2.03 |
| 187 |
Added simple extention when dumping binary data tag to |
| 188 |
dump ASCII as well if verb >= 4. |
| 189 |
|
| 190 |
Added Makefile support for compiling under MAC OSX. |
| 191 |
|
| 192 |
Added access to primitive read and write functions, so custom tag |
| 193 |
data can be marshalled using standard encodings. |
| 194 |
|
| 195 |
Expanded ICM_STRICT to encompass bad DateTime information in the header, |
| 196 |
and also disable required tag checking on reading or lookups. |
| 197 |
Changed default intent for Output profiles to perceptual from |
| 198 |
colorimetric, since this would usually be expected. |
| 199 |
|
| 200 |
Added workaround for faulty Kodak RGB matrix profiles, that |
| 201 |
have their primary XYZ coordinates scaled to 100.0 rather than |
| 202 |
1.0. This is enabled if ICM_STRICT is not defined. |
| 203 |
|
| 204 |
Replaced Lab<->XYZ functions with simpler versions. |
| 205 |
|
| 206 |
Expand icmFile implimentation to handle icmAlloc |
| 207 |
|
| 208 |
Do check for header Magic number first. |
| 209 |
|
| 210 |
Add convenience function that creates an RGB to XYZ transform |
| 211 |
matrix from the device primaries and the white point. |
| 212 |
|
| 213 |
Separated stdio versions of file and alloc to allow |
| 214 |
compile without these. |
| 215 |
|
| 216 |
Non-standard (ie. Apple) 5,6,7 & 8 channel color signatures |
| 217 |
weren't being handled properly thruout the library. |
| 218 |
|
| 219 |
2.02 |
| 220 |
Merged rename of [u]int64 to icm[Ui][I]nt64 (to work around |
| 221 |
AIX 5.1L portability bug) from Raph Levien. |
| 222 |
|
| 223 |
Fixed stray , in icmLookupOrder structure definition (from Dan Coby) |
| 224 |
|
| 225 |
2.01 |
| 226 |
Change TextDescription code to not barf if #undef ICM_STRICT and |
| 227 |
Apple scriptcode not padded to 67 bytes. |
| 228 |
|
| 229 |
Add get_ranges() method to all Lu types, not just LuLut. |
| 230 |
Fix bug in PCS override logic that was causing |
| 231 |
reverse conversions to apply the wrong conversion. |
| 232 |
|
| 233 |
Added Delta E convenience functions icmLabDE() and |
| 234 |
icmCIE94() etc. |
| 235 |
|
| 236 |
Merged Raph Levien's cleanups, to quiet gcc warnings. |
| 237 |
|
| 238 |
Merged another couple of warning cleanups from Jouk Jansen. |
| 239 |
|
| 240 |
2.00 |
| 241 |
Change absolute conversion to be white point only, and use |
| 242 |
Bradford transform by default. (ie. we are now ignoring the |
| 243 |
comment in section 6.4.22 of the 1998 spec. about the |
| 244 |
media black point being used for absolute colorimetry, |
| 245 |
ignoring the recommendation on page 118 in section E.5, |
| 246 |
and are taking up the recommendation on page 124 in section |
| 247 |
E.16 that a more sophisticated chromatic adaptation model be used.) |
| 248 |
|
| 249 |
This is for better compatibility with other CMM's, and to |
| 250 |
improve the results when using simple links between |
| 251 |
profiles with non-D50 white points. Standard profiles |
| 252 |
like sRGB will also be more accurate when interpreted |
| 253 |
with absolute colorimetric intent. |
| 254 |
This will cause some slight incompatibilty with previous |
| 255 |
versions of icclib. |
| 256 |
|
| 257 |
Added ColorSync 2.5 specific VideoCardGamma tag support |
| 258 |
(from Neil Okamoto) |
| 259 |
|
| 260 |
1.31 |
| 261 |
Added file I/O class to allow substitution of alternative ICC profile |
| 262 |
file access. Provide standard file class instance, and memory image |
| 263 |
instance of file I/O class as default and example. |
| 264 |
Added an optional new_icc_a() object creator, that takes a memory |
| 265 |
allocator class instance. This allows an alternate memory heap to |
| 266 |
be used with the icc class. |
| 267 |
Renamed object free() methods to del() for more consistency with new(). |
| 268 |
|
| 269 |
1.30 |
| 270 |
Added workaround for reading some Adobe profiles with confused header DateTime. |
| 271 |
Enhanced tag allocate() methods so that they can resize allocations. |
| 272 |
Enhanced icmLut_set_tables() to access grid points in a cache friendly order. |
| 273 |
Fixed bug in check_icc_legal() that caused bogus errors, removed |
| 274 |
uneccessary static declarations in icc.h, and fixed a bug in |
| 275 |
icmTable_lookup_bwd() that effected both accuracy and speed. (Thanks to Andrei Frolov) |
| 276 |
Removed icmAbsoluteColorimetricXYZ intent, and replaced it with |
| 277 |
a PCS override capability. This adds a new parameter to get_luobj() |
| 278 |
Added Lab translations of some XYZ "dump" strings. |
| 279 |
Fix memory leak after failed tag read + rename_tag function |
| 280 |
+ shared library support changes. (Thanks to Carles Llopis). |
| 281 |
Changed all the public 2str utility routines to a single function |
| 282 |
that can be used to interpret an enumeration or tag in a human |
| 283 |
readable form. |
| 284 |
|
| 285 |
1.23 |
| 286 |
Fixed important bug in Lut read/write. The matrix values had their |
| 287 |
rows and columns switched. Not many profiles exercise this code. |
| 288 |
Thanks to David Gillman for discovering this problem. |
| 289 |
Fixup compiler complains about illegal enum values for icmCurveStyle, |
| 290 |
and icmDataStyle. Malloc memory icmLut_lookup_clut_nl for gw[], so that |
| 291 |
it is more friendly to systems with a limited stack. (Thanks to Dave White) |
| 292 |
|
| 293 |
1.22 99/11/11 Snapshot of current code. |
| 294 |
Added more hooks to support inherited implementation of |
| 295 |
color conversion, used in Argyll to support reversing |
| 296 |
multi-dimentional table lookups. |
| 297 |
Cleaned up color conversion code to make it easier to follow. |
| 298 |
Adding simplex interpolation for non-Lab style input space interpolation. |
| 299 |
Fix Sun misalignment and realloc problems (Thanks to Allan N. Hessenflow) |
| 300 |
Fixed endian problem with Unicode on read and write. |
| 301 |
Expanded icmTextDescription_dump() to do hex dump of Unicode and ScriptCode. |
| 302 |
Changed over to ICC.1:1998-09 .h file. |
| 303 |
Started implementing ICC.1:1998-09, but not complete yet! |
| 304 |
|
| 305 |
1.21 99/2/14 |
| 306 |
After re-reading Michael Bourgoin's 1998 SIGGRAPH notes, |
| 307 |
I have consolidated the Lut input index, and table value encodings. |
| 308 |
The default set_tables() scaling has been adjusted appropriately |
| 309 |
for this correction of Lab encoding. |
| 310 |
Trying to create an 8 bit XYZ Lut will now fail if icclib helper |
| 311 |
functions are used to create it. |
| 312 |
|
| 313 |
1.20 99/2/7 |
| 314 |
Added profile color lookup functon. |
| 315 |
Added set_tables() support. |
| 316 |
Various bug fixes and enhancements. |