Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

IntelJpegInterface.hpp

00001 #ifndef _IntelJpegInterface_H
00002 #define _IntelJpegInterface_H
00003 
00004 
00005 
00025 #include "ijl.h"
00026 
00027 
00028 class IntelJpegInterface
00029 {
00030 public:
00031         
00032 static bool readImageParams(const char* filename,
00033                                                         int* lineWidth,
00034                                                         int* padding,
00035                                                         int* nlines,
00036                                                         int* channels,
00037                                                         IJL_COLOR* ijlColor,
00038                                                         int* quality); 
00039 
00040 // save byte and RGB raw data
00041 static bool save(const char* filename, 
00042                                                    unsigned char *image,
00043                                                    int width,
00044                                                    int height,
00045                                                    int padding=0,
00046                                                    int channels=1,
00047                                                    int quality=75);
00048 
00049 };
00050 
00051 #endif
SourceForge.net Logo
Restoreinpaint sourceforge project `C++/Java Image Processing, Restoration, Inpainting Project'.

Bernard De Cuyper: Open Project Leader: Concept, design and development.
Bernard De Cuyper & Eddy Fraiha 2002, 2003. Bernard De Cuyper 2004. Open and free, for friendly usage only.
Modifications on Belgium ground of this piece of artistic work, by governement institutions or companies, must be notified to Bernard De Cuyper.
bern_bdc@hotmail.com