view release on metacpan or search on metacpan
src/Source/LibWebP/src/enc/enc.syntax.c
src/Source/LibWebP/src/enc/enc.token.c
src/Source/LibWebP/src/enc/enc.tree.c
src/Source/LibWebP/src/enc/enc.vp8l.c
src/Source/LibWebP/src/enc/enc.webpenc.c
src/Source/LibWebP/src/enc/histogram.h
src/Source/LibWebP/src/enc/vp8enci.h
src/Source/LibWebP/src/enc/vp8li.h
src/Source/LibWebP/src/file_rename.bat
src/Source/LibWebP/src/mux/mux.anim_encode.c
src/Source/LibWebP/src/mux/mux.muxedit.c
src/Source/LibWebP/src/mux/mux.muxinternal.c
src/Source/LibWebP/src/mux/mux.muxread.c
src/Source/LibWebP/src/mux/muxi.h
src/Source/LibWebP/src/utils/bit_reader.h
src/Source/LibWebP/src/utils/bit_reader_inl.h
src/Source/LibWebP/src/utils/bit_writer.h
src/Source/LibWebP/src/utils/color_cache.h
src/Source/LibWebP/src/utils/endian_inl.h
src/Source/LibWebP/src/utils/filters.h
src/Source/LibWebP/src/utils/huffman.h
src/Makefile.srcs view on Meta::CPAN
VER_MAJOR = 3
VER_MINOR = 17.0
SRCS = ./Source/FreeImage/BitmapAccess.cpp ./Source/FreeImage/ColorLookup.cpp ./Source/FreeImage/FreeImage.cpp ./Source/FreeImage/FreeImageC.c ./Source/FreeImage/FreeImageIO.cpp ./Source/FreeImage/GetType.cpp ./Source/FreeImage/MemoryIO.cpp ./Source/...
INCLS = ./Examples/OpenGL/TextureManager/TextureManager.h ./Examples/Plugin/PluginCradle.h ./Examples/Generic/FIIO_Mem.h ./Source/MapIntrospector.h ./Source/FreeImage - Copie.h ./Source/CacheFile.h ./Source/LibTIFF/tiffconf.vc.h ./Source/LibTIFF/tif_...
INCLUDE = -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -ISource/LibJPEG -ISource/LibPNG -ISource/LibTIFF4 -ISource/ZLib -ISource/LibOpenJPEG -ISource/OpenEXR -ISource/OpenEXR/Half -ISource/OpenEXR/Iex -ISource/OpenEXR/IlmImf -ISource/Open...
src/Source/FreeImageToolkit/ClassicRotate.cpp view on Meta::CPAN
// PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER
// THIS DISCLAIMER.
//
// Use at your own risk!
// ==========================================================
/*
============================================================
References :
[1] Paeth A., A Fast Algorithm for General Raster Rotation.
Graphics Gems, p. 179, Andrew Glassner editor, Academic Press, 1990.
[2] Yariv E., High quality image rotation (rotate by shear).
[Online] http://www.codeproject.com/bitmap/rotatebyshear.asp
[3] Treskunov A., Fast and high quality true-color bitmap rotation function.
[Online] http://anton.treskunov.net/Software/doc/fast_and_high_quality_true_color_bitmap_rotation_function.html
============================================================
*/
#include "FreeImage.h"
#include "Utilities.h"
src/Source/FreeImageToolkit/Filters.h view on Meta::CPAN
Mitchell & Netravali's two-param cubic filter<br>
The parameters b and c can be used to adjust the properties of the cubic.
They are sometimes referred to as "blurring" and "ringing" respectively.
The default is b = 1/3 and c = 1/3, which were the values recommended by
Mitchell and Netravali as yielding the most visually pleasing results in subjective tests of human beings.
Larger values of b and c can produce interesting op-art effects--for example, try b = 0 and c = -5. <br><br>
<b>Reference</b> : <br>
Don P. Mitchell and Arun N. Netravali, Reconstruction filters in computer graphics.
In John Dill, editor, Computer Graphics (SIGGRAPH '88 Proceedings), Vol. 22, No. 4, August 1988, pp. 221-228.
*/
class CBicubicFilter : public CGenericFilter
{
protected:
// data for parameterized Mitchell filter
double p0, p2, p3;
double q0, q1, q2, q3;
public:
/**
src/Source/FreeImageToolkit/Filters.h view on Meta::CPAN
When using CBicubicFilter filters, you have to set parameters b and c such that <br>
b + 2 * c = 1<br>
in order to use the numerically most accurate filter.<br>
This gives for b = 0 the maximum value for c = 0.5, which is the Catmull-Rom
spline and a good suggestion for sharpness.<br><br>
<b>References</b> : <br>
<ul>
<li>Mitchell Don P., Netravali Arun N., Reconstruction filters in computer graphics.
In John Dill, editor, Computer Graphics (SIGGRAPH '88 Proceedings), Vol. 22, No. 4, August 1988, pp. 221-228.
<li>Keys R.G., Cubic Convolution Interpolation for Digital Image Processing.
IEEE Trans. Acoustics, Speech, and Signal Processing, vol. 29, no. 6, pp. 1153-1160, Dec. 1981.
</ul>
*/
class CCatmullRomFilter : public CGenericFilter
{
public:
/**
src/Source/LibJPEG/ckconfig.c view on Meta::CPAN
* program, make changes as indicated in the comments below. Once you can
* compile the program, run it, and it will produce a "jconfig.h" file for
* your system.
*
* As a general rule, each time you try to compile this program,
* pay attention only to the *first* error message you get from the compiler.
* Many C compilers will issue lots of spurious error messages once they
* have gotten confused. Go to the line indicated in the first error message,
* and read the comments preceding that line to see what to change.
*
* Almost all of the edits you may need to make to this program consist of
* changing a line that reads "#define SOME_SYMBOL" to "#undef SOME_SYMBOL",
* or vice versa. This is called defining or undefining that symbol.
*/
/* First we must see if your system has the include files we need.
* We start out with the assumption that your system has all the ANSI-standard
* include files. If you get any error trying to include one of these files,
* undefine the corresponding HAVE_xxx symbol.
*/
src/Source/LibJPEG/coderules.txt view on Meta::CPAN
* Block comments in this style.
*/
We indent statements in K&R style, e.g.,
if (test) {
then-part;
} else {
else-part;
}
with two spaces per indentation level. (This indentation convention is
handled automatically by GNU Emacs and many other text editors.)
Multi-word names should be written in lower case with underscores, e.g.,
multi_word_name (not multiWordName). Preprocessor symbols and enum constants
are similar but upper case (MULTI_WORD_NAME). Names should be unique within
the first fifteen characters. (On some older systems, global names must be
unique within six characters. We accommodate this without cluttering the
source code by using macros to substitute shorter names.)
We use function prototypes everywhere; we rely on automatic source code
transformation to feed prototype-less C compilers. Transformation is done
src/Source/LibJPEG/install.txt view on Meta::CPAN
Copy the proper jconfig file to jconfig.h and the makefile to Makefile (or
whatever your system uses as the standard makefile name). For more info see
the appropriate system-specific hints section near the end of this file.
Configuring the software by hand
--------------------------------
First, generate a jconfig.h file. If you are moderately familiar with C,
the comments in jconfig.txt should be enough information to do this; just
copy jconfig.txt to jconfig.h and edit it appropriately. Otherwise, you may
prefer to use the ckconfig.c program. You will need to compile and execute
ckconfig.c by hand --- we hope you know at least enough to do that.
ckconfig.c may not compile the first try (in fact, the whole idea is for it
to fail if anything is going to). If you get compile errors, fix them by
editing ckconfig.c according to the directions given in ckconfig.c. Once
you get it to run, it will write a suitable jconfig.h file, and will also
print out some advice about which makefile to use.
You may also want to look at the canned jconfig files, if there is one for a
system similar to yours.
Second, select a makefile and copy it to Makefile (or whatever your system
uses as the standard makefile name). The most generic makefiles we provide
are
makefile.ansi: if your C compiler supports function prototypes
src/Source/LibJPEG/install.txt view on Meta::CPAN
to put the man pages (cjpeg.1, djpeg.1, jpegtran.1, rdjpgcom.1, wrjpgcom.1)
in the man-page directory. The pre-fab makefiles don't support this step
since there's such a wide variety of installation procedures on different
systems.
If you generated a Makefile with the "configure" script, you can just say
make install
to install the programs and their man pages into the standard places.
(You'll probably need to be root to do this.) We recommend first saying
make -n install
to see where configure thought the files should go. You may need to edit
the Makefile, particularly if your system's conventions for man page
filenames don't match what configure expects.
If you want to install the IJG library itself, for use in compiling other
programs besides ours, then you need to put the four include files
jpeglib.h jerror.h jconfig.h jmorecfg.h
into your include-file directory, and put the library file libjpeg.a
(extension may vary depending on system) wherever library files go.
If you generated a Makefile with "configure", it will do what it thinks
is the right thing if you say
src/Source/LibJPEG/install.txt view on Meta::CPAN
malloc/free. (For instance, free() may not return the freed space to the
Mac Memory Manager. This is undesirable for the IJG code because jmemmgr.c
already clumps space requests.)
Macintosh, Metrowerks CodeWarrior:
The Unix-command-line-style interface can be used by defining USE_CCOMMAND.
You'll also need to define TWO_FILE_COMMANDLINE to avoid stdin/stdout.
This means that when using the cjpeg/djpeg programs, you'll have to type the
input and output file names in the "Arguments" text-edit box, rather than
using the file radio buttons. (Perhaps USE_FDOPEN or USE_SETMODE would
eliminate the problem, but I haven't heard from anyone who's tried it.)
On 680x0 Macs, Metrowerks defines type "double" as a 10-byte IEEE extended
float. jmemmgr.c won't like this: it wants sizeof(ALIGN_TYPE) to be a power
of 2. Add "#define ALIGN_TYPE long" to jconfig.h to eliminate the complaint.
The supplied configuration file jconfig.mac can be used for your jconfig.h;
it includes all the recommended symbol definitions. If you have AppleScript
installed, you can run the supplied script makeproj.mac to create CodeWarrior
src/Source/LibJPEG/jinclude.h view on Meta::CPAN
/*
* jinclude.h
*
* Copyright (C) 1991-1994, Thomas G. Lane.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
* This file exists to provide a single place to fix any problems with
* including the wrong system include files. (Common problems are taken
* care of by the standard jconfig symbols, but on really weird systems
* you may have to edit this file.)
*
* NOTE: this file is NOT intended to be included by applications using the
* JPEG library. Most applications need only include jpeglib.h.
*/
/* Include auto-config file to find out which system include files we need. */
#include "jconfig.h" /* auto configuration options */
#define JCONFIG_INCLUDED /* so that jpeglib.h doesn't do it again */
src/Source/LibJPEG/jmemname.c view on Meta::CPAN
/*
* Selection of a file name for a temporary file.
* This is system-dependent!
*
* The code as given is suitable for most Unix systems, and it is easily
* modified for most non-Unix systems. Some notes:
* 1. The temp file is created in the directory named by TEMP_DIRECTORY.
* The default value is /usr/tmp, which is the conventional place for
* creating large temp files on Unix. On other systems you'll probably
* want to change the file location. You can do this by editing the
* #define, or (preferred) by defining TEMP_DIRECTORY in jconfig.h.
*
* 2. If you need to change the file name as well as its location,
* you can override the TEMP_FILE_NAME macro. (Note that this is
* actually a printf format string; it must contain %s and %d.)
* Few people should need to do this.
*
* 3. mktemp() is used to ensure that multiple processes running
* simultaneously won't select the same file names. If your system
* doesn't have mktemp(), define NO_MKTEMP to do it the hard way.
src/Source/LibPNG/CHANGES view on Meta::CPAN
Fixed typecasts of "new_key", etc. (Andreas Dilger)
Added RFC 1152 [sic] date support
Fixed bug in gamma handling of 4-bit grayscale
Added 2-bit grayscale gamma handling (Glenn R-P)
Added more typecasts. 65536L becomes (png_uint_32)65536L, etc. (Glenn R-P)
Minor corrections in libpng.txt
Added simple sRGB support (Glenn R-P)
Easier conditional compiling, e.g.,
define PNG_READ/WRITE_NOT_FULLY_SUPPORTED;
all configurable options can be selected from command-line instead
of having to edit pngconf.h (Glenn R-P)
Fixed memory leak in pngwrite.c (free info_ptr->text) (Glenn R-P)
Added more conditions for png_do_background, to avoid changing
black pixels to background when a background is supplied and
no pixels are transparent
Repaired PNG_NO_STDIO behavior
Tested NODIV support and made it default behavior (Greg Roelofs)
Added "-m" option and PNGTEST_DEBUG_MEMORY to pngtest (John Bowler)
Regularized version numbering scheme and bumped shared-library major
version number to 2 to avoid problems with libpng 0.89 apps
(Greg Roelofs)
src/Source/LibPNG/CHANGES view on Meta::CPAN
Version 1.0.4f [October 15, 1999]
Surrounded example.c code with #if 0 .. #endif to prevent people from
inadvertently trying to compile it.
Changed png_get_header_version() from a function to a macro in png.h
Added type casting mostly in pngrtran.c and pngwtran.c
Removed some pointless "ptr = NULL" in pngmem.c
Added a "contrib" directory containing the source code from Greg's book.
Version 1.0.5 [October 15, 1999]
Minor editing of the INSTALL and README files.
Version 1.0.5a [October 23, 1999]
Added contrib/pngsuite and contrib/pngminus (Willem van Schaik)
Fixed a typo in the png_set_sRGB() function call in example.c (Jan Nijtmans)
Further optimization and bugfix of pngvcrd.c
Revised pngset.c so that it does not allocate or free memory in the user's
text_ptr structure. Instead, it makes its own copy.
Created separate write_end_info_struct in pngtest.c for a more severe test.
Added code in pngwrite.c to free info_ptr->text[i].key to stop a memory leak.
src/Source/LibPNG/CHANGES view on Meta::CPAN
Version 1.0.16rc5 and 1.2.6rc5 [August 10, 2004]
Moved "PNG_HANDLE_CHUNK_*" macros out of PNG_ASSEMBLER_CODE_SUPPORTED
section of png.h where they were inadvertently placed in version rc3.
Version 1.2.6 and 1.0.16 [August 15, 2004]
Revised pngtest so memory allocation testing is only done when PNG_DEBUG==1.
Version 1.2.7beta1 [August 26, 2004]
Removed unused pngasmrd.h file.
Removed references to uu.net for archived files. Added references to
PNG Spec (second edition) and the PNG ISO/IEC Standard.
Added "test-dd" target in 15 makefiles, to run pngtest in DESTDIR.
Fixed bug with "optimized window size" in the IDAT datastream, that
causes libpng to write PNG files with incorrect zlib header bytes.
Version 1.2.7beta2 [August 28, 2004]
Fixed bug with sCAL chunk and big-endian machines (David Munro).
Undid new code added in 1.2.6rc2 to update the color_type in
png_set_filler().
Added png_set_add_alpha() that updates color type.
src/Source/LibPNG/CHANGES view on Meta::CPAN
__cdecl throughout (both API functions and callbacks) on Windows/x86
platforms.
Replaced visualc6 and visualc71 projects with new vstudio project
Relaxed the overly-restrictive permissions of some files.
Version 1.5.0beta20 [April 24, 2010]
Relaxed more overly-restrictive permissions of some files.
Version 1.5.0beta21 [April 27, 2010]
Removed some unwanted binary bytes and changed CRLF to NEWLINE in the new
vstudio project files, and some trivial editing of some files in the
scripts directory.
Set PNG_NO_READ_BGR, PNG_NO_IO_STATE, and PNG_NO_TIME_RFC1123 in
contrib/pngminim/decoder/pngusr.h to make a smaller decoder application.
Version 1.5.0beta22 [April 28, 2010]
Fixed dependencies of GET_INT_32 - it does not require READ_INT_FUNCTIONS
because it has a macro equivalent.
Improved the options.awk script; added an "everything off" option.
Revised contrib/pngminim to use the "everything off" option in pngusr.dfa.
src/Source/LibPNG/CHANGES view on Meta::CPAN
Updated contrib/pngminus/makefile.std (Samuli Souminen)
Version 1.5.5beta02 [July 14, 2011]
Revised Makefile.am and Makefile.in to look in the right directory for
pnglibconf.h.prebuilt
Version 1.5.5beta03 [July 27, 2011]
Enabled compilation with g++ compiler. This compiler does not recognize
the file extension, so it always compiles with C++ rules. Made minor
changes to pngrutil.c to cast results where C++ expects it but C does not.
Minor editing of libpng.3 and libpng-manual.txt.
Version 1.5.5beta04 [July 29, 2011]
Revised CMakeLists.txt (Clifford Yapp)
Updated commentary about the png_rgb_to_gray() default coefficients
in the manual and in pngrtran.c
Version 1.5.5beta05 [August 17, 2011]
Prevent unexpected API exports from non-libpng DLLs on Windows. The "_DLL"
is removed from the test of whether a DLL is being built (this erroneously
caused the libpng APIs to be marked as DLL exports in static builds under
src/Source/LibPNG/CHANGES view on Meta::CPAN
so warnings will be put on stderr even if libpng has CONSOLE_IO disabled.
Added png_ptr->process_mode = PNG_READ_IDAT_MODE in png_push_read_chunk
after recognizing the IDAT chunk, which avoids an infinite loop while
reading a datastream whose first IDAT chunk is of zero-length.
This fixes CERT VU#684412 and CVE-2014-0333.
Don't recognize known sRGB profiles as sRGB if they have been hacked,
but don't reject them and don't issue a copyright violation warning.
Version 1.6.10beta03 [February 25, 2014]
Moved some documentation from png.h to libpng.3 and libpng-manual.txt
Minor editing of contrib/arm-neon/README and contrib/examples/*.c
Version 1.6.10rc01 [February 27, 2014]
Fixed typos in the manual and in scripts/pnglibconf.dfa (CFLAGS -> CPPFLAGS
and PNG_USR_CONFIG -> PNG_USER_CONFIG).
Version 1.6.10rc02 [February 28, 2014]
Removed unreachable return statement after png_chunk_error()
in pngrutil.c
Version 1.6.10rc03 [March 4, 2014]
src/Source/LibPNG/CHANGES view on Meta::CPAN
behavior of the sequential reader and consistent with the manual, by
moving some code out of the PNG_READ_INTERLACING_SUPPORTED blocks. The
row_callback now receives the proper pass number and unexpanded rows, when
png_combine_row() isn't built or used, and png_set_interlace_handling()
is not called.
Allow PNG_sRGB_PROFILE_CHECKING = (-1) to mean no sRGB profile checking.
Version 1.6.11beta05 [April 26, 2014]
Do not reject ICC V2 profiles that lack padding (Kai-Uwe Behrmann).
Relocated closing bracket of the sRGB profile test loop to avoid getting
"Not recognizing known sRGB profile that has been edited" warning for
ICC V2 profiles that lack the MD5 signature in the profile header.
Version 1.6.11beta06 [May 19, 2014]
Added PNG_SKIP_sRGB_CHECK_PROFILE choice for png_set_option().
Version 1.6.11rc01 [May 27, 2014]
No changes.
Version 1.6.11rc02 [June 3, 2014]
Test ZLIB_VERNUM instead of PNG_ZLIB_VERNUM in contrib/tools/pngfix.c
src/Source/LibPNG/INSTALL view on Meta::CPAN
consistent; that is, if a feature is switched off, dependent features are
also switched off. As a recommended alternative to using feature macros in
pngusr.h a system builder may also define equivalent options in pngusr.dfa
(or, indeed, any file) and add that to the configuration by setting
DFA_XTRA to the file name. The makefiles in contrib/pngminim illustrate
how to do this, and also illustrate a case where pngusr.h is still required.
After you have built libpng, the definitions that were recorded in
pnglibconf.h are available to your application (pnglibconf.h is included
in png.h and gets installed alongside png.h and pngconf.h in your
$PREFIX/include directory). Do not edit pnglibconf.h after you have built
libpng, because than the settings would not accurately reflect the settings
that were used to build libpng.
XV. Configuring libpng for multiprocessing
Libpng uses setjmp()/longjmp() for error handling. Unfortunately setjmp()
is known to be not thread-safe on some platforms and we don't know of
any platform where it is guaranteed to be thread-safe. Therefore, if
your application is going to be using multiple threads, you should
configure libpng with PNG_NO_SETJMP in your pngusr.dfa file, with
src/Source/LibPNG/libpng-manual.txt view on Meta::CPAN
INSTALL file for instructions on how to configure and install libpng.
For examples of libpng usage, see the files "example.c", "pngtest.c",
and the files in the "contrib" directory, all of which are included in
the libpng distribution.
Libpng was written as a companion to the PNG specification, as a way
of reducing the amount of time and effort it takes to support the PNG
file format in application programs.
The PNG specification (second edition), November 2003, is available as
a W3C Recommendation and as an ISO Standard (ISO/IEC 15948:2004 (E)) at
<http://www.w3.org/TR/2003/REC-PNG-20031110/
The W3C and ISO documents have identical technical content.
The PNG-1.2 specification is available at
<http://www.libpng.org/pub/png/documents/>. It is technically equivalent
to the PNG specification (second edition) but has some additional material.
The PNG-1.0 specification is available
as RFC 2083 <http://www.libpng.org/pub/png/documents/> and as a
W3C Recommendation <http://www.w3.org/TR/REC.png.html>.
Some additional chunks are described in the special-purpose public chunks
documents at <http://www.libpng.org/pub/png/documents/>.
Other information
about PNG, and the latest version of libpng, can be found at the PNG home
src/Source/LibPNG/libpng-manual.txt view on Meta::CPAN
If you need to make more extensive configuration changes - more than one or two
feature macro settings - you can either add -DPNG_USER_CONFIG to the build
command line and put a list of feature macro settings in pngusr.h or you can set
DFA_XTRA (a makefile variable) to a file containing the same information in the
form of 'option' settings.
A. Changing pnglibconf.h
A variety of methods exist to build libpng. Not all of these support
reconfiguration of pnglibconf.h. To reconfigure pnglibconf.h it must either be
rebuilt from scripts/pnglibconf.dfa using awk or it must be edited by hand.
Hand editing is achieved by copying scripts/pnglibconf.h.prebuilt to
pnglibconf.h and changing the lines defining the supported features, paying
very close attention to the 'option' information in scripts/pnglibconf.dfa
that describes those features and their requirements. This is easy to get
wrong.
B. Configuration using DFA_XTRA
Rebuilding from pnglibconf.dfa is easy if a functioning 'awk', or a later
variant such as 'nawk' or 'gawk', is available. The configure build will
automatically find an appropriate awk and build pnglibconf.h.
src/Source/LibPNG/libpng.3 view on Meta::CPAN
INSTALL file for instructions on how to configure and install libpng.
For examples of libpng usage, see the files "example.c", "pngtest.c",
and the files in the "contrib" directory, all of which are included in
the libpng distribution.
Libpng was written as a companion to the PNG specification, as a way
of reducing the amount of time and effort it takes to support the PNG
file format in application programs.
The PNG specification (second edition), November 2003, is available as
a W3C Recommendation and as an ISO Standard (ISO/IEC 15948:2004 (E)) at
<http://www.w3.org/TR/2003/REC-PNG-20031110/
The W3C and ISO documents have identical technical content.
The PNG-1.2 specification is available at
<http://www.libpng.org/pub/png/documents/>. It is technically equivalent
to the PNG specification (second edition) but has some additional material.
The PNG-1.0 specification is available
as RFC 2083 <http://www.libpng.org/pub/png/documents/> and as a
W3C Recommendation <http://www.w3.org/TR/REC.png.html>.
Some additional chunks are described in the special-purpose public chunks
documents at <http://www.libpng.org/pub/png/documents/>.
Other information
about PNG, and the latest version of libpng, can be found at the PNG home
src/Source/LibPNG/libpng.3 view on Meta::CPAN
If you need to make more extensive configuration changes - more than one or two
feature macro settings - you can either add \-DPNG_USER_CONFIG to the build
command line and put a list of feature macro settings in pngusr.h or you can set
DFA_XTRA (a makefile variable) to a file containing the same information in the
form of 'option' settings.
A. Changing pnglibconf.h
A variety of methods exist to build libpng. Not all of these support
reconfiguration of pnglibconf.h. To reconfigure pnglibconf.h it must either be
rebuilt from scripts/pnglibconf.dfa using awk or it must be edited by hand.
Hand editing is achieved by copying scripts/pnglibconf.h.prebuilt to
pnglibconf.h and changing the lines defining the supported features, paying
very close attention to the 'option' information in scripts/pnglibconf.dfa
that describes those features and their requirements. This is easy to get
wrong.
B. Configuration using DFA_XTRA
Rebuilding from pnglibconf.dfa is easy if a functioning 'awk', or a later
variant such as 'nawk' or 'gawk', is available. The configure build will
automatically find an appropriate awk and build pnglibconf.h.
src/Source/LibPNG/png.5 view on Meta::CPAN
PNG is designed to work well in online viewing applications, such as the
World Wide Web, so it is fully streamable with a progressive display
option. PNG is robust, providing both full file integrity checking and
fast, simple detection of common transmission errors. Also, PNG can store
gamma and chromaticity data for improved color matching on heterogeneous
platforms.
.SH "SEE ALSO"
.BR "libpng"(3), " libpngpf"(3), " zlib"(3), " deflate"(5), " " and " zlib"(5)
.LP
PNG specification (second edition), November 2003:
.IP
.br
<http://www.w3.org/TR/2003/REC-PNG-20031110/
PNG 1.2 specification, July 1999:
.IP
.br
http://www.libpng.org/pub/png
.LP
PNG 1.0 specification, October 1996:
.IP
src/Source/LibPNG/png.c view on Meta::CPAN
"1998/02/09 06:49:00", 3144, "HP-Microsoft sRGB v2 media-relative")
};
static int
png_compare_ICC_profile_with_sRGB(png_const_structrp png_ptr,
png_const_bytep profile, uLong adler)
{
/* The quick check is to verify just the MD5 signature and trust the
* rest of the data. Because the profile has already been verified for
* correctness this is safe. png_colorspace_set_sRGB will check the 'intent'
* field too, so if the profile has been edited with an intent not defined
* by sRGB (but maybe defined by a later ICC specification) the read of
* the profile will fail at that point.
*/
png_uint_32 length = 0;
png_uint_32 intent = 0x10000; /* invalid */
#if PNG_sRGB_PROFILE_CHECKS > 1
uLong crc = 0; /* the value for 0 length data */
#endif
unsigned int i;
src/Source/LibPNG/png.c view on Meta::CPAN
return 1+png_sRGB_checks[i].is_broken;
}
}
# if PNG_sRGB_PROFILE_CHECKS > 0
/* The signature matched, but the profile had been changed in some
* way. This probably indicates a data error or uninformed hacking.
* Fall through to "no match".
*/
png_chunk_report(png_ptr, "Not recognizing known sRGB profile that"
" has been edited",
PNG_CHUNK_WARNING);
break;
# endif
}
}
}
return 0; /* no match */
}
#endif
src/Source/LibRawLite/Changelog.txt view on Meta::CPAN
* Error handling callback functions now can be called with
NULL filename passed (if underlying data stream object
does not know file name).
So, client error handling callbacks should work with NULL
filename.
* All client code should be recompiled
* Imported dcraw 8.90/1.417:
+ Support for loading White Balance data from
Sony ARW files edited with Sony IDC software.
* LibRaw 0.7.0-Alpha5
2009-01-17 Alex Tutubalin <lexa@lexa.ru>
* Raw filtering mode LIBRAW_FILTERING_NOPOSTPROCESS has renamed
to LIBRAW_FILTERING_NORAWCURVE for better reflect its purpose.
This filtering_mode bit turns off tone curve applying on
RAW data on bayer-pattern cameras with raw tone curve:
+ Adobe DNG (only RAW with bayer pattern)
+ Nikon compressed NEF
src/Source/LibRawLite/Changelog.txt view on Meta::CPAN
* LibRaw 0.7.0-Alpha0
2009-01-01 Alex Tutubalin <lexa@lexa.ru>
* Fixed a bug (filedescriptor and buffer memory leak) in thumbnail
extraction when called before metadata analysis.
Thanks to Albert Astalis Cid.
* LibRaw 0.6.4 Release
2008-12-11 Alex Tutubalin <lexa@lexa.ru>
* Imported new edition of dcraw 8.89 (version 1.409)
* Nikon NEF decoding changed
* LibRaw 0.6.3 Release
2008-12-03 Alex Tutubalin <lexa@lexa.ru>
* fixed bug in Panasonic .RW2 processing (only for thread-safe version,
single-threaded version was not affected)
* All client code should be recompiled
* LibRaw 0.6.2 Release
2008-12-03 Alex Tutubalin <lexa@lexa.ru>
src/Source/LibRawLite/Changelog.txt view on Meta::CPAN
FILE I/O returned
2008-05-02 Alex Tutubalin <lexa@lexa.ru>
* dcraw 1.403 imported
- changes in ljpeg decompression (index values cut to 12 bit)
- changes in parse_foveon() jpeg thumbnail extraction
* LibRaw 0.5.3 released
2008-04-24 Alex Tutubalin <lexa@lexa.ru>
* Linux build of samples/identify fixed
* documentation editorial
* LibRaw 0.5.2 released
2008-04-21 Alex Tutubalin <lexa@lexa.ru>
* All documentation translated to English
* English changelog started :)
* minor bug (include path) fixed in samples/half_mt
* LibRaw 0.5.1 released
src/Source/LibTIFF4/ChangeLog view on Meta::CPAN
2) I added a psuedotag in tiff.h to control random dithering during
LogLuv encoding. This is turned off by default for 32-bit LogLuv and
on for 24-bit LogLuv output. Dithering improves the average color
accuracy over the image.
3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in
tiffio.h, to expose internal routines for converting between LogLuv and
XYZ coordinates. This is helpful for writing more efficient,
specialized conversion routines, especially for reading LogLuv files.
Changes applied with minor edits.
2001-01-23 Frank Warmerdam <warmerdam@pobox.com>
* tif_fax3.c: keep rw_mode flag internal to fax3 state to remember
whether we are encoding or decoding. This is to ensure graceful
recovery if TIFFClientOpen() discovers an attempt to open a compressed
file for "r+" access, and subsequently close it, as it resets the
tif_mode flag to O_RDONLY in this case to avoid writes, confusing the
compressor's concept of whether it is in encode or decode mode.
src/Source/LibWebP/ChangeLog view on Meta::CPAN
fdb9177 Rename a method
5e96753 Container spec: a clarification on background color.
30e77d0 Merge branch '0.3.0'
1b631e2 alternate LUT-base reverse-bits code
24cc307 ~20% faster lossless decoding
313d853 Speedup for decoding lossless WebP photographs:
24ee098 change the bytes_per_pixels_ field into more evocative use_8b_decode
2a04b03 update ChangeLog (tag: v0.3.1-rc2, tag: v0.3.1)
7288950 Regression fix for alpha channels using color cache:
2e377b5 wicdec: silence a format warning
ad9e42a muxedit: silence some uninitialized warnings
3307c16 Don't set alpha-channel to 0xff for alpha->green uplift
5130770 Merge "wicdec: silence a format warning"
a37eff4 Regression fix for alpha channels using color cache:
241cf99 Merge "muxedit: silence some uninitialized warnings"
c8f9c84 Regression fix for alpha unfiltering:
14cd5c6 muxedit: silence some uninitialized warnings
a368db8 dec/vp8l: quiet vs9 x64 type conversion warning
ffae9f3 wicdec: silence a format warning
8cf0701 Alpha encoding: never filter in case of NO_COMPRESSION
825e73b update ChangeLog (tag: v0.3.1-rc1)
abf6f69 update NEWS
5a92c1a bump version to 0.3.1
86daf77 store top Y/U/V samples in packed fashion
67bc353 Revert "add WebPBlendAlpha() function to blend colors against background"
068db59 Intertwined decoding of alpha and RGB
38cc011 Simplify forward-WHT + SSE2 version
src/Source/LibWebP/ChangeLog view on Meta::CPAN
b38dfcc remove unneeded reference to NUM_LITERAL_CODES
8979675 harmonize header description
c04eb7b tcoder.c: define NOT_HAVE_LOG2 for MSVC builds
9a214fa Merge "VP8[L]GetInfo: check input pointers"
5c5be8b VP8[L]GetInfo: check input pointers
0c188fe Merge changes I431acdfe,I713659b7
b3515c6 mux: drop 'chunk' from ChunkInfo member names
aea7923 muxi.h: remove some unused defines
0142249 update NEWS file for next release
29e3f7e Merge "dec: remove deprecated WebPINew()"
4718e44 Merge "muxedit: a few more size_t changes"
82654f9 Merge "muxedit: remove a few redundant NULL checks"
02f27fb dec: remove deprecated WebPINew()
ccddb3f muxedit: remove a few redundant NULL checks
a6cdf71 muxedit: a few more size_t changes
a384689 Merge "mux: remove unused LIST_ID"
11ae46a alpha.c: quiet some size_t -> int conversion warnings
dee4669 mux: remove unused LIST_ID
03f1f49 mux: add version checked entry points
6a0abda Merge "doc: tile/alpha corrections"
c8139fb Merge "few cosmetics"
6833873 Merge "lossless: remove some size_t -> int conversions"
5249e94 doc: tile/alpha corrections
d96e722 huffman: quiet int64 -> int conversion warning
532020f lossless: remove some size_t -> int conversions
src/Source/LibWebP/ChangeLog view on Meta::CPAN
4c451e4 Merge "Rectify the Chunk parsing logic."
04e84cf examples: slight cleanup
099717c manpages: break long lines
1daf39b manpages: minor formatting updates
abd030b fix missing "(void)" in function signature
f6a7d75 remove useless test
f07b213 Rectify the Chunk parsing logic.
b8634f7 webpmux: fix lib link order
42c2e68 Fix missing coma (on uncompiled code)
d8329d4 Android.mk: add missing source files
13a54df Merge "More aggressive copy-edit; add TODO; validate HTML5"
868b96a More aggressive copy-edit; add TODO; validate HTML5
767afea configure: check for a symbol contained in libpng
408b891 Merge "Linewrap at 72 cols. Casual copy-edit."
3ae318c Merge "Restore (most) emphasis; add emphasis to normative RFC 2119 terms (MUST, etc.)"
918eb2d Merge "Basic container doc source clean-up; fix lists and pseudocode blocks."
03bec9e Linewrap at 72 cols. Casual copy-edit.
2678d81 Restore (most) emphasis; add emphasis to normative RFC 2119 terms (MUST, etc.)
428674d Basic container doc source clean-up; fix lists and pseudocode blocks.
6a77d92 Merge "Makefile.vc: cosmetics"
28c38e8 Merge "Makefile.vc: condense directory creation rules"
55be2cf Initial import of container spec document, from pdftotext transform.
a82a788 Makefile.vc: cosmetics
c8f41ce Makefile.vc: condense directory creation rules
2b877cd Some fixes to Makefile.vc to support the src\mux directory.
3eb969b Merge "Add Makefile.vc for Mux library & binary."
e78e971 Add Makefile.vc for Mux library & binary.
src/Source/LibWebP/LibWebP.2005.vcproj view on Meta::CPAN
</File>
</Filter>
<Filter
Name="mux"
>
<File
RelativePath=".\src\mux\mux.anim_encode.c"
>
</File>
<File
RelativePath=".\src\mux\mux.muxedit.c"
>
</File>
<File
RelativePath=".\src\mux\mux.muxinternal.c"
>
</File>
<File
RelativePath=".\src\mux\mux.muxread.c"
>
</File>
src/Source/LibWebP/LibWebP.2008.vcproj view on Meta::CPAN
</File>
</Filter>
<Filter
Name="mux"
>
<File
RelativePath=".\src\mux\mux.anim_encode.c"
>
</File>
<File
RelativePath=".\src\mux\mux.muxedit.c"
>
</File>
<File
RelativePath=".\src\mux\mux.muxinternal.c"
>
</File>
<File
RelativePath=".\src\mux\mux.muxread.c"
>
</File>
src/Source/LibWebP/LibWebP.2013.vcxproj view on Meta::CPAN
<ClCompile Include="src\enc\enc.picture_psnr.c" />
<ClCompile Include="src\enc\enc.picture_rescale.c" />
<ClCompile Include="src\enc\enc.picture_tools.c" />
<ClCompile Include="src\enc\enc.quant.c" />
<ClCompile Include="src\enc\enc.syntax.c" />
<ClCompile Include="src\enc\enc.token.c" />
<ClCompile Include="src\enc\enc.tree.c" />
<ClCompile Include="src\enc\enc.vp8l.c" />
<ClCompile Include="src\enc\enc.webpenc.c" />
<ClCompile Include="src\mux\mux.anim_encode.c" />
<ClCompile Include="src\mux\mux.muxedit.c" />
<ClCompile Include="src\mux\mux.muxinternal.c" />
<ClCompile Include="src\mux\mux.muxread.c" />
<ClCompile Include="src\utils\utils.bit_reader.c" />
<ClCompile Include="src\utils\utils.bit_writer.c" />
<ClCompile Include="src\utils\utils.color_cache.c" />
<ClCompile Include="src\utils\utils.filters.c" />
<ClCompile Include="src\utils\utils.huffman.c" />
<ClCompile Include="src\utils\utils.huffman_encode.c" />
<ClCompile Include="src\utils\utils.quant_levels.c" />
<ClCompile Include="src\utils\utils.quant_levels_dec.c" />
src/Source/LibWebP/LibWebP.2013.vcxproj.filters view on Meta::CPAN
</ClCompile>
<ClCompile Include="src\enc\enc.vp8l.c">
<Filter>Source Files\enc</Filter>
</ClCompile>
<ClCompile Include="src\enc\enc.webpenc.c">
<Filter>Source Files\enc</Filter>
</ClCompile>
<ClCompile Include="src\mux\mux.anim_encode.c">
<Filter>Source Files\mux</Filter>
</ClCompile>
<ClCompile Include="src\mux\mux.muxedit.c">
<Filter>Source Files\mux</Filter>
</ClCompile>
<ClCompile Include="src\mux\mux.muxinternal.c">
<Filter>Source Files\mux</Filter>
</ClCompile>
<ClCompile Include="src\mux\mux.muxread.c">
<Filter>Source Files\mux</Filter>
</ClCompile>
<ClCompile Include="src\utils\utils.bit_reader.c">
<Filter>Source Files\utils</Filter>
src/Source/Metadata/TagLib.cpp view on Meta::CPAN
{ 0x0200 + 75, (char *) "ObjectCycle", (char *) "Object Cycle"},
{ 0x0200 + 80, (char *) "By-line", (char *) "Author"},
{ 0x0200 + 85, (char *) "By-lineTitle", (char *) "Author's Position"},
{ 0x0200 + 90, (char *) "City", (char *) "City"},
{ 0x0200 + 92, (char *) "SubLocation", (char *) "Sub-Location"},
{ 0x0200 + 95, (char *) "Province-State", (char *) "State/Province"},
{ 0x0200 + 100, (char *) "Country-PrimaryLocationCode", (char *) "Country Code"},
{ 0x0200 + 101, (char *) "Country-PrimaryLocationName", (char *) "Country Name"},
{ 0x0200 + 103, (char *) "OriginalTransmissionReference", (char *) "Transmission Reference"},
{ 0x0200 + 105, (char *) "Headline", (char *) "Headline"},
{ 0x0200 + 110, (char *) "Credit", (char *) "Credit"},
{ 0x0200 + 115, (char *) "Source", (char *) "Source"},
{ 0x0200 + 116, (char *) "CopyrightNotice", (char *) "Copyright Notice"},
{ 0x0200 + 118, (char *) "Contact", (char *) "Contact"},
{ 0x0200 + 120, (char *) "Caption-Abstract", (char *) "Caption"},
{ 0x0200 + 122, (char *) "Writer-Editor", (char *) "Caption Writer"},
{ 0x0200 + 125, (char *) "RasterizedCaption", (char *) "Rasterized Caption"},
{ 0x0200 + 130, (char *) "ImageType", (char *) "Image Type"},
{ 0x0200 + 131, (char *) "ImageOrientation", (char *) "Image Orientation"},
{ 0x0200 + 135, (char *) "LanguageIdentifier", (char *) "Language Identifier"},
{ 0x0200 + 150, (char *) "AudioType", (char *) "Audio Type"},
src/Source/OpenEXR/Half/eLut.cpp view on Meta::CPAN
int
main ()
{
const int tableSize = 1 << 9;
unsigned short eLut[tableSize];
initELut (eLut);
cout << "//\n"
"// This is an automatically generated file.\n"
"// Do not edit.\n"
"//\n\n";
cout << "{\n ";
for (int i = 0; i < tableSize; i++)
{
cout << setw (5) << eLut[i] << ", ";
if (i % 8 == 7)
{
src/Source/OpenEXR/Half/eLut.h view on Meta::CPAN
//
// This is an automatically generated file.
// Do not edit.
//
{
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
src/Source/OpenEXR/Half/toFloat.cpp view on Meta::CPAN
//---------------------------------------------
int
main ()
{
cout.precision (9);
cout.setf (ios_base::hex, ios_base::basefield);
cout << "//\n"
"// This is an automatically generated file.\n"
"// Do not edit.\n"
"//\n\n";
cout << "{\n ";
const int iMax = (1 << 16);
for (int i = 0; i < iMax; i++)
{
cout << "{0x" << setfill ('0') << setw (8) << halfToFloat (i) << "}, ";
src/Source/OpenEXR/Half/toFloat.h view on Meta::CPAN
//
// This is an automatically generated file.
// Do not edit.
//
{
{0x00000000}, {0x33800000}, {0x34000000}, {0x34400000},
{0x34800000}, {0x34a00000}, {0x34c00000}, {0x34e00000},
{0x35000000}, {0x35100000}, {0x35200000}, {0x35300000},
{0x35400000}, {0x35500000}, {0x35600000}, {0x35700000},
{0x35800000}, {0x35880000}, {0x35900000}, {0x35980000},
{0x35a00000}, {0x35a80000}, {0x35b00000}, {0x35b80000},
{0x35c00000}, {0x35c80000}, {0x35d00000}, {0x35d80000},
src/Source/OpenEXR/IlmImf/b44ExpLogTable.cpp view on Meta::CPAN
main ()
{
#ifndef HAVE_IOS_BASE
cout.setf (ios::hex, ios::basefield);
#else
cout.setf (ios_base::hex, ios_base::basefield);
#endif
cout << "//\n"
"// This is an automatically generated file.\n"
"// Do not edit.\n"
"//\n\n";
const int iMax = (1 << 16);
cout << "const unsigned short expTable[] =\n"
"{\n"
" ";
for (int i = 0; i < iMax; i++)
{
src/Source/OpenEXR/IlmImf/b44ExpLogTable.h view on Meta::CPAN
//
// This is an automatically generated file.
// Do not edit.
//
const unsigned short expTable[] =
{
0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00,
0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00,
0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00,
0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00,
0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00,
0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00, 0x3c00,
src/Source/ZLib/configure view on Meta::CPAN
int main() { return strlen(strerror(errno)); }
EOF
if try $CC $CFLAGS -o $test $test.c; then
echo "Checking for strerror... Yes." | tee -a configure.log
else
CFLAGS="${CFLAGS} -DNO_STRERROR"
SFLAGS="${SFLAGS} -DNO_STRERROR"
echo "Checking for strerror... No." | tee -a configure.log
fi
# copy clean zconf.h for subsequent edits
cp -p zconf.h.in zconf.h
echo >> configure.log
# check for unistd.h and save result in zconf.h
cat > $test.c <<EOF
#include <unistd.h>
int main() { return 0; }
EOF
if try $CC -c $CFLAGS $test.c; then