TalanSoft Toolkits  201707
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
iJpegWriter Struct Referenceabstract
Inheritance diagram for iJpegWriter:
iUnknown

Detailed Description

Jpeg writer interface.

Public Member Functions

virtual tBool BeginWrite (iFile *apDest, tU32 anWidth, tU32 anHeight, eColorSpace aInCS, tU32 anC, tU32 anQuality, tJpegWriteFlags aFlags)=0
 Begin writing a new jpeg file. More...
 
virtual tBool EndWrite ()=0
 End writing the jpeg file. More...
 
virtual tBool WriteScanline (iFile *apSrc)=0
 Write a scanline. More...
 
virtual tBool WriteBitmap (iFile *apDest, const iBitmap2D *apBmp, tU32 anQuality, tJpegWriteFlags aFlags)=0
 Write a 2d bitmap. 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 iUnknownQueryInterface (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...
 

Member Function Documentation

virtual tBool BeginWrite ( iFile apDest,
tU32  anWidth,
tU32  anHeight,
eColorSpace  aInCS,
tU32  anC,
tU32  anQuality,
tJpegWriteFlags  aFlags 
)
pure virtual

Begin writing a new jpeg file.

virtual tBool EndWrite ( )
pure virtual

End writing the jpeg file.

virtual tBool WriteScanline ( iFile apSrc)
pure virtual

Write a scanline.

virtual tBool WriteBitmap ( iFile apDest,
const iBitmap2D apBmp,
tU32  anQuality,
tJpegWriteFlags  aFlags 
)
pure virtual

Write a 2d bitmap.

Remarks
Supports R8G8B8 and R8G8B8A8.