102{
103 switch (id) {
105 return "Unknown";
106
108 return "0x03e8 - Obsolete - ps 2.0 image info";
110 return "0x03e9 - Optional - Mac print manager print info record";
112 return "0x03eb - Obsolete - ps 2.0 indexed color table";
114 return "0x03ed - ResolutionInfo structure";
116 return "0x03ee - Alpha channel names";
118 return "0x03ef - DisplayInfo structure";
120 return "0x03f0 - Optional - Caption string";
122 return "0x03f1 - Border info";
123
125 return "0x03f2 - Background color";
127 return "0x03f3 - Print flags";
129 return "0x03f4 - Greyscale and multichannel halftoning info";
131 return "0x03f5 - Color halftoning info";
133 return "0x03f6 - Duotone halftoning info";
135 return "0x03f7 - Greyscale and multichannel transfer functions";
137 return "0x03f8 - Color transfer functions";
139 return "0x03f9 - Duotone transfer functions";
141 return "0x03fa - Duotone image information";
143 return "0x03fb - Effective black & white values for dot range";
144
146 return "0x03fc - Obsolete";
148 return "0x03fd - EPS options";
150 return "0x03fe - Quick mask info";
152 return "0x03ff - Obsolete";
154 return "0x0400 - Layer state info";
156 return "0x0401 - Working path (not saved)";
158 return "0x0402 - Layers group info";
160 return "0x0403 - Obsolete";
162 return "0x0404 - IPTC-NAA record (IMV4.pdf)";
164 return "0x0405 - Image mode for raw format files";
165
167 return "0x0406 - JPEG quality";
169 return "0x0408 - Grid & guide info";
171 return "0x0409 - Thumbnail resource";
173 return "0x040a - Copyright flag";
175 return "0x040b - URL string";
177 return "0x040c - Thumbnail resource";
179 return "0x040d - Global angle";
181 return "0x040e - Color samplers resource";
183 return "0x040f - ICC Profile";
184
186 return "0x0410 - Watermark";
188 return "0x0411 - Do not use ICC profile flag";
190 return "0x0412 - Show / hide all effects layers";
192 return "0x0413 - Spot halftone";
194 return "0x0414 - Document specific IDs";
196 return "0x0415 - Unicode alpha names";
198 return "0x0416 - Indexed color table count";
200 return "0x0417 - Index of transparent color (if any)";
202 return "0x0419 - Global altitude";
203
205 return "0x041a - Slices";
207 return "0x041b - Workflow URL - Unicode string";
209 return "0x041c - Jump to XPEP (?)";
211 return "0x041d - Alpha IDs";
213 return "0x041e - URL list - unicode";
215 return "0x0421 - Version info";
217 return "0x0422 - (Photoshop 7.0) EXIF data 1. See http://www.kodak.com/global/plugins/acrobat/en/service/digCam/exifStandard2.pdf";
219 return "0x0423 - (Photoshop 7.0) EXIF data 3. See http://www.kodak.com/global/plugins/acrobat/en/service/digCam/exifStandard2.pdf";
220
222 return "0x0424 - XMP data block";
224 return "0x0425 - (Photoshop 7.0) Caption digest. 16 bytes: RSA Data Security, MD5 message-digest algorithm";
226 return "0x0426 - (Photoshop 7.0) Print scale. 2 bytes style (0 = centered, 1 = size to fit, 2 = user defined). 4 bytes x location (floating point). 4 "
227 "bytes y location (floating point). 4 bytes scale (floating point)";
229 return "0x0428 - (Photoshop CS) Pixel Aspect Ratio. 4 bytes (version = 1 or 2), 8 bytes double, x / y of a pixel. Version 2, attempting to correct "
230 "values for NTSC and PAL, previously off by a factor of approx. 5%.";
232 return "0x0429 - (Photoshop CS) Layer Comps. 4 bytes (descriptor version = 16), Descriptor (see Descriptor structure)";
234 return "0x042A - (Photoshop CS) Alternate Duotone Colors. 2 bytes (version = 1), 2 bytes count, following is repeated for each count: [ Color: 2 bytes "
235 "for space followed by 4 * 2 byte color component ], following this is another 2 byte count, usually 256, followed by Lab colors one byte each "
236 "for L, a, b. This resource is not read or used by Photoshop.";
238 return "0x042B - (Photoshop CS)Alternate Spot Colors. 2 bytes (version = 1), 2 bytes channel count, following is repeated for each count: 4 bytes "
239 "channel ID, Color: 2 bytes for space followed by 4 * 2 byte color component. This resource is not read or used by Photoshop.";
241 return "0x042D - (Photoshop CS2) Layer Selection ID(s). 2 bytes count, following is repeated for each count: 4 bytes layer ID";
242
244 return "0x042E - (Photoshop CS2) HDR Toning information";
246 return "0x042F - (Photoshop CS2) Print info";
248 return "0x0430 - (Photoshop CS2) Layer Group(s) Enabled ID. 1 byte for each layer in the document, repeated by length of the resource. NOTE: Layer "
249 "groups have start and end markers";
251 return "0x0431 - (Photoshop CS3) Color samplers resource. Also see ID 1038 for old format. See Color samplers resource format.";
253 return "0x0432 - (Photoshop CS3) Measurement Scale. 4 bytes (descriptor version = 16), Descriptor (see See Descriptor structure)";
255 return "0x0433 - (Photoshop CS3) Timeline Information. 4 bytes (descriptor version = 16), Descriptor (see See Descriptor structure)";
257 return "0x0434 - (Photoshop CS3) Sheet Disclosure. 4 bytes (descriptor version = 16), Descriptor (see See Descriptor structure)";
259 return "0x0435 - (Photoshop CS3) DisplayInfo structure to support floating point colors. Also see ID 1007. See Appendix A in Photoshop API Guide.pdf .";
261 return "0x0436 - (Photoshop CS3) Onion Skins. 4 bytes (descriptor version = 16), Descriptor (see See Descriptor structure)";
262
264 return "0x0438 - (Photoshop CS4) Count Information. 4 bytes (descriptor version = 16), Descriptor (see See Descriptor structure) Information about the "
265 "count in the document. See the Count Tool.";
267 return "0x043A - (Photoshop CS5) Print Information. 4 bytes (descriptor version = 16), Descriptor (see See Descriptor structure) Information about the "
268 "current print settings in the document. The color management options.";
270 return "0x043B - (Photoshop CS5) Print Style. 4 bytes (descriptor version = 16), Descriptor (see See Descriptor structure) Information about the "
271 "current print style in the document. The printing marks, labels, ornaments, etc.";
273 return "0x043C - (Photoshop CS5) Macintosh NSPrintInfo. Variable OS specific info for Macintosh. NSPrintInfo. It is recommended that you do not "
274 "interpret or use this data.";
276 return "0x043D - (Photoshop CS5) Windows DEVMODE. Variable OS specific info for Windows. DEVMODE. It is recommended that you do not interpret or use "
277 "this data.";
279 return "0x043E - (Photoshop CS6) Auto Save File Path. Unicode string. It is recommended that you do not interpret or use this data.";
281 return "0x043F - (Photoshop CS6) Auto Save Format. Unicode string. It is recommended that you do not interpret or use this data.";
283 return "0x0440 - (Photoshop CC) Path Selection State. 4 bytes (descriptor version = 16), Descriptor (see See Descriptor structure) Information about "
284 "the current path selection state.";
285
287 return "0x07d0 - First path info block";
289 return "0x0bb6 - Last path info block";
291 return "0x0bb7 - Name of clipping path";
292
294 return "0x0BB8 (Photoshop CC) Origin Path Info. 4 bytes (descriptor version = 16), Descriptor (see See Descriptor structure) Information about the "
295 "origin path data.";
296
298 return "0x0FA0-0x1387 Plug-In resource(s). Resources added by a plug-in. See the plug-in API found in the SDK documentation ";
300 return "Last plug-in resource";
301
303 return "0x1B58 Image Ready variables. XML representation of variables definition";
305 return "0x1B59 Image Ready data sets";
306
308 return "0x1F40 (Photoshop CS3) Lightroom workflow, if present the document is in the middle of a Lightroom workflow.";
309
311 return "0x2710 - Print flags";
312 default: {
314 return "Path Info Block";
316 return "Plug-In Resource";
317 }
318 };
319 return QString("Unknown Resource Block: %1").arg(id);
320}