SILLY - Man Page

Simple Image Loading LibrarY namespace.

Synopsis

Classes

class DataSource
This is an abstract class used to provide data to the loader.
class FileDataSource
This class allow the loading of an image directly from a file.
class Image
Image is the main user class of the library.
class ImageContext
Store the data needed by an ImageLoader object during the parsing of an image.
class ImageLoader
This is an abstract class that define the interface of all image loader.
class ImageLoaderManager
Manage the list of all supported ImageLoader.
class JPGImageContext
Image Context for JPG image loader.
class JPGImageLoader
Loader class for JPG Image.
class MemoryDataSource
Load an image from a memory area.
class PNGImageContext
Image Context for PNG Image Loader.
class PNGImageLoader
Loader for PNG Image.
class TGAImageContext
Image Context for Targa image.
class TGAImageLoader
Loader for Targa image.

Typedefs

typedef unsigned char byte
Typename for a byte.
typedef std::vector< ImageLoader * > ImageLoaderList
Typename for a collection of image loader.

Enumerations

enum PixelFormat { PF_A1B5G5R5, PF_RGB, PF_RGBA, PF_ORIGIN }
List all pixel format supported.
enum PixelOrigin { PO_TOP_LEFT, PO_BOTTOM_LEFT }
List all pixel origin supported.

Functions

void JPG_emit_message (j_common_ptr cinfo, int msg_level)
void JPG_error_exit (j_common_ptr cinfo)
boolean JPG_fill_input_buffer (j_decompress_ptr cinfo)
void JPG_init_source (j_decompress_ptr cinfo)
void JPG_skip_input_data (j_decompress_ptr cinfo, long num_bytes)
void JPG_term_source (j_decompress_ptr cinfo)
void PNG_error_function (png_structp png_ptr, png_const_charp error)
void PNG_read_function (png_structp png_ptr, png_bytep data, png_size_t length)
void PNG_warning_function (png_structp png_ptr, png_const_charp error)
void SILLYCleanup ()
Cleanup SILLY library internal.
bool SILLYInit ()
Initialize the SILLY Library.

Variables

static size_t silly_init_counter = 0

Detailed Description

Simple Image Loading LibrarY namespace.

This namespace contains all the symbols and types of the library

Typedef Documentation

typedef unsigned char byte

Typename for a byte.

Definition at line 80 of file SILLYBase.h.

typedef std::vector<ImageLoader*> ImageLoaderList

Typename for a collection of image loader.

Definition at line 42 of file SILLYImageLoaderManager.h.

Enumeration Type Documentation

enum PixelFormat

List all pixel format supported.

Definition at line 59 of file SILLYBase.h.

enum PixelOrigin

List all pixel origin supported.

Definition at line 70 of file SILLYBase.h.

Function Documentation

void JPG_emit_message (j_common_ptr cinfo, int msg_level)

Definition at line 84 of file SILLYJPGImageContext.cpp.

void JPG_error_exit (j_common_ptr cinfo)

Definition at line 76 of file SILLYJPGImageContext.cpp.

boolean JPG_fill_input_buffer (j_decompress_ptr cinfo)

Definition at line 54 of file SILLYJPGImageContext.cpp.

void JPG_init_source (j_decompress_ptr cinfo)

Definition at line 49 of file SILLYJPGImageContext.cpp.

void JPG_skip_input_data (j_decompress_ptr cinfo, long num_bytes)

Definition at line 62 of file SILLYJPGImageContext.cpp.

void JPG_term_source (j_decompress_ptr cinfo)

Definition at line 71 of file SILLYJPGImageContext.cpp.

void PNG_error_function (png_structp png_ptr, png_const_charp error)

Definition at line 63 of file SILLYPNGImageLoader.cpp.

void PNG_read_function (png_structp png_ptr, png_bytep data, png_size_t length)

Definition at line 47 of file SILLYPNGImageLoader.cpp.

void PNG_warning_function (png_structp png_ptr, png_const_charp error)

Definition at line 57 of file SILLYPNGImageLoader.cpp.

void SILLY_EXPORT SILLYCleanup ()

Cleanup SILLY library internal.

Definition at line 100 of file SILLYImageLoaderManager.cpp.

bool SILLY_EXPORT SILLYInit ()

Initialize the SILLY Library.

Returns

True if the initialization was successfull false otherwise.

Definition at line 87 of file SILLYImageLoaderManager.cpp.

Variable Documentation

size_t silly_init_counter = 0 [static]

Definition at line 58 of file SILLYImageLoaderManager.cpp.

Author

Generated automatically by Doxygen for Simple Image Loading LibrarY from the source code.

Info

Wed Jul 20 2022 Version 0.1.0 Simple Image Loading LibrarY