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

Function ilSavePsdF

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

Writes a Psd to an already-opened file

Source from the content-addressed store, hash-verified

930
931//! Writes a Psd to an already-opened file
932ILuint ilSavePsdF(ILHANDLE File)
933{
934 ILuint Pos;
935 iSetOutputFile(File);
936 Pos = itellw();
937 if (iSavePsdInternal() == IL_FALSE)
938 return 0; // Error occurred
939 return itellw() - Pos; // Return the number of bytes written.
940}
941
942
943//! Writes a Psd to a memory "lump"

Callers 2

ilSavePsdFunction · 0.85
ILAPIENTRY ilSaveFFunction · 0.85

Calls 2

iSetOutputFileFunction · 0.85
iSavePsdInternalFunction · 0.85

Tested by

no test coverage detected