#include <ImageFile.h>
Inheritance diagram for CImageFile:
Public Member Functions | |
CImageFile (CImageServices *pService) | |
virtual | ~CImageFile () |
void | Clear () |
BOOL | LoadFromMemory (LPCTSTR pszType, LPCVOID pData, DWORD nLength, BOOL bScanOnly=FALSE, BOOL bPartialOk=FALSE) |
BOOL | LoadFromFile (LPCTSTR pszType, HANDLE hFile, DWORD nLength, BOOL bScanOnly=FALSE, BOOL bPartialOk=FALSE) |
BOOL | LoadFromFile (LPCTSTR pszFile, BOOL bScanOnly=FALSE, BOOL bPartialOk=FALSE) |
BOOL | LoadFromResource (HINSTANCE hInstance, UINT nResourceID, LPCTSTR pszType, BOOL bScanOnly=FALSE, BOOL bPartialOk=FALSE) |
BOOL | SaveToMemory (LPCTSTR pszType, int nQuality, LPBYTE *ppBuffer, DWORD *pnLength) |
BOOL | SaveToFile (LPCTSTR pszType, int nQuality, HANDLE hFile, DWORD *pnLength=NULL) |
BOOL | SaveToFile (LPCTSTR pszFile, int nQuality) |
DWORD | GetSerialSize () const |
void | Serialize (CArchive &ar) |
HBITMAP | CreateBitmap (HDC hUseDC=0) |
BOOL | Resample (int nNewWidth, int nNewHeight) |
BOOL | FastResample (int nNewWidth, int nNewHeight) |
BOOL | EnsureRGB (COLORREF crBack=0xFFFFFFFF) |
BOOL | MonoToRGB () |
BOOL | AlphaToRGB (COLORREF crBack) |
BOOL | SwapRGB () |
Public Attributes | |
BOOL | m_bScanned |
int | m_nWidth |
int | m_nHeight |
int | m_nComponents |
BOOL | m_bLoaded |
LPBYTE | m_pImage |
Protected Attributes | |
CImageServices * | m_pService |
|
Definition at line 45 of file ImageFile.cpp. References NULL. |
|
Definition at line 56 of file ImageFile.cpp. References Clear(). |
|
Definition at line 549 of file ImageFile.cpp. References m_bLoaded, m_nComponents, m_nHeight, m_nWidth, and m_pImage. Referenced by EnsureRGB(). |
|
Definition at line 64 of file ImageFile.cpp. References m_bLoaded, m_bScanned, m_nComponents, m_nHeight, m_nWidth, m_pImage, and NULL. Referenced by CImageServices::PostLoad(), Serialize(), and ~CImageFile(). |
|
Definition at line 227 of file ImageFile.cpp. References asm_m_nWidth, m_bLoaded, m_nComponents, m_nHeight, m_nWidth, m_pImage, and NULL. Referenced by CSkin::LoadBitmap(), CImageServices::LoadBitmap(), CBrowseProfileCtrl::LoadDefaultHead(), CBrowseProfileCtrl::OnHeadPacket(), CSearchDetailPanel::OnPreviewLoaded(), CLibraryTipCtrl::OnRun(), CLibraryThumbView::OnRun(), CLibraryMetaPanel::OnRun(), and CAvatarProfilePage::PrepareImage(). |
|
Definition at line 483 of file ImageFile.cpp. References AlphaToRGB(), m_bLoaded, m_nComponents, m_nHeight, m_nWidth, and MonoToRGB(). Referenced by CSkin::LoadBitmap(), CImageServices::LoadBitmap(), CBrowseProfileCtrl::LoadDefaultHead(), CEmoticons::LoadTrillian(), CBrowseProfileCtrl::OnHeadPacket(), CLibraryTipCtrl::OnRun(), CLibraryThumbView::OnRun(), CLibraryMetaPanel::OnRun(), CAvatarProfilePage::PrepareImage(), and CUploadTransferHTTP::RequestPreview(). |
|
Definition at line 438 of file ImageFile.cpp. References m_bLoaded, m_nComponents, m_nHeight, m_nWidth, and m_pImage. |
|
Definition at line 168 of file ImageFile.cpp. References m_bLoaded, m_nComponents, m_nHeight, and m_nWidth. Referenced by CThumbCache::Store(). |
|
Definition at line 89 of file ImageFile.cpp. References CImageServices::LoadFromFile(), m_pService, and NULL. |
|
Definition at line 84 of file ImageFile.cpp. References CImageServices::LoadFromFile(), and m_pService. Referenced by CSkin::LoadBitmap(), CBrowseProfileCtrl::LoadDefaultHead(), CEmoticons::LoadTrillian(), CLibraryTipCtrl::OnRun(), CLibraryThumbView::OnRun(), CLibraryMetaPanel::OnRun(), CAvatarProfilePage::PrepareImage(), and CUploadTransferHTTP::RequestPreview(). |
|
Definition at line 79 of file ImageFile.cpp. References CImageServices::LoadFromMemory(), and m_pService. Referenced by CSearchDetailPanel::DrawThumbnail(), CBrowseProfileCtrl::OnHeadPacket(), CSearchDetailPanel::OnRun(), and CSearchDetailPanel::Update(). |
|
Definition at line 103 of file ImageFile.cpp. References CImageServices::LoadFromMemory(), m_pService, NULL, RT_JPEG, and RT_PNG. Referenced by CSkin::LoadBitmap(), and CImageServices::LoadBitmap(). |
|
Definition at line 507 of file ImageFile.cpp. References m_bLoaded, m_nComponents, m_nHeight, m_nWidth, and m_pImage. Referenced by EnsureRGB(). |
|
Definition at line 319 of file ImageFile.cpp. References m_bLoaded, m_nComponents, m_nHeight, m_nWidth, and m_pImage. Referenced by CBrowseProfileCtrl::LoadDefaultHead(), CBrowseProfileCtrl::OnHeadPacket(), CSearchDetailPanel::OnPreviewLoaded(), CLibraryTipCtrl::OnRun(), CLibraryThumbView::OnRun(), CLibraryMetaPanel::OnRun(), CAvatarProfilePage::PrepareImage(), and CUploadTransferHTTP::RequestPreview(). |
|
Definition at line 149 of file ImageFile.cpp. References m_pService, NULL, and CImageServices::SaveToFile(). |
|
Definition at line 144 of file ImageFile.cpp. References m_pService, and CImageServices::SaveToFile(). |
|
Definition at line 139 of file ImageFile.cpp. References m_pService, and CImageServices::SaveToMemory(). Referenced by CUploadTransferHTTP::RequestPreview(). |
|
Definition at line 179 of file ImageFile.cpp. References Clear(), m_bLoaded, m_nComponents, m_nHeight, m_nWidth, and m_pImage. Referenced by CThumbCache::Load(), and CThumbCache::Store(). |
|
Definition at line 611 of file ImageFile.cpp. References m_bLoaded, m_nComponents, m_nHeight, m_nWidth, and m_pImage. Referenced by CEmoticons::LoadTrillian(). |
|
Definition at line 45 of file ImageFile.h. Referenced by CEmoticons::AddEmoticon(), AlphaToRGB(), Clear(), CreateBitmap(), EnsureRGB(), FastResample(), GetSerialSize(), MonoToRGB(), CImageServices::PostLoad(), Resample(), Serialize(), and SwapRGB(). |
|
Definition at line 40 of file ImageFile.h. Referenced by Clear(), and CImageServices::PostLoad(). |
|
Definition at line 43 of file ImageFile.h. Referenced by CEmoticons::AddEmoticon(), AlphaToRGB(), Clear(), CreateBitmap(), EnsureRGB(), FastResample(), GetSerialSize(), CImageServices::ImageToArray(), MonoToRGB(), CImageServices::PostLoad(), Resample(), Serialize(), and SwapRGB(). |
|
|
|
Definition at line 46 of file ImageFile.h. Referenced by CEmoticons::AddEmoticon(), AlphaToRGB(), Clear(), CreateBitmap(), FastResample(), CImageServices::ImageToArray(), CEmoticons::LoadTrillian(), MonoToRGB(), CImageServices::PostLoad(), Resample(), Serialize(), and SwapRGB(). |
|
Definition at line 38 of file ImageFile.h. Referenced by LoadFromFile(), LoadFromMemory(), LoadFromResource(), SaveToFile(), and SaveToMemory(). |