• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KImgIO

psd.cpp File Reference

#include "psd.h"
#include <QtGui/QImage>
#include <QtCore/QDataStream>
#include <kdebug.h>

Include dependency graph for psd.cpp:

Go to the source code of this file.


Typedefs

typedef quint8 uchar
typedef quint32 uint
typedef quint16 ushort

Enumerations

enum  ColorMode {
  CM_BITMAP = 0, CM_GRAYSCALE = 1, CM_INDEXED = 2, CM_RGB = 3,
  CM_CMYK = 4, CM_MULTICHANNEL = 7, CM_DUOTONE = 8, CM_LABCOLOR = 9
}

Functions

static bool IsSupported (const PSDHeader &header)
static bool IsValid (const PSDHeader &header)
static bool LoadPSD (QDataStream &s, const PSDHeader &header, QImage &img)
static QDataStream & operator>> (QDataStream &s, PSDHeader &header)
static bool seekBy (QDataStream &s, unsigned int bytes)

Typedef Documentation

typedef quint8 uchar

Definition at line 29 of file psd.cpp.

typedef quint32 uint

Definition at line 27 of file psd.cpp.

typedef quint16 ushort

Definition at line 28 of file psd.cpp.


Enumeration Type Documentation

enum ColorMode

Enumerator:
CM_BITMAP 
CM_GRAYSCALE 
CM_INDEXED 
CM_RGB 
CM_CMYK 
CM_MULTICHANNEL 
CM_DUOTONE 
CM_LABCOLOR 

Definition at line 33 of file psd.cpp.


Function Documentation

static bool @16::IsSupported ( const PSDHeader &  header  )  [static]

Definition at line 93 of file psd.cpp.

static bool @16::IsValid ( const PSDHeader &  header  )  [static]

Definition at line 84 of file psd.cpp.

static bool @16::LoadPSD ( QDataStream &  s,
const PSDHeader &  header,
QImage &  img 
) [static]

Definition at line 111 of file psd.cpp.

static QDataStream& @16::operator>> ( QDataStream &  s,
PSDHeader &  header 
) [static]

Definition at line 55 of file psd.cpp.

static bool @16::seekBy ( QDataStream &  s,
unsigned int  bytes 
) [static]

Definition at line 69 of file psd.cpp.


Variable Documentation

ushort channel_count

Definition at line 48 of file psd.cpp.

ushort color_mode

Definition at line 52 of file psd.cpp.

ushort depth

Definition at line 51 of file psd.cpp.

uint height

Definition at line 49 of file psd.cpp.

uchar reserved[6]

Definition at line 47 of file psd.cpp.

uint signature

Definition at line 45 of file psd.cpp.

ushort version

Definition at line 46 of file psd.cpp.

uint width

Definition at line 50 of file psd.cpp.

KImgIO

Skip menu "KImgIO"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal