Commit 54e67b5d authored by Bastien ROUCARIÈS's avatar Bastien ROUCARIÈS

Add upstream

parent a9b9ebc9
/config/ImageMagick.rdf
/config/*.dox
/config/config.h
/config/delegates.xml
/config/stamp-h1
/config/type-apple.xml
/config/type-dejavu.xml
/config/type-ghostscript.xml
/config/type-windows.xml
/config/type.xml
/Magick++/bin/Magick++-config
/Magick++/demo/*_out*
/Magick++/demo/analyze
/Magick++/demo/button
/Magick++/demo/demo
/Magick++/demo/detrans
/Magick++/demo/flip
/Magick++/demo/gravity
/Magick++/demo/piddle
/Magick++/demo/shapes
/Magick++/demo/zoom
/Magick++/tests/appendImages
/Magick++/tests/attributes
/Magick++/tests/averageImages
/Magick++/tests/coalesceImages
/Magick++/tests/coderInfo
/Magick++/tests/color
/Magick++/tests/colorHistogram
/Magick++/tests/exceptions
/Magick++/tests/geometry
/Magick++/tests/montageImages
/Magick++/tests/morphImages
/Magick++/tests/readWriteBlob
/Magick++/tests/readWriteImages
/Magick++/tests/testmagick_anim_out*
/magick/Magick-config
/magick/MagickCore-config
/magick/magick-baseconfig.h
/magick/version.h
/wand/Wand-config
/wand/MagickWand-config
/PerlMagick/*.a
/PerlMagick/**/*.bs
/PerlMagick/**/*.c
/PerlMagick/**/*.json
/PerlMagick/**/*.yml
/PerlMagick/**/*.pm
/PerlMagick/**/*.xs
/PerlMagick/**/pm_to_blib
/PerlMagick/**/typemap
/PerlMagick/Zip.ps1
/PerlMagick/blib
/PerlMagick/check.sh
/tests/*_out*
/tests/drawtest
/tests/validate
/tests/wandtest
/utilities/animate
/utilities/compare
/utilities/composite
/utilities/conjure
/utilities/convert
/utilities/display
/utilities/identify
/utilities/import
/utilities/mogrify
/utilities/montage
/utilities/stream
/ImageMagick.spec
/autom4te.cache
/config.log
/config.status
/common.shi
/libtool
/local.exp
/magick.sh
/perl-sources
/test-suite.log
*.o
*.lo
*.log
*.la
*.pc
*.trs
.deps
.dirstamp
.libs
Makefile
Makefile.PL
\ No newline at end of file
language: c
compiler:
- clang
- gcc
before_script:
- sudo add-apt-repository ppa:dns/gnu -y
- sudo apt-key update -q
- sudo apt-get update -q
- sudo apt-get install --only-upgrade autoconf
script:
- export OMP_NUM_THREADS=1
- export CFLAGS="-Wno-deprecated-declarations -Wdeclaration-after-statement -Wno-error=unused-variable"
- ./configure --disable-openmp --with-quantum-depth=16 --enable-hdri=no --with-perl
- make
# - cd PerlMagick
# - perl Makefile.PL
# - make
2016-08-14 6.9.5-7 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 6.9.5-7, GIT revision 10993:7d2fd25:20160814.
2016-08-14 6.9.5-7 Cristy <quetzlzacatenango@image...>
* Eliminate compiler warning.
......
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Magick++ API: Working with Blobs</title>
<link rel="stylesheet" href="magick.css" type="text/css" />
</head>
<body>
<div class="doc-section">
<h1 align="center">Magick::Blob</h1>
<p>Blob provides the means to contain any opaque data. It is named after the term "Binary Large OBject" commonly used to describe unstructured data (such as encoded images) which is stored in a database. While the function of Blob is very simple (store a pointer and and size associated with allocated data), the Blob class provides some very useful capabilities. In particular, it is fully reference counted just like the Image class.</p>
<p>The Blob class supports value assignment while preserving any outstanding earlier versions of the object. Since assignment is via a pointer internally, Blob is efficient enough to be stored directly in an STL container or any other data structure which requires assignment. In particular, by storing a Blob in an <a href="http://www.sgi.com/tech/stl/AssociativeContainer.html">associative container</a> (such as STL's '<a href="http://www.sgi.com/tech/stl/Map.html"><i>map</i></a>') it is possible to create simple indexed in-memory "database" of Blobs.</p>
<p>Magick++ currently uses Blob to contain encoded images (e.g. JPEG) as well as ICC and IPTC profiles. Since Blob is a general-purpose class, it may be used for other purposes as well.</p>
<p style="margin-bottom: 0cm">The methods Blob provides are shown in the following table:</p>
<br />
<p align="center" style="margin-bottom: 0cm"><b>Blob Methods</b></p>
<table width="100%" border="1" cellpadding="2" cellspacing="2">
<tr>
<td>
<p align="center"><b>Method</b></p></td>
<td>
<p align="center"><b>Return Type</b></p></td>
<td>
<p align="center"><b>Signature(s)</b></p></td>
<td>
<p align="center"><b>Description</b></p></td></tr>
<tr>
<td rowspan="3">
<p><a name="Blob"></a><font size="2">Blob</font></p></td>
<td rowspan="3" bgcolor="#666666"></td>
<td>
<p><font size="2">void</font></p></td>
<td>
<p><font size="2">Default constructor</font></p></td></tr>
<tr>
<td>
<p><font size="2">const void* data_, size_t length_</font></p></td>
<td>
<p><font size="2">Construct object with data, making a copy of the supplied data</font></p></td></tr>
<tr>
<td>
<p><font size="2">const Blob&amp; blob_</font></p></td>
<td>
<p><font size="2">Copy constructor (reference counted)</font></p></td></tr>
<tr>
<td>
<p><a name="operator="></a><font size="2">operator=</font></p></td>
<td>
<p><font size="2">Blob</font></p></td>
<td>
<p><font size="2">const Blob&amp; blob_</font></p></td>
<td>
<p><font size="2">Assignment operator (reference counted)</font></p></td></tr>
<tr>
<td>
<p><a name="update"></a><font size="2">update</font></p></td>
<td>
<p><font size="2">void</font></p></td>
<td>
<p><font size="2">const void* data_, size_t length_</font></p></td>
<td>
<p><font size="2">Update object contents, making a copy of the supplied data. Any existing data in the object is deallocated.</font></p></td></tr>
<tr>
<td>
<p><a name="data"></a><font size="2">data</font></p></td>
<td>
<p><font size="2">const void*</font></p></td>
<td>
<p><font size="2">void</font></p></td>
<td>
<p><font size="2">Obtain pointer to data</font></p></td></tr>
<tr>
<td>
<p><a name="length"></a><font size="2">length</font></p></td>
<td>
<p><font size="2">size_t</font></p></td>
<td>
<p><font size="2">void</font></p></td>
<td>
<p><font size="2">Obtain data length</font></p></td></tr>
<tr>
<td>
<p><a name="updateNoCopy"></a><font size="2">updateNoCopy</font></p></td>
<td>
<p><font size="2">void</font></p></td>
<td>
<p><font size="2">void* data_, size_t length_, Blob::Allocator allocator_ = Blob::NewAllocator</font></p></td>
<td>
<p><font size="2">Update object contents, using supplied pointer directly (no copy) Any existing data in the object is deallocated. The user must ensure that the pointer supplied is not deleted or otherwise modified after it has been supplied to this method. The optional allocator_ parameter allows the user to specify if the C (MallocAllocator) or C++ (NewAllocator) memory allocation system was used to allocate the memory. The default is to use the C++ memory allocator.</font></p></td></tr></table>
</div>
</body>
</html>
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Magick++ API: Access Raw Image Pixels</title>
<link rel="stylesheet" href="magick.css" type="text/css" />
</head>
<body>
<div class="doc-section">
<h3 align="center">Magick::CoderInfo</h3>
<p>The <i>CoderInfo</i> class provides the means to provide information regarding ImageMagick support for an image format (designated by a magick string). It may be used to provide support for a specific named format (provided as an argument to the constructor), or as an element of a container when format support is queried using the <a href="STL.html#coderInfoList">coderInfoList()</a> templated function.</p>
<p>The following code fragment illustrates how CoderInfo may be used.</p>
<pre class="code">
CoderInfo info("GIF");
cout &lt; info->name() &lt;&lt; ": (" &lt;&lt; info->description() &lt;&lt; ") : ";
cout &lt;&lt; "Readable = ";
if ( info->isReadable() )
cout &lt;&lt; "true";
else
cout &lt;&lt; "false";
cout &lt;&lt; ", ";
cout &lt;&lt; "Writable = ";
if ( info->isWritable() )
cout &lt;&lt; "true";
else
cout &lt;&lt; "false";
cout &lt;&lt; ", ";
cout &lt;&lt; "Multiframe = ";
if ( info->isMultiframe() )
cout &lt;&lt; "true";
else
cout &lt;&lt; "false";
cout &lt;&lt; endl;
</pre>
<p style="margin-bottom: 0cm">The methods available in the <i>CoderInfo</i> class are shown in the following table:</p>
<br />
<ul><p align="center" style="margin-bottom: 0cm"><b>CoderInfo Methods</b></p>
<table width="100%" border="1" cellpadding="2" cellspacing="2">
<tr>
<td>
<p align="center"><b>Method</b></p></td>
<td>
<p align="center"><b>Returns</b></p></td>
<td>
<p align="center"><b>Signature</b></p></td>
<td>
<p align="center"><b>Description</b></p></td></tr>
<tr>
<td>
<p align="center"><a name="CoderInfo"></a><font size="2">CoderInfo</font></p></td>
<td bgcolor="#999999"></td>
<td>
<p><font size="2">void</font></p></td>
<td>
<p><font size="2">Construct object corresponding to named format (e.g. "GIF"). An exception is thrown if the format is not supported.</font></p></td></tr>
<tr>
<td>
<p align="center"><a name="name"></a><font size="2">name</font></p></td>
<td>
<p><font size="2">std::string</font></p></td>
<td>
<p><font size="2">void</font></p></td>
<td>
<p><font size="2">Format name (e.g. "GIF").</font></p></td></tr>
<tr>
<td>