Jpeg reader interface.
Public Member Functions | |
| virtual tBool | ReadHeaderTables ()=0 |
| Read the jpeg header tables only. More... | |
| virtual tBool | BeginRead ()=0 |
| Start reading a jpeg image. More... | |
| virtual tBool | EndRead ()=0 |
| End reading a jpeg image. More... | |
| virtual tBool | DiscardBuffer ()=0 |
| Discard existing bytes in the buffer. More... | |
| virtual iFile * | GetFile () const =0 |
| Get the file from which the data are read. {Property}. More... | |
| virtual tU32 | GetWidth () const =0 |
| Get the width of the current image. More... | |
| virtual tU32 | GetHeight () const =0 |
| Get the height of the current image. More... | |
| virtual tU32 | GetNumComponents () const =0 |
| Get the number of 8bits components. {Property}. More... | |
| virtual eColorSpace | GetColorSpace () const =0 |
| Get the color space. {Property}. More... | |
| virtual tBool | ReadScanline (iFile *apOut)=0 |
| Read the next scanline. More... | |
| virtual iBitmap2D * | ReadBitmap (iGraphics *apGraphics)=0 |
| Read a 2d bitmap from the result of the next begin/end read. More... | |
Public Member Functions inherited from iUnknown | |
| virtual tBool | IsOK () const =0 |
| Check if the object is valid. More... | |
| virtual tI32 | AddRef ()=0 |
| Signal that one more reference of the object has been created. More... | |
| virtual tI32 | Release ()=0 |
| Release a reference of the object. More... | |
| virtual void | DeleteThis ()=0 |
| Bypass any reference counting and delete this object. More... | |
| virtual void | Invalidate ()=0 |
| Invalidate the object. More... | |
| virtual iUnknown * | QueryInterface (const tUUID &aIID)=0 |
| Query an interface. More... | |
| virtual void | ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0 |
| Fill a UUID list containing the UUIDs of the implemented interfaces. More... | |
| virtual tI32 | SetNumRefs (tI32 anNumRefs)=0 |
| Set the reference counter directly. More... | |
| virtual tI32 | GetNumRefs () const =0 |
| Get the number of references to this object. More... | |
|
pure virtual |
Read the jpeg header tables only.
|
pure virtual |
Start reading a jpeg image.
|
pure virtual |
End reading a jpeg image.
|
pure virtual |
Discard existing bytes in the buffer.
|
pure virtual |
Get the file from which the data are read. {Property}.
|
pure virtual |
Get the width of the current image.
|
pure virtual |
Get the height of the current image.
|
pure virtual |
Get the number of 8bits components. {Property}.
|
pure virtual |
Get the color space. {Property}.
1.8.7