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

Function ilLoadPsd

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

Reads a Psd file

Source from the content-addressed store, hash-verified

141
142//! Reads a Psd file
143ILboolean ilLoadPsd(ILconst_string FileName)
144{
145 ILHANDLE PsdFile;
146 ILboolean bPsd = IL_FALSE;
147
148 PsdFile = iopenr(FileName);
149 if (PsdFile == NULL) {
150 ilSetError(IL_COULD_NOT_OPEN_FILE);
151 return bPsd;
152 }
153
154 bPsd = ilLoadPsdF(PsdFile);
155 icloser(PsdFile);
156
157 return bPsd;
158}
159
160
161//! Reads an already-opened Psd file

Callers 2

ILAPIENTRY ilLoadFunction · 0.85
ILAPIENTRY ilLoadImageFunction · 0.85

Calls 2

ilSetErrorFunction · 0.85
ilLoadPsdFFunction · 0.85

Tested by

no test coverage detected