00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifdef HAVE_CONFIG_H
00025 #include <config.h>
00026 #endif
00027 #include <gimp-print/gimp-print.h>
00028 #include "gimp-print-internal.h"
00029 #include <gimp-print/gimp-print-intl-internal.h>
00030 #include "print-escp2.h"
00031
00032 static const char standard_sat_adj[] =
00033 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
00034 "<gimp-print>\n"
00035 "<curve wrap=\"wrap\" type=\"linear\" gamma=\"0\">\n"
00036 "<sequence count=\"48\" lower-bound=\"0\" upper-bound=\"4\">\n"
00037 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00038 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00039 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00040 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00041 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00042 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00043 "</sequence>\n"
00044 "</curve>\n"
00045 "</gimp-print>\n";
00046
00047 static const char standard_lum_adj[] =
00048 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
00049 "<gimp-print>\n"
00050 "<curve wrap=\"wrap\" type=\"linear\" gamma=\"0\">\n"
00051 "<sequence count=\"48\" lower-bound=\"0\" upper-bound=\"4\">\n"
00052 "0.39 0.42 0.47 0.54 0.61 0.67 0.73 0.77 "
00053 "0.77 0.74 0.67 0.67 0.68 0.71 0.74 0.77 "
00054 "0.81 0.86 0.92 0.97 1.00 1.00 1.00 1.00 "
00055 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00056 "1.00 1.00 1.00 0.99 0.98 0.96 0.94 0.90 "
00057 "0.85 0.65 0.50 0.41 0.41 0.40 0.39 0.39 "
00058 "</sequence>\n"
00059 "</curve>\n"
00060 "</gimp-print>\n";
00061
00062 static const char standard_hue_adj[] =
00063 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
00064 "<gimp-print>\n"
00065 "<curve wrap=\"wrap\" type=\"linear\" gamma=\"0\">\n"
00066 "<sequence count=\"48\" lower-bound=\"-6\" upper-bound=\"6\">\n"
00067 "0.00 0.00 0.00 -.02 -.06 -.12 -.18 -.24 "
00068 "-.30 -.28 -.28 -.26 -.24 -.22 -.20 -.20 "
00069 "-.22 -.28 -.34 -.40 -.50 -.45 -.40 -.30 "
00070 "-.12 -.07 -.04 -.02 0.00 0.00 0.00 0.00 "
00071 "0.00 -.00 -.06 -.12 -.18 -.26 -.34 -.42 "
00072 "-.50 -.44 -.38 -.31 -.25 -.20 -.13 -.06 "
00073 "</sequence>\n"
00074 "</curve>\n"
00075 "</gimp-print>\n";
00076
00077
00078 static const char photo2_sat_adj[] =
00079 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
00080 "<gimp-print>\n"
00081 "<curve wrap=\"wrap\" type=\"linear\" gamma=\"0\">\n"
00082 "<sequence count=\"48\" lower-bound=\"0\" upper-bound=\"4\">\n"
00083 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00084 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00085 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00086 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00087 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00088 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00089 "</sequence>\n"
00090 "</curve>\n"
00091 "</gimp-print>\n";
00092
00093 static const char photo2_lum_adj[] =
00094 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
00095 "<gimp-print>\n"
00096 "<curve wrap=\"wrap\" type=\"linear\" gamma=\"0\">\n"
00097 "<sequence count=\"48\" lower-bound=\"0\" upper-bound=\"4\">\n"
00098 "0.39 0.42 0.47 0.54 0.61 0.67 0.73 0.77 "
00099 "0.77 0.74 0.67 0.67 0.68 0.71 0.74 0.77 "
00100 "0.81 0.86 0.92 0.97 1.00 1.00 1.00 1.00 "
00101 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00102 "1.00 1.00 1.00 0.99 0.98 0.96 0.94 0.90 "
00103 "0.85 0.65 0.50 0.41 0.41 0.40 0.39 0.39 "
00104 "</sequence>\n"
00105 "</curve>\n"
00106 "</gimp-print>\n";
00107
00108 static const char photo2_hue_adj[] =
00109 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
00110 "<gimp-print>\n"
00111 "<curve wrap=\"wrap\" type=\"linear\" gamma=\"0\">\n"
00112 "<sequence count=\"48\" lower-bound=\"-6\" upper-bound=\"6\">\n"
00113 "0.00 0.00 0.00 -.02 -.06 -.12 -.18 -.24 "
00114 "-.30 -.28 -.28 -.26 -.24 -.22 -.20 -.20 "
00115 "-.22 -.28 -.34 -.40 -.50 -.45 -.40 -.30 "
00116 "-.12 -.07 -.04 -.02 0.00 0.00 0.00 0.00 "
00117 "0.00 -.00 -.06 -.12 -.18 -.26 -.34 -.42 "
00118 "-.50 -.44 -.38 -.31 -.25 -.20 -.13 -.06 "
00119 "</sequence>\n"
00120 "</curve>\n"
00121 "</gimp-print>\n";
00122
00123
00124 static const char sp960_sat_adj[] =
00125 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
00126 "<gimp-print>\n"
00127 "<curve wrap=\"wrap\" type=\"linear\" gamma=\"0\">\n"
00128 "<sequence count=\"48\" lower-bound=\"0\" upper-bound=\"4\">\n"
00129 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00130 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00131 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00132 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00133 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00134 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00135 "</sequence>\n"
00136 "</curve>\n"
00137 "</gimp-print>\n";
00138
00139 static const char sp960_lum_adj[] =
00140 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
00141 "<gimp-print>\n"
00142 "<curve wrap=\"wrap\" type=\"linear\" gamma=\"0\">\n"
00143 "<sequence count=\"48\" lower-bound=\"0\" upper-bound=\"4\">\n"
00144 "0.42 0.44 0.50 0.55 0.62 0.68 0.73 0.76 "
00145 "0.78 0.72 0.65 0.65 0.67 0.70 0.75 0.80 "
00146 "0.90 0.93 0.96 0.98 1.00 1.00 1.00 1.00 "
00147 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00148 "1.00 0.99 0.98 0.97 0.95 0.92 0.90 0.84 "
00149 "0.78 0.61 0.50 0.42 0.43 0.43 0.42 0.42 "
00150 "</sequence>\n"
00151 "</curve>\n"
00152 "</gimp-print>\n";
00153
00154 static const char sp960_hue_adj[] =
00155 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
00156 "<gimp-print>\n"
00157 "<curve wrap=\"wrap\" type=\"linear\" gamma=\"0\">\n"
00158 "<sequence count=\"48\" lower-bound=\"-6\" upper-bound=\"6\">\n"
00159 "0.00 0.06 0.10 0.10 0.06 -.01 -.09 -.17 "
00160 "-.25 -.28 -.28 -.26 -.24 -.22 -.20 -.20 "
00161 "-.22 -.28 -.34 -.40 -.50 -.45 -.40 -.30 "
00162 "-.22 -.13 -.04 -.02 0.00 0.00 0.00 0.00 "
00163 "0.00 -.00 -.06 -.14 -.22 -.30 -.38 -.44 "
00164 "-.50 -.44 -.38 -.31 -.25 -.20 -.13 -.06 "
00165 "</sequence>\n"
00166 "</curve>\n"
00167 "</gimp-print>\n";
00168
00169 static const char sp960_matte_sat_adj[] =
00170 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
00171 "<gimp-print>\n"
00172 "<curve wrap=\"wrap\" type=\"linear\" gamma=\"0\">\n"
00173 "<sequence count=\"48\" lower-bound=\"0\" upper-bound=\"4\">\n"
00174 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00175 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00176 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00177 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00178 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00179 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00180 "</sequence>\n"
00181 "</curve>\n"
00182 "</gimp-print>\n";
00183
00184 static const char sp960_matte_lum_adj[] =
00185 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
00186 "<gimp-print>\n"
00187 "<curve wrap=\"wrap\" type=\"linear\" gamma=\"0\">\n"
00188 "<sequence count=\"48\" lower-bound=\"0\" upper-bound=\"4\">\n"
00189 "0.42 0.48 0.56 0.63 0.71 0.78 0.83 0.86 "
00190 "0.86 0.75 0.67 0.67 0.67 0.70 0.75 0.80 "
00191 "0.90 0.93 0.96 0.98 1.00 1.00 1.00 1.00 "
00192 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00193 "1.00 0.99 0.98 0.97 0.95 0.92 0.90 0.84 "
00194 "0.78 0.61 0.50 0.42 0.43 0.43 0.42 0.42 "
00195 "</sequence>\n"
00196 "</curve>\n"
00197 "</gimp-print>\n";
00198
00199 static const char sp960_matte_hue_adj[] =
00200 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
00201 "<gimp-print>\n"
00202 "<curve wrap=\"wrap\" type=\"linear\" gamma=\"0\">\n"
00203 "<sequence count=\"48\" lower-bound=\"-6\" upper-bound=\"6\">\n"
00204 "0.00 -.02 -.04 -.06 -.12 -.18 -.25 -.30 "
00205 "-.30 -.28 -.28 -.26 -.24 -.22 -.20 -.20 "
00206 "-.22 -.28 -.34 -.40 -.50 -.45 -.40 -.30 "
00207 "-.22 -.13 -.04 -.02 0.00 0.00 0.00 0.00 "
00208 "0.00 -.00 -.06 -.14 -.22 -.30 -.38 -.44 "
00209 "-.50 -.44 -.38 -.31 -.25 -.20 -.13 -.06 "
00210 "</sequence>\n"
00211 "</curve>\n"
00212 "</gimp-print>\n";
00213
00214
00215 static const char ultra_matte_sat_adj[] =
00216 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
00217 "<gimp-print>\n"
00218 "<curve wrap=\"wrap\" type=\"linear\" gamma=\"0\">\n"
00219 "<sequence count=\"48\" lower-bound=\"0\" upper-bound=\"4\">\n"
00220 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00221 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00222 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00223 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00224 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00225 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00226 "</sequence>\n"
00227 "</curve>\n"
00228 "</gimp-print>\n";
00229
00230 static const char ultra_matte_lum_adj[] =
00231 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
00232 "<gimp-print>\n"
00233 "<curve wrap=\"wrap\" type=\"linear\" gamma=\"0\">\n"
00234 "<sequence count=\"48\" lower-bound=\"0\" upper-bound=\"4\">\n"
00235 "0.31 0.34 0.38 0.45 0.52 0.58 0.65 0.70 "
00236 "0.75 0.71 0.65 0.65 0.67 0.70 0.75 0.80 "
00237 "0.90 0.93 0.96 0.97 0.97 0.96 0.95 0.95 "
00238 "0.95 0.96 0.97 0.98 0.99 1.00 1.00 1.00 "
00239 "1.00 0.98 0.96 0.94 0.92 0.89 0.85 0.80 "
00240 "0.74 0.55 0.44 0.37 0.35 0.34 0.32 0.31 "
00241 "</sequence>\n"
00242 "</curve>\n"
00243 "</gimp-print>\n";
00244
00245 static const char ultra_matte_hue_adj[] =
00246 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
00247 "<gimp-print>\n"
00248 "<curve wrap=\"wrap\" type=\"linear\" gamma=\"0\">\n"
00249 "<sequence count=\"48\" lower-bound=\"-6\" upper-bound=\"6\">\n"
00250 "0.00 0.06 0.10 0.10 0.06 -.01 -.09 -.17 "
00251 "-.25 -.28 -.28 -.26 -.24 -.22 -.20 -.20 "
00252 "-.22 -.28 -.34 -.40 -.50 -.40 -.30 -.20 "
00253 "-.12 -.07 -.04 -.02 0.00 0.00 0.00 0.00 "
00254 "0.00 -.00 -.06 -.14 -.22 -.30 -.38 -.44 "
00255 "-.50 -.44 -.38 -.31 -.25 -.20 -.13 -.06 "
00256 "</sequence>\n"
00257 "</curve>\n"
00258 "</gimp-print>\n";
00259
00260 static const char ultra_glossy_sat_adj[] =
00261 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
00262 "<gimp-print>\n"
00263 "<curve wrap=\"wrap\" type=\"linear\" gamma=\"0\">\n"
00264 "<sequence count=\"48\" lower-bound=\"0\" upper-bound=\"4\">\n"
00265 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00266 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00267 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00268 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00269 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00270 "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 "
00271 "</sequence>\n"
00272 "</curve>\n"
00273 "</gimp-print>\n";
00274
00275 static const char ultra_glossy_lum_adj[] =
00276 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
00277 "<gimp-print>\n"
00278 "<curve wrap=\"wrap\" type=\"linear\" gamma=\"0\">\n"
00279 "<sequence count=\"48\" lower-bound=\"0\" upper-bound=\"4\">\n"
00280 "0.31 0.35 0.43 0.48 0.55 0.60 0.65 0.70 "
00281 "0.75 0.71 0.65 0.65 0.67 0.70 0.75 0.80 "
00282 "0.90 0.93 0.96 0.97 0.97 0.96 0.95 0.95 "
00283 "0.95 0.96 0.97 0.98 0.99 1.00 1.00 1.00 "
00284 "1.00 0.98 0.96 0.94 0.92 0.89 0.85 0.80 "
00285 "0.74 0.55 0.44 0.37 0.35 0.34 0.32 0.31 "
00286 "</sequence>\n"
00287 "</curve>\n"
00288 "</gimp-print>\n";
00289
00290 static const char ultra_glossy_hue_adj[] =
00291 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
00292 "<gimp-print>\n"
00293 "<curve wrap=\"wrap\" type=\"linear\" gamma=\"0\">\n"
00294 "<sequence count=\"48\" lower-bound=\"-6\" upper-bound=\"6\">\n"
00295 "0.00 0.06 0.10 0.10 0.06 -.01 -.09 -.17 "
00296 "-.25 -.28 -.28 -.26 -.24 -.22 -.20 -.20 "
00297 "-.22 -.28 -.34 -.40 -.50 -.40 -.30 -.20 "
00298 "-.12 -.07 -.04 -.02 0.00 0.00 0.00 0.00 "
00299 "0.00 -.00 -.06 -.14 -.22 -.30 -.38 -.44 "
00300 "-.50 -.44 -.38 -.31 -.25 -.20 -.13 -.06 "
00301 "</sequence>\n"
00302 "</curve>\n"
00303 "</gimp-print>\n";
00304
00305 #define DECLARE_PAPERS(name) \
00306 const paperlist_t stpi_escp2_##name##_paper_list = \
00307 { \
00308 #name, \
00309 sizeof(name##_papers) / sizeof(paper_t), \
00310 name##_papers \
00311 }
00312
00313 #define DECLARE_PAPER_ADJUSTMENTS(name) \
00314 const paper_adjustment_list_t stpi_escp2_##name##_paper_adjustment_list = \
00315 { \
00316 #name, \
00317 sizeof(name##_adjustments) / sizeof(paper_adjustment_t), \
00318 name##_adjustments \
00319 }
00320
00321 static const paper_adjustment_t standard_adjustments[] =
00322 {
00323 { "Plain", 0.615, .5, 1, .075, .9, 1, 1, 1, 1, 1, 1,
00324 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00325 { "PlainFast", 0.615, .5, 1, .075, .9, 1, 1, 1, 1, 1, 1,
00326 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00327 { "Postcard", 0.83, .5, 1, .075, .9, 1, 1, 1, 1, 1, 1,
00328 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00329 { "GlossyFilm", 1.00, 1.0, 1, .15, .999, 1, 1, 1, 1, 1, 1,
00330 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00331 { "Transparency", 1.00, .75, 1, .15, .999, 1, 1, 1, 1, 1, 1,
00332 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00333 { "Envelope", 0.615, .5, 1, .075, .9, 1, 1, 1, 1, 1, 1,
00334 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00335 { "BackFilm", 1.00, .75, 1, .15, .999, 1, 1, 1, 1, 1, 1,
00336 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00337 { "Matte", 0.85, .8, 1.0, .15, .999, 1, 1, 1, 1, 1, 1,
00338 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00339 { "MatteHeavy", 1.0, 1.0, 1, .15, .999, 1, 1, 1, 1, 1, 1,
00340 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00341 { "Inkjet", 0.85, .5, 1, .10, .9, 1, 1, 1, 1, 1, 1,
00342 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00343 { "Coated", 1.10, 1.0, 1, .15, .999, 1, 1, 1, 1, 1, 1,
00344 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00345 { "Photo", 1.00, 1.0, 1, .15, .999, 1, 1, 1, 1, 1, 1,
00346 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00347 { "GlossyPhoto", 1.10, 1.0, 1, .15, .999, 1, 1, 1, 1, 1, 1,
00348 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00349 { "Semigloss", 1.00, 1.0, 1, .15, .999, 1, 1, 1, 1, 1, 1,
00350 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00351 { "Luster", 1.00, 1.0, 1, .15, .999, 1, 1, 1, 1, 1, 1,
00352 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00353 { "GlossyPaper", 1.00, 1.0, 1, .15, .999, 1, 1, 1, 1, 1, 1,
00354 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00355 { "Ilford", 1.0, 1.0, 1, .15, 1.35, 1, 1, 1, 1, 1, 1,
00356 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00357 { "ColorLife", 1.00, 1.0, 1, .15, .9, 1, 1, 1, 1, 1, 1,
00358 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00359 { "Other", 0.615, .5, 1, .075, .9, 1, 1, 1, 1, 1, 1,
00360 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00361 };
00362
00363 DECLARE_PAPER_ADJUSTMENTS(standard);
00364
00365 static const paper_adjustment_t photo_adjustments[] =
00366 {
00367 { "Plain", 0.615, .25, 1, .15, .9, 1, 1, 1, 1, 1, 1,
00368 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00369 { "PlainFast", 0.615, .25, 1, .15, .9, 1, 1, 1, 1, 1, 1,
00370 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00371 { "Postcard", 0.83, .25, 1, .15, .9, 1, 1, 1, 1, 1, 1,
00372 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00373 { "GlossyFilm", 1.00, 1.0, 1, .2, .999, 1, 1, 1, 1, 1, 1,
00374 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00375 { "Transparency", 1.00, .75, 1, .2, .999, 1, 1, 1, 1, 1, 1,
00376 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00377 { "Envelope", 0.615, .25, 1, .15, .9, 1, 1, 1, 1, 1, 1,
00378 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00379 { "BackFilm", 1.00, .75, 1, .2, .999, 1, 1, 1, 1, 1, 1,
00380 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00381 { "Matte", 0.85, .8, 1.0, .2, .999, 1, 1, 1, 1, 1, 1,
00382 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00383 { "MatteHeavy", 1.0, 1.0, 1, .35, .999, 1, 1, 1, 1, 1, 1,
00384 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00385 { "Inkjet", 0.85, .375, 1, .2, .9, 1, 1, 1, 1, 1, 1,
00386 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00387 { "Coated", 1.10, 1.0, 1, .35, .999, 1, 1, 1, 1, 1, 1,
00388 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00389 { "Photo", 1.00, 1.00, 1, .35, .999, 1, 1, 1, 1, 1, 1,
00390 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00391 { "GlossyPhoto", 1.10, 1.0, 1, .35, .999, 1, 1, 1, 1, 1, 1,
00392 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00393 { "Semigloss", 1.00, 1.0, 1, .35, .999, 1, 1, 1, 1, 1, 1,
00394 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00395 { "Luster", 1.00, 1.0, 1, .35, .999, 1, 1, 1, 1, 1, 1,
00396 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00397 { "GlossyPaper", 1.00, 1.0, 1, .35, .999, 1, 1, 1, 1, 1, 1,
00398 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00399 { "Ilford", 1.0, 1.0, 1, .35, 1.35, 1, 1, 1, 1, 1, 1,
00400 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00401 { "ColorLife", 1.00, 1.0, 1, .35, .9, 1, 1, 1, 1, 1, 1,
00402 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00403 { "Other", 0.615, .25, 1, .15, .9, 1, 1, 1, 1, 1, 1,
00404 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00405 };
00406
00407 DECLARE_PAPER_ADJUSTMENTS(photo);
00408
00409 static const paper_adjustment_t photo2_adjustments[] =
00410 {
00411 { "Plain", 0.738, .5, 0.5, .1, .9, 1, 1, 1, 1, 1, 1.2,
00412 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00413 { "PlainFast", 0.738, .5, 0.5, .1, .9, 1, 1, 1, 1, 1, 1.2,
00414 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00415 { "Postcard", 0.83, .5, 0.5, .1, .9, 1, 1, 1, 1, 1, 1.2,
00416 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00417 { "GlossyFilm", 1.00, .5, 0.5, .2, .999, 1, 1, 1, 1, 1, 1,
00418 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00419 { "Transparency", 1.00, .5, 0.25, .2, .999, 1, 1, 1, 1, 1, 1,
00420 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00421 { "Envelope", 0.738, .5, 0.5, .1, .9, 1, 1, 1, 1, 1, 1.2,
00422 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00423 { "BackFilm", 1.00, .5, 0.25, .2, .999, 1, 1, 1, 1, 1, 1,
00424 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00425 { "Matte", 0.85, .75, 0.4, .3, .999, 1, 1, 1, 1, 1, 1.1,
00426 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00427 { "MatteHeavy", 0.85, .75, .3, .2, .999, 1, 1, 1, 1, 1, 1.1,
00428 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00429 { "Inkjet", 0.85, .5, 0.5, .15, .9, 1, 1, 1, 1, 1, 1.1,
00430 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00431 { "Coated", 1.2, .5, .25, .15, .999, .89, 1, 1, .9, 1, 1.2,
00432 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00433 { "Photo", 1.00, .5, 0.25, .2, .999, 1, 1, 1, 1, 1, 1.1,
00434 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00435 { "GlossyPhoto", 1.0, .5, 0.5, .3, .999, .9, .98, 1, .9, 1, 1.0,
00436 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00437 { "Semigloss", 1.0, .5, 0.5, .3, .999, .9, .98, 1, .9, 1, 1.0,
00438 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00439 { "Luster", 1.0, .5, 0.5, .3, .999, .9, .98, 1, .9, 1, 1.0,
00440 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00441 { "GlossyPaper", 1.00, .5, 0.25, .2, .999, 1, 1, 1, 1, 1, 1,
00442 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00443 { "Ilford", .85, .5, 0.25, .2, .999, 1, 1, 1, 1, 1, 1,
00444 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00445 { "ColorLife", 1.00, .5, 0.25, .2, .9, 1, 1, 1, 1, 1, 1.1,
00446 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00447 { "Other", 0.738, .5, 0.5, .1, .9, 1, 1, 1, 1, 1, 1.2,
00448 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00449 };
00450
00451 DECLARE_PAPER_ADJUSTMENTS(photo2);
00452
00453 static const paper_adjustment_t photo3_adjustments[] =
00454 {
00455 { "Plain", 0.738, .5, 0.75, .1, .9, 1, 1, 1, 1, 1, 1.2,
00456 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00457 { "PlainFast", 0.738, .5, 0.75, .1, .9, 1, 1, 1, 1, 1, 1.2,
00458 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00459 { "Postcard", 0.83, .5, 0.75, .1, .9, 1, 1, 1, 1, 1, 1.2,
00460 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00461 { "GlossyFilm", 1.00, .5, 0.75, .2, .999, 1, 1, 1, 1, 1, 1,
00462 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00463 { "Transparency", 1.00, .5, 0.75, .2, .999, 1, 1, 1, 1, 1, 1,
00464 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00465 { "Envelope", 0.738, .5, 0.75, .1, .9, 1, 1, 1, 1, 1, 1.2,
00466 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00467 { "BackFilm", 1.00, .5, 0.75, .2, .999, 1, 1, 1, 1, 1, 1,
00468 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00469 { "Matte", 0.85, .75, 0.75, .3, .999, 1, 1, 1, 1, 1, 1.1,
00470 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00471 { "MatteHeavy", 0.85, .75, .3, .2, .999, 1, 1, 1, 1, 1, 1.1,
00472 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00473 { "Inkjet", 0.85, .5, 0.75, .15, .9, 1, 1, 1, 1, 1, 1.1,
00474 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00475 { "Coated", 1.2, .5, .75, .15, .999, 1, 1, 1, 1, 1, 1.2,
00476 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00477 { "Photo", 1.00, .5, 0.75, .2, .999, 1, 1, 1, 1, 1, 1.1,
00478 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00479 { "GlossyPhoto", 1.0, .25, 0.5, .3, .999, 1, 1, 1, .9, 1, 1.0,
00480 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00481 { "Semigloss", 1.0, .25, 0.5, .3, .999, 1, 1, 1, .9, 1, 1.0,
00482 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00483 { "Luster", 1.0, .25, 0.5, .3, .999, 1, 1, 1, .9, 1, 1.0,
00484 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00485 { "GlossyPaper", 1.00, .5, 0.75, .2, .999, 1, 1, 1, 1, 1, 1,
00486 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00487 { "Ilford", .85, .5, 0.75, .2, .999, 1, 1, 1, 1, 1, 1,
00488 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00489 { "ColorLife", 1.00, .5, 0.75, .2, .9, 1, 1, 1, 1, 1, 1.1,
00490 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00491 { "Other", 0.738, .5, 0.75, .1, .9, 1, 1, 1, 1, 1, 1.2,
00492 photo2_hue_adj, photo2_lum_adj, photo2_sat_adj },
00493 };
00494
00495 DECLARE_PAPER_ADJUSTMENTS(photo3);
00496
00497 static const paper_adjustment_t sp960_adjustments[] =
00498 {
00499 { "Plain", 0.86, .2, 0.4, .1, .9, .9, 1, 1, 1, 1, 1,
00500 sp960_matte_hue_adj, sp960_matte_lum_adj, sp960_matte_sat_adj },
00501 { "PlainFast", 0.86, .2, 0.4, .1, .9, 1, 1, 1, 1, 1, 1,
00502 sp960_matte_hue_adj, sp960_matte_lum_adj, sp960_matte_sat_adj },
00503 { "Postcard", 0.90, .2, 0.4, .1, .9, .9, 1, 1, 1, 1, 1,
00504 sp960_matte_hue_adj, sp960_matte_lum_adj, sp960_matte_sat_adj },
00505 { "GlossyFilm", 0.9, .3, 0.4, .2, .999, 1, 1, 1, 1, 1, 1,
00506 sp960_matte_hue_adj, sp960_matte_lum_adj, sp960_matte_sat_adj },
00507 { "Transparency", 0.9, .2, 0.4, .1, .9, 1, 1, 1, 1, 1, 1,
00508 sp960_matte_hue_adj, sp960_matte_lum_adj, sp960_matte_sat_adj },
00509 { "Envelope", 0.86, .2, 0.4, .1, .9, 1, 1, 1, 1, 1, 1,
00510 sp960_matte_hue_adj, sp960_matte_lum_adj, sp960_matte_sat_adj },
00511 { "BackFilm", 0.9, .2, 0.4, .1, .9, 1, 1, 1, 1, 1, 1,
00512 sp960_matte_hue_adj, sp960_matte_lum_adj, sp960_matte_sat_adj },
00513 { "Matte", 0.9, .25, 0.4, .2, .9, 1, 1, 1, 1, 1, 1,
00514 sp960_matte_hue_adj, sp960_matte_lum_adj, sp960_matte_sat_adj },
00515 { "MatteHeavy", 0.9, .3, 0.4, .2, .999, 1, 1, 1, 1, 1, 1,
00516 sp960_matte_hue_adj, sp960_matte_lum_adj, sp960_matte_sat_adj },
00517 { "Inkjet", 0.9, .2, 0.4, .15, .9, 1, 1, 1, 1, 1, 1,
00518 sp960_matte_hue_adj, sp960_matte_lum_adj, sp960_matte_sat_adj },
00519 { "Coated", 0.9, .3, 0.4, .2, .999, 1, 1, 1, 1, 1, 1,
00520 sp960_matte_hue_adj, sp960_matte_lum_adj, sp960_matte_sat_adj },
00521 { "Photo", 0.9, .3, 0.4, .2, .999, 1, 1, 1, 1, 1, 1,
00522 sp960_matte_hue_adj, sp960_matte_lum_adj, sp960_matte_sat_adj },
00523 { "GlossyPhoto", 0.9, .3, 0.4, .2, .999, 1, 1, 1, 1, 1, 1,
00524 sp960_hue_adj, sp960_lum_adj, sp960_sat_adj },
00525 { "Semigloss", 0.9, .3, 0.4, .2, .999, 1, 1, 1, 1, 1, 1,
00526 sp960_hue_adj, sp960_lum_adj, sp960_sat_adj },
00527 { "Luster", 0.9, .3, 0.4, .2, .999, 1, 1, 1, 1, 1, 1,
00528 sp960_hue_adj, sp960_lum_adj, sp960_sat_adj },
00529 { "GlossyPaper", 0.9, .3, 0.4, .15, .9, 1, 1, 1, 1, 1, 1,
00530 sp960_matte_hue_adj, sp960_matte_lum_adj, sp960_matte_sat_adj },
00531 { "Ilford", 0.85, .3, 0.4, .15, 1.35, 1, 1, 1, 1, 1, 1,
00532 sp960_matte_hue_adj, sp960_matte_lum_adj, sp960_matte_sat_adj },
00533 { "ColorLife", 0.9, .3, 0.4, .15, .9, 1, 1, 1, 1, 1, 1,
00534 sp960_matte_hue_adj, sp960_matte_lum_adj, sp960_matte_sat_adj },
00535 { "Other", 0.86, .2, 0.4, .1, .9, 1, 1, 1, 1, 1, 1,
00536 sp960_matte_hue_adj, sp960_matte_lum_adj, sp960_matte_sat_adj },
00537 };
00538
00539 DECLARE_PAPER_ADJUSTMENTS(sp960);
00540
00541 static const paper_adjustment_t ultrachrome_photo_adjustments[] =
00542 {
00543 { "Plain", 0.72, .1, 1, .01, 1.5, 1, 1, 1, 1, 1, 1.2,
00544 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00545 { "PlainFast", 0.72, .1, 1, .01, 1.5, 1, 1, 1, 1, 1, 1.2,
00546 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00547 { "Postcard", 0.72, .1, 1, .01, 1.5, 1, 1, 1, 1, 1, 1.2,
00548 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00549 { "GlossyFilm", 0.83, 1.0, 1, .01, 1.5, 1, 1, 1, 1, 1, 1.2,
00550 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00551 { "Transparency", 0.83, .75, 1, .01, 1.5, 1, 1, 1, 1, 1, 1.2,
00552 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00553 { "Envelope", 0.72, .1, 1, .01, 1.5, 1, 1, 1, 1, 1, 1.2,
00554 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00555 { "BackFilm", 0.83, .75, 1, .01, 1.5, 1, 1, 1, 1, 1, 1.2,
00556 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00557 { "Matte", 0.92, 0.4, 1, .01, 1.5, 1, 1, 1, 1, 1, 1.2,
00558 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00559 { "MatteHeavy", 0.92, 0.4, 1, .01, 1.5, 1, 1, 1, 1, 1, 1.2,
00560 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00561 { "Inkjet", 0.72, .5, 1, .01, 1.5, 1, 1, 1, 1, 1, 1.2,
00562 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00563 { "Coated", 0.83, .5, 1, .01, 1.5, 1, 1, 1, 1, 1, 1.2,
00564 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00565 { "Photo", 1.0, .75, 1, .01, 1.5, 1, 1, 1, 1, 1, 1.2,
00566 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00567 { "GlossyPhoto", 0.72, 1, 1, .01, 1.8, 1, 1, 1, 1, 1, .9,
00568 ultra_glossy_hue_adj, ultra_glossy_lum_adj, ultra_glossy_sat_adj },
00569 { "Semigloss", 0.72, .8, 1, .01, 1.8, 1, 1, 1, 1, 1, .9,
00570 ultra_glossy_hue_adj, ultra_glossy_lum_adj, ultra_glossy_sat_adj },
00571 { "Luster", 0.72, .8, 1, .01, 1.8, 1, 1, 1, 1, 1, .9,
00572 ultra_glossy_hue_adj, ultra_glossy_lum_adj, ultra_glossy_sat_adj },
00573 { "ArchivalMatte", 0.92, .4, 1, .01, 1.5, 1, 1, 1, 1, 1, 1.2,
00574 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00575 { "WaterColorRadiant", 0.92, .4, 1, .01, 1.5, 1, 1, 1, 1, 1, 1.2,
00576 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00577 { "GlossyPaper", 0.83, 1.0, 1, .01, 1.5, 1, 1, 1, 1, 1, 1.2,
00578 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00579 { "Ilford", 0.83, 1.0, 1, .01, 1.5, 1, 1, 1, 1, 1, 1.2,
00580 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00581 { "ColorLife", 0.83, 1.0, 1, .01, 1.5, 1, 1, 1, 1, 1, 1.2,
00582 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00583 { "Other", 0.72, .1, 1, .01, 1.5, 1, 1, 1, 1, 1, 1.2,
00584 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00585 };
00586
00587 DECLARE_PAPER_ADJUSTMENTS(ultrachrome_photo);
00588
00589 static const paper_adjustment_t ultrachrome_matte_adjustments[] =
00590 {
00591 { "Plain", 0.72, .1, 1, 0, .999, 1, 1, 1, 1, 1, 1.2,
00592 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00593 { "PlainFast", 0.72, .1, 1, 0, .999, 1, 1, 1, 1, 1, 1.2,
00594 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00595 { "Postcard", 0.72, .1, 1, 0, .999, 1, 1, 1, 1, 1, 1.2,
00596 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00597 { "GlossyFilm", 0.83, .5, 1, 0.01, 1.25, 1, 1, 1, 1, 1, 1.2,
00598 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00599 { "Transparency", 0.83, .5, 1, 0.01, 1.25, 1, 1, 1, 1, 1, 1,
00600 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00601 { "Envelope", 0.72, .1, 1, 0, .999, 1, 1, 1, 1, 1, 1.2,
00602 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00603 { "BackFilm", 0.83, .5, 1, 0.01, 1.25, 1, 1, 1, 1, 1, 1.2,
00604 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00605 { "Matte", 0.92, 0.4, 1, 0.01, 1.25, 1, 1, 1, 1, 1, 1.2,
00606 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00607 { "MatteHeavy", 0.92, 0.4, .4, .01, 0.999, 1, 1, 1, 1.75, 1, 1.2,
00608 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00609 { "Inkjet", 0.72, .3, 1, .01, .999, 1, 1, 1, 1, 1, 1.2,
00610 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00611 { "Coated", 0.83, .4, 1, .01, 1.25, 1, 1, 1, 1, 1, 1.2,
00612 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00613 { "Photo", 1.0, 0.5, 1, 0.01, 1.25, 1, 1, 1, 1, 1, 1.2,
00614 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00615 { "GlossyPhoto", 0.72, 1, 1, .01, 1.25, 1, 1, 1, 1, 1, .9,
00616 ultra_glossy_hue_adj, ultra_glossy_lum_adj, ultra_glossy_sat_adj },
00617 { "Semigloss", 0.72, .8, 1, .01, 1.25, 1, 1, 1, 1, 1, .9,
00618 ultra_glossy_hue_adj, ultra_glossy_lum_adj, ultra_glossy_sat_adj },
00619 { "Luster", 0.72, .8, 1, .01, 1.25, 1, 1, 1, 1, 1, .9,
00620 ultra_glossy_hue_adj, ultra_glossy_lum_adj, ultra_glossy_sat_adj },
00621 { "WaterColorRadiant", 0.92, 0.4, 1, .01, 1.25, 1, 1, 1, 1, 1, 1.2,
00622 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00623 { "GlossyPaper", 0.83, 0.5, 1, 0.01, 1.25, 1, 1, 1, 1, 1, 1,
00624 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00625 { "Ilford", 0.83, 0.5, 1, 0.01, 1.25, 1, 1, 1, 1, 1, 1,
00626 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00627 { "ColorLife", 0.83, 0.5, 1, 0.01, 1.25, 1, 1, 1, 1, 1, 1,
00628 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00629 { "Other", 0.72, .1, .4, 0, .999, 1, 1, 1, 1.75, 1, 1.2,
00630 ultra_matte_hue_adj, ultra_matte_lum_adj, ultra_matte_sat_adj },
00631 };
00632
00633 DECLARE_PAPER_ADJUSTMENTS(ultrachrome_matte);
00634
00635 static const paper_adjustment_t durabrite_adjustments[] =
00636 {
00637 { "Plain", 1.0, .5, .5, .05, .9, 1, 1, 1, 1, 1, 1.2,
00638 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00639 { "PlainFast", 1.0, .5, .5, .05, .9, 1, 1, 1, 1, 1, 1.2,
00640 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00641 { "Postcard", 1.0, .5, 1, .05, .9, 1, 1, 1, 1, 1, 1.2,
00642 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00643 { "GlossyFilm", 0.8, 1.0, 1, .05, .999, 1, 1, 1, 1, 1, 1,
00644 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00645 { "Transparency", 0.8, .75, 1, .05, .999, 1, 1, 1, 1, 1, 1,
00646 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00647 { "Envelope", 1.0, .5, 1, .05, .9, 1, 1, 1, 1, 1, 1.2,
00648 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00649 { "BackFilm", 0.8, .75, 1, .05, .999, 1, 1, 1, 1, 1, 1,
00650 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00651 { "Matte", 0.9, .5, .5, .075, .999, 1, .975, .975, 1, 1, 1.1,
00652 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00653 { "MatteHeavy", 0.9, .5, .5, .075, .999, 1, .975, .975, 1, 1, 1.1,
00654 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00655 { "Inkjet", 1.0, .5, .5, .05, .9, 1, 1, 1, 1, 1, 1.2,
00656 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00657 { "Coated", 1.0, .5, .5, .075, .999, 1, 1, 1, 1, 1, 1.1,
00658 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00659 { "Photo", .833, .5, .5, .075, .999, 1, 1, 1, 1, 1, 1,
00660 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00661 { "GlossyPhoto", .833, 1.0, 1, .15, .999, 1, 1, 1, 1, 1, .9,
00662 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00663 { "Semigloss", .833, 1.0, 1, .15, .999, 1, 1, 1, 1, 1, .9,
00664 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00665 { "Luster", .833, 1.0, 1, .15, .999, 1, 1, 1, 1, 1, .9,
00666 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00667 { "GlossyPaper", .833, 1.0, 1, .15, .999, 1, 1, 1, 1, 1, .9,
00668 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00669 { "Ilford", .833, 1.0, 1, .15, 1.35, 1, 1, 1, 1, 1, 1,
00670 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00671 { "ColorLife", .833, 1.0, 1, .15, .9, 1, 1, 1, 1, 1, 1,
00672 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00673 { "Other", 1.0, .5, 1, .05, .9, 1, 1, 1, 1, 1, 1,
00674 standard_hue_adj, standard_lum_adj, standard_sat_adj },
00675 };
00676
00677 DECLARE_PAPER_ADJUSTMENTS(durabrite);
00678
00679 static const paper_t standard_papers[] =
00680 {
00681 { "Plain", N_("Plain Paper"), PAPER_PLAIN,
00682 1, 0, 0x6b, 0x1a, 0x01, NULL, NULL },
00683 { "PlainFast", N_("Plain Paper Fast Load"), PAPER_PLAIN,
00684 5, 0, 0x6b, 0x1a, 0x01, NULL, NULL },
00685 { "Postcard", N_("Postcard"), PAPER_PLAIN,
00686 2, 0, 0x00, 0x00, 0x02, NULL, NULL },
00687 { "GlossyFilm", N_("Glossy Film"), PAPER_PHOTO,
00688 3, 0, 0x6d, 0x00, 0x01, NULL, NULL },
00689 { "Transparency", N_("Transparencies"), PAPER_TRANSPARENCY,
00690 3, 0, 0x6d, 0x00, 0x02, NULL, NULL },
00691 { "Envelope", N_("Envelopes"), PAPER_PLAIN,
00692 4, 0, 0x6b, 0x1a, 0x01, NULL, NULL },
00693 { "BackFilm", N_("Back Light Film"), PAPER_TRANSPARENCY,
00694 6, 0, 0x6d, 0x00, 0x01, NULL, NULL },
00695 { "Matte", N_("Matte Paper"), PAPER_GOOD,
00696 7, 0, 0x00, 0x00, 0x02, NULL, NULL },
00697 { "MatteHeavy", N_("Matte Paper Heavyweight"), PAPER_GOOD,
00698 7, 0, 0x00, 0x00, 0x02, NULL, NULL },
00699 { "Inkjet", N_("Inkjet Paper"), PAPER_GOOD,
00700 7, 0, 0x6b, 0x1a, 0x01, NULL, NULL },
00701 { "Coated", N_("Photo Quality Inkjet Paper"), PAPER_GOOD,
00702 7, 0, 0x6b, 0x1a, 0x01, NULL, NULL },
00703 { "Photo", N_("Photo Paper"), PAPER_PHOTO,
00704 8, 0, 0x67, 0x00, 0x02, NULL, NULL },
00705 { "GlossyPhoto", N_("Premium Glossy Photo Paper"), PAPER_PREMIUM_PHOTO,
00706 8, 0, 0x80, 0x00, 0x02, NULL, NULL },
00707 { "Semigloss", N_("Premium Semigloss Photo Paper"), PAPER_PREMIUM_PHOTO,
00708 8, 0, 0x80, 0x00, 0x02, NULL, NULL },
00709 { "Luster", N_("Premium Luster Photo Paper"), PAPER_PREMIUM_PHOTO,
00710 8, 0, 0x80, 0x00, 0x02, NULL, NULL },
00711 { "GlossyPaper", N_("Photo Quality Glossy Paper"), PAPER_PREMIUM_PHOTO,
00712 6, 0, 0x6b, 0x1a, 0x01, NULL, NULL },
00713 { "Ilford", N_("Ilford Heavy Paper"), PAPER_PREMIUM_PHOTO,
00714 8, 0, 0x80, 0x00, 0x02, NULL, NULL },
00715 { "ColorLife", N_("ColorLife Paper"), PAPER_PREMIUM_PHOTO,
00716 8, 0, 0x67, 0x00, 0x02, NULL, NULL },
00717 { "Other", N_("Other"), PAPER_PLAIN,
00718 0, 0, 0x6b, 0x1a, 0x01, NULL, NULL },
00719 };
00720
00721 DECLARE_PAPERS(standard);
00722
00723 static const paper_t durabrite_papers[] =
00724 {
00725 { "Plain", N_("Plain Paper"), PAPER_PLAIN,
00726 1, 0, 0x6b, 0x1a, 0x01, NULL, NULL },
00727 { "PlainFast", N_("Plain Paper Fast Load"), PAPER_PLAIN,
00728 5, 0, 0x6b, 0x1a, 0x01, NULL, NULL },
00729 { "Postcard", N_("Postcard"), PAPER_PLAIN,
00730 2, 0, 0x00, 0x00, 0x02, NULL, NULL },
00731 { "GlossyFilm", N_("Glossy Film"), PAPER_PHOTO,
00732 3, 0, 0x6d, 0x00, 0x01, NULL, NULL },
00733 { "Transparency", N_("Transparencies"), PAPER_TRANSPARENCY,
00734 3, 0, 0x6d, 0x00, 0x02, NULL, NULL },
00735 { "Envelope", N_("Envelopes"), PAPER_PLAIN,
00736 4, 0, 0x6b, 0x1a, 0x01, NULL, NULL },
00737 { "BackFilm", N_("Back Light Film"), PAPER_TRANSPARENCY,
00738 6, 0, 0x6d, 0x00, 0x01, NULL, NULL },
00739 { "Matte", N_("Matte Paper"), PAPER_GOOD,
00740 7, 0, 0x00, 0x00, 0x02, NULL, NULL },
00741 { "MatteHeavy", N_("Matte Paper Heavyweight"), PAPER_GOOD,
00742 7, 0, 0x00, 0x00, 0x02, NULL, NULL },
00743 { "Inkjet", N_("Inkjet Paper"), PAPER_GOOD,
00744 7, 0, 0x6b, 0x1a, 0x01, NULL, NULL },
00745 { "Coated", N_("Photo Quality Inkjet Paper"), PAPER_GOOD,
00746 7, 0, 0x6b, 0x1a, 0x01, NULL, NULL },
00747 { "Photo", N_("Photo Paper"), PAPER_PHOTO,
00748 8, 0, 0x67, 0x00, 0x02, "RGB", NULL },
00749 { "GlossyPhoto", N_("Premium Glossy Photo Paper"), PAPER_PREMIUM_PHOTO,
00750 8, 0, 0x80, 0x00, 0x02, "RGB", NULL },
00751 { "Semigloss", N_("Premium Semigloss Photo Paper"), PAPER_PREMIUM_PHOTO,
00752 8, 0, 0x80, 0x00, 0x02, "RGB", NULL },
00753 { "Luster", N_("Premium Luster Photo Paper"), PAPER_PREMIUM_PHOTO,
00754 8, 0, 0x80, 0x00, 0x02, "RGB", NULL },
00755 { "GlossyPaper", N_("Photo Quality Glossy Paper"), PAPER_PHOTO,
00756 6, 0, 0x6b, 0x1a, 0x01, "RGB", NULL },
00757 { "Ilford", N_("Ilford Heavy Paper"), PAPER_PREMIUM_PHOTO,
00758 8, 0, 0x80, 0x00, 0x02, NULL, NULL },
00759 { "ColorLife", N_("ColorLife Paper"), PAPER_PREMIUM_PHOTO,
00760 8, 0, 0x67, 0x00, 0x02, NULL, NULL },
00761 { "Other", N_("Other"), PAPER_PLAIN,
00762 0, 0, 0x6b, 0x1a, 0x01, NULL, NULL },
00763 };
00764
00765 DECLARE_PAPERS(durabrite);
00766
00767 static const paper_t ultrachrome_papers[] =
00768 {
00769 { "Plain", N_("Plain Paper"), PAPER_PLAIN,
00770 1, 0, 0x6b, 0x1a, 0x01, NULL, "UltraMatte" },
00771 { "PlainFast", N_("Plain Paper Fast Load"), PAPER_PLAIN,
00772 5, 0, 0x6b, 0x1a, 0x01, NULL, "UltraMatte" },
00773 { "Postcard", N_("Postcard"), PAPER_PLAIN,
00774 2, 0, 0x00, 0x00, 0x02, NULL, "UltraMatte" },
00775 { "GlossyFilm", N_("Glossy Film"), PAPER_PHOTO,
00776 3, 0, 0x6d, 0x00, 0x01, NULL, "UltraPhoto" },
00777 { "Transparency", N_("Transparencies"), PAPER_TRANSPARENCY,
00778 3, 0, 0x6d, 0x00, 0x02, NULL, "UltraPhoto" },
00779 { "Envelope", N_("Envelopes"), PAPER_PLAIN,
00780 4, 0, 0x6b, 0x1a, 0x01, NULL, "UltraMatte" },
00781 { "BackFilm", N_("Back Light Film"), PAPER_TRANSPARENCY,
00782 6, 0, 0x6d, 0x00, 0x01, NULL, "UltraPhoto" },
00783 { "Matte", N_("Matte Paper"), PAPER_GOOD,
00784 7, 0, 0x00, 0x00, 0x02, NULL, "UltraMatte" },
00785 { "MatteHeavy", N_("Matte Paper Heavyweight"), PAPER_GOOD,
00786 7, 0, 0x00, 0x00, 0x02, NULL, "UltraMatte" },
00787 { "Inkjet", N_("Inkjet Paper"), PAPER_GOOD,
00788 7, 0, 0x6b, 0x1a, 0x01, NULL, "UltraMatte" },
00789 { "Coated", N_("Photo Quality Inkjet Paper"), PAPER_GOOD,
00790 7, 0, 0x6b, 0x1a, 0x01, NULL, "UltraPhoto" },
00791 { "Photo", N_("Photo Paper"), PAPER_PHOTO,
00792 8, 0, 0x67, 0x00, 0x02, NULL, "UltraPhoto" },
00793 { "GlossyPhoto", N_("Premium Glossy Photo Paper"), PAPER_PREMIUM_PHOTO,
00794 8, 0, 0x80, 0x00, 0x02, NULL, "UltraPhoto" },
00795 { "Semigloss", N_("Premium Semigloss Photo Paper"), PAPER_PREMIUM_PHOTO,
00796 8, 0, 0x80, 0x00, 0x02, NULL, "UltraPhoto" },
00797 { "Luster", N_("Premium Luster Photo Paper"), PAPER_PREMIUM_PHOTO,
00798 8, 0, 0x80, 0x00, 0x02, NULL, "UltraPhoto" },
00799 { "ArchivalMatte", N_("Archival Matte Paper"), PAPER_PREMIUM_PHOTO,
00800 7, 0, 0x00, 0x00, 0x02, NULL, "UltraMatte" },
00801 { "WaterColorRadiant", N_("Watercolor Paper - Radiant White"), PAPER_PREMIUM_PHOTO,
00802 7, 0, 0x00, 0x00, 0x02, NULL, "UltraMatte" },
00803 { "GlossyPaper", N_("Photo Quality Glossy Paper"), PAPER_PHOTO,
00804 6, 0, 0x6b, 0x1a, 0x01, NULL, "UltraPhoto" },
00805 { "Ilford", N_("Ilford Heavy Paper"), PAPER_PREMIUM_PHOTO,
00806 8, 0, 0x80, 0x00, 0x02, NULL, "UltraMatte" },
00807 { "ColorLife", N_("ColorLife Paper"), PAPER_PREMIUM_PHOTO,
00808 8, 0, 0x67, 0x00, 0x02, NULL, "UltraPhoto" },
00809 { "Other", N_("Other"), PAPER_PLAIN,
00810 0, 0, 0x6b, 0x1a, 0x01, NULL, "UltraMatte" },
00811 };
00812
00813 DECLARE_PAPERS(ultrachrome);