WIL説明書(C++)  3.0.0
FvImageFileJpg.h
[詳解]
1 // $Revision: 1.3 $
2 /*
3  @file FvImageFileJpg.h
4  @brief CFvImageFileJpg class interface
5  @author FAST Corporation
6 */
7 
8 #ifndef _FVIMAGEFILEJPG_H_INCLUDED_
9 #define _FVIMAGEFILEJPG_H_INCLUDED_
10 
11 #include "FvImageFile.h"
12 
13 #pragma pack(push,_FVCL_PACKING)
14 
15 namespace FVCL
16 {
17 namespace File
18 {
19 
20 // /////////////////////////////////////////////////////////////////
21 // DEFINE
22 //
23 
24 // /////////////////////////////////////////////////////////////////
25 // TYPEDEF
26 //
27 
28 // /////////////////////////////////////////////////////////////////
29 // CLASS
30 //
32 {
33 public:
35  virtual ~CFvImageFileJpg();
36 
37  // METHOD
38 
39  virtual FVCL::ImageSize CheckInfo( LPCTSTR szFileName ) const;
40  virtual bool Load( LPCTSTR szFileName, FVCL::Data::CFvImage* pImage );
41  virtual bool Save( LPCTSTR szFileName, const FVCL::Data::CFvImage& image );
42 
43  bool SetQuality( INT quality );
44  INT GetQuality() const;
45 
46  // OPERATOR
47  virtual CFvImageFileJpg& operator = ( const CFvImageFileJpg& src );
48  virtual bool operator == ( const CFvImageFileJpg& src ) const;
49  virtual bool operator != ( const CFvImageFileJpg& src ) const;
50 
51 protected:
52  // OBJECTS
53  INT m_Quality; // JPEG Quality.
54 
55 private:
56  INT ReadJpegInfo( LPCTSTR szFileName, FVCL::ImageSize* size ) const;
57 };
58 
59 } // File
60 } // FVCL
61 
62 #pragma pack(pop)
63 
64 #endif // _FVIMAGEFILEJPG_H_INCLUDED_
#define FVCL_API
DLLエクスポートマクロ
Definition: FvMacros.h:61
画像ファイルアクセスの基本クラス
Definition: FvImageFile.h:31
<img class= inline-img src="oss.png" alt="[[OSS]]"> JPEG 画像ファイルアクセスクラス ...
Definition: FvImageFileJpg.h:31
LPCSTR LPCTSTR
汎用文字列型(const付き)
Definition: FvDefs.h:57
画像サイズ情報クラス
Definition: ImageSize.h:21
FVCLのネームスペース
Definition: EVCbasicDeclare.txt:9
int INT
整数型(32ビット)
Definition: FvDefs.h:36
INT m_Quality
圧縮品質 (0~100)
Definition: FvImageFileJpg.h:53
画像ファイルアクセスの基本クラスのインターフェース
画像オブジェクト
Definition: FvImage.h:64

Documentation copyright © 2007 FAST Corporation. [B-001864]
Generated on 2023年11月02日(木) 10時12分53秒 for WIL説明書(C++) by doxygen 1.8.11