Graphics-MNG
view release on metacpan or search on metacpan
include/libmng.h view on Meta::CPAN
/* * * */
/* * 3. This Copyright notice may not be removed or altered from any source * */
/* * or altered source distribution. * */
/* * * */
/* * The Contributing Authors specifically permit, without fee, and * */
/* * encourage the use of this source code as a component to supporting * */
/* * the MNG and JNG file format in commercial products. If you use this * */
/* * source code in a product, acknowledgment would be highly appreciated. * */
/* * * */
/* ************************************************************************** */
/* * * */
/* * Parts of this software have been adapted from the libpng package. * */
/* * Although this library supports all features from the PNG specification * */
/* * (as MNG descends from it) it does not require the libpng package. * */
/* * It does require the zlib library and optionally the IJG jpeg library, * */
/* * and/or the "little-cms" library by Marti Maria (depending on the * */
/* * inclusion of support for JNG and Full-Color-Management respectively. * */
/* * * */
/* * This library's function is primarily to read and display MNG * */
/* * animations. It is not meant as a full-featured image-editing * */
/* * component! It does however offer creation and editing functionality * */
/* * at the chunk level. * */
/* * (future modifications may include some more support for creation * */
/* * and or editing) * */
/* * * */
/* ************************************************************************** */
/* ************************************************************************** */
/* * * */
/* * Version numbering * */
/* * * */
/* * X.Y.Z : X = release (0 = initial build) * */
/* * Y = major version (uneven = test; even = production) * */
/* * Z = minor version (bugfixes; 2 is older than 10) * */
/* * * */
/* * production versions only appear when a test-version is extensively * */
/* * tested and found stable or for intermediate bug-fixes (recognized by * */
/* * a change in the Z number) * */
/* * * */
/* * x.1.x = test version * */
/* * x.2.x = production version * */
/* * x.3.x = test version * */
/* * x.4.x = production version * */
/* * etc. * */
/* * * */
/* ************************************************************************** */
/* * * */
/* * Identifier naming conventions throughout this library * */
/* * * */
/* * iXxxx = an integer * */
/* * dXxxx = a float * */
/* * pXxxx = a pointer * */
/* * bXxxx = a boolean * */
/* * eXxxx = an enumeration * */
/* * hXxxx = a handle * */
/* * zXxxx = a zero-terminated string (pchar) * */
/* * fXxxx = a pointer to a function (callback) * */
/* * aXxxx = an array * */
/* * sXxxx = a structure * */
/* * * */
/* * Macros & defines are in all uppercase. * */
/* * Functions & typedefs in all lowercase. * */
/* * Exported stuff is prefixed with MNG_ or mng_ respectively. * */
/* * * */
/* * (I may have missed a couple; don't hesitate to let me know!) * */
/* * * */
/* ************************************************************************** */
/* ************************************************************************** */
/* * * */
/* * project : libmng * */
/* * file : libmng.h copyright (c) 2000 G.Juyn * */
/* * version : 1.0.2 * */
/* * * */
/* * purpose : main application interface * */
/* * * */
/* * author : G.Juyn * */
/* * web : http://www.3-t.com * */
/* * email : mailto:info@3-t.com * */
/* * * */
/* * comment : The main application interface. An application should not * */
/* * need access to any of the other modules! * */
/* * * */
/* * changes : 0.5.1 - 05/06/2000 - G.Juyn * */
/* * - changed chunk iteration function * */
/* * 0.5.1 - 05/08/2000 - G.Juyn * */
/* * - added chunk access functions * */
/* * - added version control constants & functions * */
/* * - changed strict-ANSI stuff * */
/* * 0.5.1 - 05/11/2000 - G.Juyn * */
/* * - added set_outputprofile2 & set_srgbprofile2 * */
/* * - added empty-chunk put-routines * */
/* * 0.5.1 - 05/12/2000 - G.Juyn * */
/* * - added version_dll & VERSION_DLL (for consistency) * */
/* * - added version control explanatory text & samples * */
/* * 0.5.1 - 05/15/2000 - G.Juyn * */
/* * - added getimgdata & putimgdata functions * */
/* * * */
/* * 0.5.2 - 05/16/2000 - G.Juyn * */
/* * - changed the version parameters (obviously) * */
/* * 0.5.2 - 05/18/2000 - G.Juyn * */
/* * - complimented constants for chunk-property values * */
/* * 0.5.2 - 05/23/2000 - G.Juyn * */
/* * - fixed MNG_UINT_pHYg value * */
/* * 0.5.2 - 05/24/2000 - G.Juyn * */
/* * - added support for get/set default zlib/IJG parms * */
/* * 0.5.2 - 06/02/2000 - G.Juyn * */
/* * - added MNG_BIGENDIAN_SUPPORT (contributed by Tim Rowley) * */
/* * - separated configuration-options into "mng_conf.h" * */
/* * - added RGB8_A8 canvasstyle * */
/* * - added getalphaline callback for RGB8_A8 canvasstyle * */
/* * 0.5.2 - 06/06/2000 - G.Juyn * */
/* * - moved errorcodes from "mng_error.h" * */
/* * - added mng_read_resume function to support * */
/* * read-suspension * */
/* * * */
/* * 0.5.3 - 06/16/2000 - G.Juyn * */
/* * - changed the version parameters (obviously) * */
/* * 0.5.3 - 06/21/2000 - G.Juyn * */
/* * - added get/set for speedtype to facilitate testing * */
/* * - added get for imagelevel during processtext callback * */
( run in 0.680 second using v1.01-cache-2.11-cpan-39bf76dae61 )