# E:/DevIL/src-IL/include/il_psd.h File Reference

`#include "il_internal.h"`

Go to the source code of this file.

## Data Structures

struct | PSDHEAD

## Functions

ILboolean | iIsValidPsd (void)
ILboolean | iCheckPsd (PSDHEAD *Header)
ILboolean | iLoadPsdInternal (void)
ILboolean | ReadPsd (PSDHEAD *Head)
ILboolean | ReadGrey (PSDHEAD *Head)
ILboolean | ReadIndexed (PSDHEAD *Head)
ILboolean | ReadRGB (PSDHEAD *Head)
ILboolean | ReadCMYK (PSDHEAD *Head)
ILuint * | GetCompChanLen (PSDHEAD *Head)
ILboolean | PsdGetData (PSDHEAD *Head, void *Buffer, ILboolean Compressed)
ILboolean | ParseResources (ILuint ResourceSize, ILubyte *Resources)
ILboolean | GetSingleChannel (PSDHEAD *Head, ILubyte *Buffer, ILboolean Compressed)
ILboolean | iSavePsdInternal (void)

## Variables

ILushort | ChannelNum

## Function Documentation

ILuint* GetCompChanLen | ( | PSDHEAD * | Head | ) |

Referenced by PsdGetData().

ILboolean GetSingleChannel | ( | PSDHEAD * | Head,
|  | ILubyte * | Buffer,
|  | ILboolean | Compressed |
| ) |  |  |

Referenced by ReadCMYK().

ILboolean iCheckPsd | ( | PSDHEAD * | Header | ) |

Referenced by iIsValidPsd(), and iLoadPsdInternal().

ILboolean iIsValidPsd | ( | void |  | ) |

Referenced by ilIsValidPsdF(), and ilIsValidPsdL().

ILboolean iLoadPsdInternal | ( | void |  | ) |

Referenced by ilLoadPsdF(), and ilLoadPsdL().

ILboolean iSavePsdInternal | ( | void |  | ) |

Referenced by ilSavePsdF(), and ilSavePsdL().

ILboolean ParseResources | ( | ILuint | ResourceSize,
|  | ILubyte * | Resources |
| ) |  |  |

Referenced by ReadCMYK(), ReadGrey(), ReadIndexed(), and ReadRGB().

ILboolean PsdGetData | ( | PSDHEAD * | Head,
|  | void * | Buffer,
|  | ILboolean | Compressed |
| ) |  |  |

Referenced by ReadCMYK(), ReadGrey(), ReadIndexed(), and ReadRGB().

ILboolean ReadCMYK | ( | PSDHEAD * | Head | ) |

Referenced by ReadPsd().

ILboolean ReadGrey | ( | PSDHEAD * | Head | ) |

Referenced by ReadPsd().

ILboolean ReadIndexed | ( | PSDHEAD * | Head | ) |

Referenced by ReadPsd().

ILboolean ReadPsd | ( | PSDHEAD * | Head | ) |

Referenced by iLoadPsdInternal().

ILboolean ReadRGB | ( | PSDHEAD * | Head | ) |

Referenced by ReadPsd().

## Variable Documentation

ILushort ChannelNum

Referenced by GetCompChanLen(), ReadCMYK(), ReadGrey(), ReadIndexed(), and ReadRGB().