imagetype.h

来自「Jpeg编解码器的源代码」· C头文件 代码 · 共 42 行

H
42
字号
#ifndef CB__IMAGETYPE_H
#define CB__IMAGETYPE_H
//
// Copyright (c) 1997,1998 Colosseum Builders, Inc.
// All rights reserved.
//
// Colosseum Builders, Inc. makes no warranty, expressed or implied
// with regards to this software. It is provided as is.
//
// See the README.TXT file that came with this software for restrictions
// on the use and redistribution of this file or send E-mail to
// info@colosseumbuilders.com
//

//
//  Title:  Graphics Type Definitions
//
//  Author:  John M. Miano  miano@colosseumbuilders.com
//

#include "bitmapimage.h"

namespace Colosseum
{

enum ImageType
{
  UnknownImage=0,
  BmpImage = 2,
  JpegImage = 3,
} ;

extern ImageType GetStreamImageType (const std::string &) ;
extern ImageType ReadImage (const std::string &,
                            BitmapImage &image,
                            PROGRESSFUNCTION function,
                            void *data) ;
extern ImageType ReadImage2 (const std::string &filename,
                BitmapImage &image);
}
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?