MCPcopy Create free account
hub / github.com/DentonW/DevIL / ReadPsd

Function ReadPsd

DevIL/src-IL/src/il_psd.cpp:208–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206
207
208ILboolean ReadPsd(PSDHEAD *Head)
209{
210 switch (Head->Mode)
211 {
212 case 1: // Greyscale
213 return ReadGrey(Head);
214 case 2: // Indexed
215 return ReadIndexed(Head);
216 case 3: // RGB
217 return ReadRGB(Head);
218 case 4: // CMYK
219 return ReadCMYK(Head);
220 }
221
222 ilSetError(IL_FORMAT_NOT_SUPPORTED);
223 return IL_FALSE;
224}
225
226
227ILboolean ReadGrey(PSDHEAD *Head)

Callers 1

iLoadPsdInternalFunction · 0.85

Calls 5

ReadGreyFunction · 0.85
ReadIndexedFunction · 0.85
ReadRGBFunction · 0.85
ReadCMYKFunction · 0.85
ilSetErrorFunction · 0.85

Tested by

no test coverage detected