- Modifications to compile ImageMagick
This commit is contained in:
parent
615ec83706
commit
83522c16c3
3442 changed files with 57 additions and 412926 deletions
|
@ -11,7 +11,7 @@ AM_INIT_AUTOMAKE([1.10 foreign])
|
|||
AC_CONFIG_FILES([Makefile abstractions/Makefile])
|
||||
|
||||
# documentation
|
||||
AC_CONFIG_FILES([help/Makefile doc/Makefile examples/Makefile])
|
||||
#AC_CONFIG_FILES([help/Makefile doc/Makefile examples/Makefile])
|
||||
|
||||
# src
|
||||
AC_CONFIG_FILES([src/Makefile src/Gem/Makefile src/Utils/Makefile])
|
||||
|
@ -30,7 +30,7 @@ AC_CONFIG_FILES([plugins/imageSGI/Makefile])
|
|||
AC_CONFIG_FILES([plugins/filmAVI/Makefile])
|
||||
AC_CONFIG_FILES([plugins/filmAVIPLAY/Makefile])
|
||||
AC_CONFIG_FILES([plugins/filmDS/Makefile])
|
||||
AC_CONFIG_FILES([plugins/filmDarwin/Makefile])
|
||||
#AC_CONFIG_FILES([plugins/filmDarwin/Makefile])
|
||||
AC_CONFIG_FILES([plugins/filmGMERLIN/Makefile])
|
||||
AC_CONFIG_FILES([plugins/filmMPEG1/Makefile])
|
||||
AC_CONFIG_FILES([plugins/filmMPEG3/Makefile])
|
||||
|
@ -49,7 +49,7 @@ AC_CONFIG_FILES([plugins/recordV4L2/Makefile])
|
|||
AC_CONFIG_FILES([plugins/videoDC1394/Makefile])
|
||||
AC_CONFIG_FILES([plugins/videoDS/Makefile])
|
||||
AC_CONFIG_FILES([plugins/videoDV4L/Makefile])
|
||||
AC_CONFIG_FILES([plugins/videoDarwin/Makefile])
|
||||
#AC_CONFIG_FILES([plugins/videoDarwin/Makefile])
|
||||
AC_CONFIG_FILES([plugins/videoSGI/Makefile])
|
||||
AC_CONFIG_FILES([plugins/videoTEST/Makefile])
|
||||
AC_CONFIG_FILES([plugins/videoUNICAP/Makefile])
|
||||
|
@ -63,6 +63,8 @@ AC_CONFIG_FILES([plugins/videoVLC/Makefile])
|
|||
#AC_CONFIG_FILES([extra/Makefile])
|
||||
# some do not
|
||||
AC_CONFIG_FILES([extra/pix2jpg/Makefile])
|
||||
#AC_CONFIG_FILES([extra/pix_fiducialtrack/Makefile])
|
||||
#AC_CONFIG_FILES([extra/pix_hit/Makefile])
|
||||
|
||||
# other stuff
|
||||
AC_CONFIG_FILES([build/Makefile Gem.pc Gem-meta.pd])
|
||||
|
|
|
@ -15,9 +15,9 @@ AC_PROG_CXX
|
|||
AC_SUBST(CXX)
|
||||
|
||||
## pix_artoolkit
|
||||
if test -d "$srcdir/pix_artoolkit"; then
|
||||
AC_CONFIG_SUBDIRS([pix_artoolkit])
|
||||
fi
|
||||
#if test -d "$srcdir/pix_artoolkit"; then
|
||||
# AC_CONFIG_SUBDIRS([pix_artoolkit])
|
||||
#fi
|
||||
|
||||
## pix_drum (Jaime Oliver)
|
||||
#if test -d "$srcdir/pix_drum"; then
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
AUTOMAKE_OPTIONS = foreign
|
||||
ACLOCAL_AMFLAGS = -I $(top_srcdir)/src/m4
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/src -I/usr/include/ImageMagick
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/src -I/usr/local/lib/
|
||||
EXTRA_DIST =
|
||||
|
||||
extradir=$(libdir)/pix2jpg
|
||||
|
@ -12,7 +12,7 @@ dist_extra_DATA += pix2jpg-help.pd
|
|||
|
||||
## some default flags
|
||||
pix2jpg_la_CXXFLAGS =
|
||||
pix2jpg_la_LDFLAGS = -L/usr/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -L/usr/lib/X11 -module -avoid-version -shared -shrext .@GEM_RTE_EXTENSION@
|
||||
pix2jpg_la_LDFLAGS = -L/usr/local/include/ImageMagick -Wl,-Bsymbolic-functions -Wl,-z,relro -L/usr/lib/X11 -module -avoid-version -shared -shrext .@GEM_RTE_EXTENSION@
|
||||
if WINDOWS
|
||||
pix2jpg_la_LDFLAGS += -no-undefined
|
||||
endif
|
||||
|
@ -26,7 +26,7 @@ pix2jpg_la_LDFLAGS += @GEM_ARCH_LDFLAGS@
|
|||
|
||||
# special flags for building externals
|
||||
pix2jpg_la_CXXFLAGS += -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -pthread .@GEM_EXTERNAL_CFLAGS@
|
||||
pix2jpg_la_LIBADD += -L/usr/lib -lMagick++ -lMagickWand -lMagickCore -llcms -ltiff -lfreetype -ljpeg -llqr-1 -lglib-2.0 -lfontconfig -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz -lm -lgomp -lpthread -lltdl -L$(top_builddir) @GEM_EXTERNAL_LIBS@
|
||||
pix2jpg_la_LIBADD += -L/usr/local/lib/ImageMagick -lMagick++ -lMagickWand -lMagickCore -llcms -ltiff -lfreetype -ljpeg -llqr-1 -lglib-2.0 -lfontconfig -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz -lm -lgomp -lpthread -lltdl -L$(top_builddir) @GEM_EXTERNAL_LIBS@
|
||||
|
||||
# convenience symlinks
|
||||
## uha, this is ugly
|
||||
|
|
|
@ -1,30 +1,16 @@
|
|||
////////////////////////////////////////////////////////
|
||||
// pix2jpg v0.01
|
||||
// pix2jpg v0.02
|
||||
// External for Gem and Pure Data to convert an image to jpg and send it
|
||||
// via Unix Domain Sockets
|
||||
// Compiled and tested in Ubuntu Precise
|
||||
// (c) 2012 Santi Noreña. puremediaserver@gmail.com
|
||||
// via Unix Domain Sockets.
|
||||
//
|
||||
// GEM - Graphics Environment for Multimedia
|
||||
// (c) 2012-2013 Santi Noreña. librediaserver@gmail.com
|
||||
//
|
||||
// zmoelnig@iem.kug.ac.at
|
||||
//
|
||||
// Implementation file
|
||||
//
|
||||
// Copyright (c) 1997-1999 Mark Danks.
|
||||
// Copyright (c) Günther Geiger.
|
||||
// Copyright (c) 2001-2011 IOhannes m zmölnig. forum::für::umläute. IEM. zmoelnig@iem.at
|
||||
// Copyright (c) 2002 James Tittle & Chris Clepper
|
||||
// For information on usage and redistribution, and for a DISCLAIMER OF ALL
|
||||
// WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution.
|
||||
// GPL License.
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
|
||||
#include "pix2jpg.h"
|
||||
#include <sys/socket.h>
|
||||
#include <sys/un.h>
|
||||
#include "m_pd.h"
|
||||
//#include "s_stuff.h"
|
||||
|
||||
#define SOCK_PATH "/tmp/pmspipe"
|
||||
|
||||
CPPEXTERN_NEW_WITH_ONE_ARG(pix2jpg, t_symbol *, A_DEFSYM);
|
||||
|
@ -42,8 +28,8 @@ pix2jpg :: pix2jpg(t_symbol *s)
|
|||
m_automatic(false),
|
||||
m_layer(0)
|
||||
{
|
||||
post("pix2jpg v0.01 Convert pix to jpeg and send to Unix Local Socket");
|
||||
post("(c) 2012 Santi Noreña puremediaserver@gmail.com");
|
||||
post("pix2jpg v0.02 Convert pix to jpeg and send to Unix Local Socket");
|
||||
post("(c) 2012-2013 Santi Noreña libremediaserver@gmail.com");
|
||||
post("GPL License");
|
||||
outlet1 = outlet_new(this->x_obj, 0); // Saca todos los canales mediante una lista
|
||||
// Init the Unix Socket
|
||||
|
|
|
@ -2,16 +2,10 @@
|
|||
pix2jpg v0.01
|
||||
External for Gem and Pure Data to convert an image to jpg and send it
|
||||
via Unix Domain Sockets
|
||||
Compiled and tested in Ubuntu Precise
|
||||
(c) 2012 Santi Noreña. puremediaserver@gmail.com
|
||||
|
||||
GEM - Graphics Environment for Multimedia
|
||||
Copyright (c) 1997-1999 Mark Danks. mark@danks.org
|
||||
Copyright (c) Günther Geiger. geiger@epy.co.at
|
||||
Copyright (c) 2001-2011 IOhannes m zmölnig. forum::für::umläute. IEM. zmoelnig@iem.at
|
||||
For information on usage and redistribution, and for a DISCLAIMER OF ALL
|
||||
WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution.
|
||||
(c) 2012-2013 Santi Noreña. libremediaserver@gmail.com
|
||||
|
||||
GPL License.
|
||||
-----------------------------------------------------------------*/
|
||||
|
||||
#ifndef _INCLUDE__GEM_PIXES_pix2jpg_H_
|
||||
|
@ -28,6 +22,7 @@
|
|||
#include <sys/un.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include "m_pd.h"
|
||||
|
||||
using namespace Magick;
|
||||
/*-----------------------------------------------------------------
|
||||
|
@ -35,16 +30,16 @@ using namespace Magick;
|
|||
CLASS
|
||||
pix2jpg
|
||||
|
||||
Convert a image to raw RGB and outputs in a list
|
||||
Convert a image to jpgw and outputs in a Unix Domain Socket
|
||||
|
||||
KEYWORDS
|
||||
pix
|
||||
|
||||
DESCRIPTION
|
||||
|
||||
"bang" - do write now
|
||||
"bang" - Process next image
|
||||
|
||||
outlet : The list of raw data.
|
||||
outlet :
|
||||
-----------------------------------------------------------------*/
|
||||
class GEM_EXPORT pix2jpg : public GemPixObj
|
||||
{
|
||||
|
|
|
@ -18,7 +18,7 @@ endif
|
|||
SUBDIRS += recordQT recordQT4L recordV4L recordV4L2
|
||||
|
||||
## video capture plugins
|
||||
SUBDIRS += videoDC1394 videoDS videoDV4L videoDarwin videoSGI videoUNICAP
|
||||
SUBDIRS += videoDC1394 videoDS videoDV4L videoSGI videoUNICAP
|
||||
SUBDIRS += videoV4L videoV4L2 videoVFW videoVLC
|
||||
|
||||
## proprietary video capture plugins
|
||||
|
|
|
@ -8,7 +8,7 @@ SUBDIRS += imageMAGICK imageTIFF imageJPEG imageSGI imageQT
|
|||
|
||||
|
||||
## film loading plugins
|
||||
SUBDIRS += filmAVI filmAVIPLAY filmDS filmDarwin filmGMERLIN filmMPEG1 filmMPEG3 filmQT filmQT4L
|
||||
SUBDIRS += filmAVI filmAVIPLAY filmDS filmGMERLIN filmMPEG1 filmMPEG3 filmQT filmQT4L
|
||||
if DISABLED
|
||||
SUBDIRS += filmTEST
|
||||
SUBDIRS += videoTEST
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
#N canvas 8 49 505 112 10;
|
||||
#X text 89 47 Nothing special about this backend...;
|
|
@ -1,40 +0,0 @@
|
|||
|
||||
ACLOCAL_AMFLAGS = -I $(top_srcdir)/m4
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/src @GEM_EXTERNAL_CPPFLAGS@
|
||||
|
||||
pkglib_LTLIBRARIES=
|
||||
gemhelpdir=$(pkglibdir)
|
||||
dist_gemhelp_DATA =
|
||||
|
||||
if VIDEODARWIN
|
||||
pkglib_LTLIBRARIES+=gem_videoDarwin.la
|
||||
dist_gemhelp_DATA +=Darwin-videoplugin.pd
|
||||
endif
|
||||
|
||||
gem_videoDarwin_la_CXXFLAGS =
|
||||
gem_videoDarwin_la_LDFLAGS = -module -avoid-version -shared
|
||||
if WINDOWS
|
||||
gem_videoDarwin_la_LDFLAGS += -no-undefined
|
||||
endif
|
||||
gem_videoDarwin_la_LIBADD =
|
||||
|
||||
# RTE
|
||||
gem_videoDarwin_la_CXXFLAGS += @GEM_RTE_CFLAGS@ @GEM_ARCH_CXXFLAGS@
|
||||
gem_videoDarwin_la_LDFLAGS += @GEM_RTE_LIBS@ @GEM_ARCH_LDFLAGS@
|
||||
# flags for building Gem externals
|
||||
gem_videoDarwin_la_CXXFLAGS += @GEM_EXTERNAL_CFLAGS@
|
||||
gem_videoDarwin_la_LIBADD += -L$(top_builddir) @GEM_EXTERNAL_LIBS@
|
||||
# gem_videoDarwin_la @MOREFLAGS@
|
||||
|
||||
# Dependencies
|
||||
gem_videoDarwin_la_CXXFLAGS +=
|
||||
gem_videoDarwin_la_LIBADD += @GEM_FRAMEWORK_QUICKTIME@ @GEM_FRAMEWORK_CARBON@
|
||||
|
||||
# convenience symlinks
|
||||
include $(srcdir)/../symlink_ltlib.mk
|
||||
|
||||
|
||||
### SOURCES
|
||||
gem_videoDarwin_la_SOURCES= videoDarwin.cpp videoDarwin.h
|
||||
|
||||
|
|
@ -1,689 +0,0 @@
|
|||
/*
|
||||
* videoDarwin.cpp
|
||||
* gem_darwin
|
||||
*
|
||||
* Created by James Tittle on Fri Jul 12 2002.
|
||||
* Copyright (c) 2002-2005 James Tittle & Chris Clepper
|
||||
* Copyright (c) 2010-2011 IOhannes m zmölnig. forum::für::umläute. IEM. zmoelnig@iem.at
|
||||
*
|
||||
*/
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#if defined __APPLE__ && defined __x86_64
|
||||
#warning unconditionally disabling QuickTime/Carbon on OSX/64bit
|
||||
// with OSX10.6, apple has removed loads of Carbon functionality (in 64bit mode)
|
||||
// LATER make this a real check in configure
|
||||
# undef HAVE_QUICKTIME
|
||||
# undef HAVE_CARBON
|
||||
#endif
|
||||
|
||||
#if defined HAVE_CARBON && defined HAVE_QUICKTIME
|
||||
# define HAVE_VIDEODARWIN
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_VIDEODARWIN
|
||||
#include "videoDarwin.h"
|
||||
#include "Gem/RTE.h"
|
||||
#include "plugins/PluginFactory.h"
|
||||
|
||||
using namespace gem::plugins;
|
||||
|
||||
#include <unistd.h> // needed for Unix file open() type functions
|
||||
#include <stdio.h>
|
||||
#include <fcntl.h> /* JMZ thinks that _this_ is needed for open() */
|
||||
|
||||
#define DEFAULT_WIDTH 320
|
||||
#define DEFAULT_HEIGHT 240
|
||||
|
||||
static std::string pascal2str(const Str255 pstr) {
|
||||
const unsigned char*cstr=static_cast<const unsigned char*>(pstr);
|
||||
const char*str=(const char*)(cstr+1);
|
||||
const size_t length=cstr[0];
|
||||
return std::string(str, length);
|
||||
}
|
||||
|
||||
|
||||
|
||||
REGISTER_VIDEOFACTORY("Darwin", videoDarwin);
|
||||
|
||||
videoDarwin :: videoDarwin()
|
||||
: videoBase("darwin", 0),
|
||||
m_newFrame(false),
|
||||
m_srcGWorld(NULL),
|
||||
m_quality(channelPlayNormal),
|
||||
m_colorspace(GL_YCBCR_422_GEM),
|
||||
m_inputDevice(0) //set to the first input device
|
||||
{
|
||||
m_width= DEFAULT_WIDTH;
|
||||
m_height=DEFAULT_HEIGHT;
|
||||
|
||||
m_image.image.xsize = 800;
|
||||
m_image.image.ysize = 600;
|
||||
m_image.image.setCsizeByFormat(GL_BGRA_EXT);
|
||||
m_image.image.allocate();
|
||||
|
||||
//initSeqGrabber();
|
||||
provide("dv");
|
||||
provide("iidc");
|
||||
provide("analog");
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////
|
||||
// Destructor
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
videoDarwin :: ~videoDarwin()
|
||||
{
|
||||
close();
|
||||
if (m_vc) {
|
||||
if (::SGDisposeChannel(m_sg, m_vc)) {
|
||||
error ("Unable to dispose a video channel");
|
||||
}
|
||||
m_vc = NULL;
|
||||
}
|
||||
if (m_sg) {
|
||||
if (::CloseComponent(m_sg)) {
|
||||
error("Unable to dispose a sequence grabber component");
|
||||
}
|
||||
m_sg = NULL;
|
||||
if (m_srcGWorld) {
|
||||
::DisposeGWorld(m_srcGWorld);
|
||||
m_srcGWorld = NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
bool videoDarwin :: openDevice(gem::Properties&props) {
|
||||
applyProperties(props);
|
||||
bool success=initSeqGrabber();
|
||||
if(NULL==m_sg)success=false;
|
||||
if(success)
|
||||
applyProperties(props);
|
||||
else
|
||||
destroySeqGrabber();
|
||||
|
||||
return success;
|
||||
}
|
||||
void videoDarwin :: closeDevice(void) {
|
||||
destroySeqGrabber();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////
|
||||
// render
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
bool videoDarwin :: grabFrame()
|
||||
{
|
||||
OSErr err;
|
||||
|
||||
err = SGIdle(m_sg);
|
||||
|
||||
if (err != noErr){
|
||||
error("SGIdle failed with error %d",err);
|
||||
m_haveVideo = 0;
|
||||
// return false;
|
||||
} else {
|
||||
//this doesn't do anything so far
|
||||
//VDCompressDone(m_vdig,frameCount,data,size,similar,time);
|
||||
//err = SGGrabFrameComplete(m_vc,frameCount,done);
|
||||
//if (err != noErr) error("SGGrabCompressComplete failed with error %d",err);
|
||||
//post("SGGrabFramecomplete done %d framecount = %d",done[0],frameCount);
|
||||
|
||||
m_haveVideo = 1;
|
||||
m_newFrame = true;
|
||||
}
|
||||
if (!m_haveVideo)
|
||||
{
|
||||
post("no video yet");
|
||||
return true;
|
||||
}
|
||||
m_image.newimage = m_newFrame;
|
||||
m_newFrame = false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////
|
||||
// startTransfer
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
bool videoDarwin :: startTransfer()
|
||||
{
|
||||
OSErr err = noErr;
|
||||
|
||||
SGStartPreview(m_sg);
|
||||
m_haveVideo = true;
|
||||
m_image.newimage = true;
|
||||
return true;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////
|
||||
// stopTransfer
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
bool videoDarwin :: stopTransfer()
|
||||
{
|
||||
OSErr err = noErr;
|
||||
|
||||
//might need SGPause or SGStop here
|
||||
err = SGStop(m_sg);
|
||||
if (err != noErr)error("SGStop failed with error %d",err);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool videoDarwin :: initSeqGrabber()
|
||||
{
|
||||
OSErr anErr;
|
||||
Rect srcRect = {0,0, m_height, m_width};
|
||||
SGDeviceList devices;
|
||||
short deviceCount = 0;
|
||||
|
||||
m_sg = OpenDefaultComponent(SeqGrabComponentType, 0);
|
||||
if(m_sg==NULL){
|
||||
error("could not open default component");
|
||||
return false;
|
||||
}
|
||||
anErr = SGInitialize(m_sg);
|
||||
if(anErr!=noErr){
|
||||
error("could not initialize SG error %d",anErr);
|
||||
return false;
|
||||
}
|
||||
|
||||
anErr = SGSetDataRef(m_sg, 0, 0, seqGrabDontMakeMovie);
|
||||
if (anErr != noErr){
|
||||
error("dataref failed with error %d",anErr);
|
||||
}
|
||||
|
||||
anErr = SGNewChannel(m_sg, VideoMediaType, &m_vc);
|
||||
if(anErr!=noErr){
|
||||
error("could not make new SG channnel error %d",anErr);
|
||||
return false;
|
||||
}
|
||||
|
||||
enumerate();
|
||||
anErr = SGGetChannelDeviceList(m_vc, sgDeviceListIncludeInputs, &devices);
|
||||
if(anErr!=noErr){
|
||||
error("could not get SG channnel Device List");
|
||||
}else{
|
||||
deviceCount = (*devices)->count;
|
||||
m_inputDevice = (*devices)->selectedIndex;
|
||||
}
|
||||
|
||||
/* device selection */
|
||||
if(m_devicenum>=0)
|
||||
m_inputDevice=m_devicenum;
|
||||
else if (!m_devicename.empty()) {
|
||||
int i;
|
||||
const int maxcount=(deviceCount<m_devices.size()?deviceCount:m_devices.size());
|
||||
for(i=0; i<maxcount; i++) {
|
||||
if(m_devicename==m_devices[i]) {
|
||||
m_inputDevice=i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//this call sets the input device
|
||||
if (m_inputDevice >= 0 && m_inputDevice < deviceCount) {//check that the device is not out of bounds
|
||||
std::string devname=pascal2str((*devices)->entry[m_inputDevice].name);
|
||||
post("SGSetChannelDevice trying[%d] %s", m_inputDevice, devname.c_str());
|
||||
}
|
||||
anErr = SGSetChannelDevice(m_vc, (*devices)->entry[m_inputDevice].name);
|
||||
if(anErr!=noErr) error("SGSetChannelDevice returned error %d",anErr);
|
||||
|
||||
anErr = SGSetChannelDeviceInput(m_vc,m_inputDeviceChannel);
|
||||
if(anErr!=noErr) error("SGSetChannelDeviceInput returned error %d",anErr);
|
||||
|
||||
//grab the VDIG info from the SGChannel
|
||||
m_vdig = SGGetVideoDigitizerComponent(m_vc);
|
||||
VideoDigitizerError vdigErr = VDGetDigitizerInfo(m_vdig,&m_vdigInfo); //not sure if this is useful
|
||||
|
||||
Str255 vdigName;
|
||||
memset(vdigName,0,255);
|
||||
vdigErr = VDGetInputName(m_vdig,m_inputDevice,vdigName);
|
||||
post("vdigName is %s",pascal2str(vdigName).c_str());
|
||||
|
||||
Rect vdRect;
|
||||
vdigErr = VDGetDigitizerRect(m_vdig,&vdRect);
|
||||
post("digitizer rect is top %d bottom %d left %d right %d",vdRect.top,vdRect.bottom,vdRect.left,vdRect.right);
|
||||
|
||||
vdigErr = VDGetActiveSrcRect(m_vdig,0,&vdRect);
|
||||
post("active src rect is top %d bottom %d left %d right %d",vdRect.top,vdRect.bottom,vdRect.left,vdRect.right);
|
||||
|
||||
anErr = SGSetChannelBounds(m_vc, &srcRect);
|
||||
if(anErr!=noErr){
|
||||
error("could not set SG ChannelBounds ");
|
||||
}
|
||||
|
||||
anErr = SGSetVideoRect(m_vc, &srcRect);
|
||||
if(anErr!=noErr){
|
||||
error("could not set SG Rect ");
|
||||
}
|
||||
|
||||
anErr = SGSetChannelUsage(m_vc, seqGrabPreview);
|
||||
if(anErr!=noErr){
|
||||
error("could not set SG ChannelUsage ");
|
||||
}
|
||||
SGSetChannelPlayFlags(m_vc, m_quality);
|
||||
OSType pixelFormat=0;
|
||||
m_image.image.xsize = m_width;
|
||||
m_image.image.ysize = m_height;
|
||||
|
||||
if (m_colorspace==GL_BGRA_EXT){
|
||||
m_image.image.setCsizeByFormat(GL_RGBA_GEM);
|
||||
m_rowBytes = m_width*4;
|
||||
pixelFormat=k32ARGBPixelFormat;
|
||||
post ("using RGB");
|
||||
} else {
|
||||
m_image.image.setCsizeByFormat(GL_YCBCR_422_APPLE);
|
||||
m_rowBytes = m_width*2;
|
||||
pixelFormat=k422YpCbCr8PixelFormat;
|
||||
post ("using YUV");
|
||||
}
|
||||
m_image.image.reallocate();
|
||||
anErr = QTNewGWorldFromPtr (&m_srcGWorld,
|
||||
pixelFormat,
|
||||
&srcRect,
|
||||
NULL,
|
||||
NULL,
|
||||
0,
|
||||
m_image.image.data,
|
||||
m_rowBytes);
|
||||
|
||||
if (anErr!= noErr) {
|
||||
error("%d error at QTNewGWorldFromPtr", anErr);
|
||||
return false;
|
||||
}
|
||||
if (NULL == m_srcGWorld) {
|
||||
error("could not allocate off screen");
|
||||
return false;
|
||||
}
|
||||
SGSetGWorld(m_sg,(CGrafPtr)m_srcGWorld, NULL);
|
||||
SGStartPreview(m_sg); //moved to starttransfer?
|
||||
m_haveVideo = true;
|
||||
return true;
|
||||
}
|
||||
|
||||
void videoDarwin :: setupCapture()
|
||||
{
|
||||
if(stop()) {
|
||||
SGSetChannelUsage(m_vc, 0);
|
||||
SGSetChannelUsage(m_vc, seqGrabPreview);
|
||||
SGUpdate(m_sg,0);
|
||||
start();
|
||||
}
|
||||
}
|
||||
|
||||
void videoDarwin :: destroySeqGrabber()
|
||||
{
|
||||
if (m_vc) {
|
||||
if (::SGDisposeChannel(m_sg, m_vc)) {
|
||||
error ("Unable to dispose a video channel");
|
||||
}
|
||||
m_vc = NULL;
|
||||
}
|
||||
if (m_sg) {
|
||||
if (::CloseComponent(m_sg)) {
|
||||
error("Unable to dispose a sequence grabber component");
|
||||
}
|
||||
m_sg = NULL;
|
||||
if (m_srcGWorld) {
|
||||
::DisposeGWorld(m_srcGWorld);
|
||||
m_srcGWorld = NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void videoDarwin :: resetSeqGrabber()
|
||||
{
|
||||
OSErr anErr;
|
||||
post ("starting reset");
|
||||
|
||||
destroySeqGrabber();
|
||||
initSeqGrabber();
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
// colorspaceMess
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
bool videoDarwin :: setColor(int format)
|
||||
{
|
||||
m_colorspace = format;
|
||||
if(stop()) {
|
||||
resetSeqGrabber();
|
||||
start();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
// dialog
|
||||
//
|
||||
/////////////////////////////////////////////////////////
|
||||
bool videoDarwin :: dialog(std::vector<std::string>dlg)
|
||||
{
|
||||
Rect newActiveVideoRect;
|
||||
Rect curBounds, curVideoRect, newVideoRect;
|
||||
ComponentResult err;
|
||||
|
||||
// Get our current state - do i need this???
|
||||
err = SGGetChannelBounds (m_vc, &curBounds);
|
||||
err = SGGetVideoRect (m_vc, &curVideoRect);
|
||||
|
||||
// Pause
|
||||
err = SGPause (m_sg, true);
|
||||
|
||||
// Do the dialog thang
|
||||
err = SGSettingsDialog( m_sg, m_vc, 0, nil, 0, nil, 0);
|
||||
|
||||
// What happened?
|
||||
err = SGGetVideoRect (m_vc, &newVideoRect);
|
||||
err = SGGetSrcVideoBounds (m_vc, &newActiveVideoRect);
|
||||
|
||||
err = SGPause (m_sg, false);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
std::vector<std::string>videoDarwin :: dialogs(void) {
|
||||
std::vector<std::string>result;
|
||||
return result;
|
||||
}
|
||||
|
||||
bool videoDarwin::enumProperties(gem::Properties&readable,
|
||||
gem::Properties&writeable) {
|
||||
bool iidc=false;
|
||||
gem::any typ;
|
||||
|
||||
readable.clear();
|
||||
writeable.clear();
|
||||
|
||||
typ=1.;
|
||||
if(m_vdig) {
|
||||
ComponentDescription desc;
|
||||
GetComponentInfo((Component)m_vdig, &desc, NULL, NULL, NULL);
|
||||
|
||||
iidc=vdSubtypeIIDC == desc.componentSubType;
|
||||
}
|
||||
#define SETPROP(key, value) typ=value; readable.set(key, typ); writeable.set(key, typ)
|
||||
#define SETRPROP(key, value) typ=value; readable.set(key, typ)
|
||||
#define SETWPROP(key, value) typ=value; writeable.set(key, typ)
|
||||
SETPROP("Hue", 1);
|
||||
SETPROP("Sharpness", 1);
|
||||
SETPROP("Saturation", 1);
|
||||
SETPROP("Brightness", 1);
|
||||
if(!iidc) {
|
||||
SETPROP("Contrast", 1);
|
||||
SETPROP("KeyColor", 1);
|
||||
//SETPROP("ClipState", 1);
|
||||
//SETPROP("ClipRng", 1);
|
||||
//SETPROP("PLLFilterType", 1);
|
||||
SETWPROP("MasterBlendLevel", 1);
|
||||
//SETPROP("PlayThroughOnOff", 1);
|
||||
//SETPROP("FieldPreference", 1);
|
||||
SETPROP("BlackLevelValue", 1);
|
||||
SETPROP("WhiteLevelValue", 1);
|
||||
//SETPROP("Input", 1);
|
||||
//SETPROP("InputStandard", 1);
|
||||
} else {
|
||||
SETWPROP("Gain", 1);
|
||||
SETWPROP("Iris", 1);
|
||||
SETWPROP("Shutter", 1);
|
||||
SETWPROP("Exposure", 1);
|
||||
SETWPROP("WhiteBalanceU", 1);
|
||||
SETWPROP("WhiteBalanceV", 1);
|
||||
SETWPROP("Gamma", 1);
|
||||
SETWPROP("Temperature", 1);
|
||||
SETWPROP("Zoom", 1);
|
||||
SETWPROP("Focus", 1);
|
||||
SETWPROP("Pan", 1);
|
||||
SETWPROP("Tilt", 1);
|
||||
SETWPROP("OpticalFilter", 1);
|
||||
SETWPROP("EdgeEnhancement", 1);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
bool videoDarwin::setIIDCProperty(OSType specifier, double value) {
|
||||
QTAtomContainer atomContainer;
|
||||
QTAtom featureAtom;
|
||||
VDIIDCFeatureSettings settings;
|
||||
ComponentDescription desc;
|
||||
ComponentResult result = paramErr;
|
||||
|
||||
//IIDC stuff
|
||||
result = VDIIDCGetFeaturesForSpecifier(m_vdig, specifier, &atomContainer);
|
||||
if (noErr != result) {
|
||||
return false;
|
||||
}
|
||||
|
||||
featureAtom = QTFindChildByIndex(atomContainer, kParentAtomIsContainer,
|
||||
vdIIDCAtomTypeFeature, 1, NULL);
|
||||
if (0 == featureAtom) return false;//error("featureAtom vdIIDCFeatureSaturation not found");
|
||||
|
||||
result = QTCopyAtomDataToPtr(atomContainer,
|
||||
QTFindChildByID(atomContainer, featureAtom,
|
||||
vdIIDCAtomTypeFeatureSettings,
|
||||
vdIIDCAtomIDFeatureSettings, NULL),
|
||||
true, sizeof(settings), &settings, NULL);
|
||||
|
||||
settings.state.flags = (vdIIDCFeatureFlagOn |
|
||||
vdIIDCFeatureFlagManual |
|
||||
vdIIDCFeatureFlagRawControl);
|
||||
|
||||
settings.state.value = value;
|
||||
|
||||
result = QTSetAtomData(atomContainer,
|
||||
QTFindChildByID(atomContainer, featureAtom,
|
||||
vdIIDCAtomTypeFeatureSettings,
|
||||
vdIIDCAtomIDFeatureSettings, NULL),
|
||||
sizeof(settings), &settings);
|
||||
|
||||
result = VDIIDCSetFeatures(m_vdig, atomContainer);
|
||||
|
||||
return true;
|
||||
}
|
||||
inline unsigned short d2us(double x)
|
||||
{ return (unsigned short)(65535.*((x > 1.f) ? 1.f : ( (x < 0.f) ? 0.f : x))); }
|
||||
inline double us2d(unsigned short x)
|
||||
{ static double factor=1./65535.; return (x*factor); }
|
||||
|
||||
bool videoDarwin::applyProperties(gem::Properties&props) {
|
||||
bool restart=false;
|
||||
|
||||
bool iidc=false;
|
||||
if(m_vdig) {
|
||||
ComponentDescription desc;
|
||||
GetComponentInfo((Component)m_vdig, &desc, NULL, NULL, NULL);
|
||||
iidc=(vdSubtypeIIDC == desc.componentSubType);
|
||||
}
|
||||
|
||||
std::vector<std::string>keys=props.keys();
|
||||
int i=0;
|
||||
for(i=0; i<keys.size(); i++) {
|
||||
double value_d=0.;
|
||||
unsigned short value_us=0;
|
||||
std::string key=keys[i];
|
||||
if("width"==key) {
|
||||
if(props.get(key, value_d)) {
|
||||
unsigned int width=value_d;
|
||||
if(m_width!=width)
|
||||
restart=true;
|
||||
m_width=width;
|
||||
}
|
||||
} else if("height"==key) {
|
||||
if(props.get(key, value_d)) {
|
||||
unsigned int height=value_d;
|
||||
if(m_height!=height)
|
||||
restart=true;
|
||||
m_height=height;
|
||||
}
|
||||
} else if("channel"==key) {
|
||||
if(props.get("channel", value_d)) {
|
||||
unsigned int channel=value_d;
|
||||
if(channel!=m_inputDeviceChannel)
|
||||
restart=true;
|
||||
m_inputDeviceChannel=channel;
|
||||
}
|
||||
} else if("quality"==key) {
|
||||
if(props.get(key, value_d)) {
|
||||
unsigned int quality=value_d;
|
||||
bool doit=false;
|
||||
switch (quality){
|
||||
case 0:
|
||||
m_quality=channelPlayNormal;
|
||||
doit=true;
|
||||
break;
|
||||
case 1:
|
||||
m_quality=channelPlayHighQuality;
|
||||
doit=true;
|
||||
break;
|
||||
case 2:
|
||||
m_quality=channelPlayFast;
|
||||
doit=true;
|
||||
break;
|
||||
case 3:
|
||||
m_quality=channelPlayAllData;
|
||||
doit=true;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
if(doit&&m_vc)
|
||||
SGSetChannelPlayFlags(m_vc, m_quality);
|
||||
}
|
||||
#define PROPSET_IIDC_VD(NAME) \
|
||||
} else if (#NAME == key && props.get(key, value_d) && m_vdig) { \
|
||||
if(iidc){setIIDCProperty(vdIIDCFeature ## NAME, value_d);} \
|
||||
else {value_us = d2us(value_d); \
|
||||
VDSet ## NAME (m_vdig,&value_us); } value_d=0
|
||||
#define PROPSET_VD(NAME) \
|
||||
} else if (#NAME == key && props.get(key, value_d) && m_vdig) { \
|
||||
if(!iidc) {value_us = d2us(value_d); \
|
||||
VDSet ## NAME (m_vdig,&value_us); } value_d=0
|
||||
#define PROPSET_IIDC(NAME) \
|
||||
} else if (#NAME == key && props.get(key, value_d) && iidc) { \
|
||||
setIIDCProperty(vdIIDCFeature ## NAME, value_d); value_d=0
|
||||
|
||||
PROPSET_IIDC_VD(Hue);
|
||||
PROPSET_IIDC_VD(Sharpness);
|
||||
PROPSET_VD(Contrast);
|
||||
//PROPSET_VD(KeyColor);
|
||||
//PROPSET_VD(ClipState);
|
||||
//PROPSET_VD(ClipRng);
|
||||
//PROPSET_VD(PLLFilterType);
|
||||
PROPSET_VD(MasterBlendLevel);
|
||||
//PROPSET_VD(PlayThroughOnOff);
|
||||
//PROPSET_VD(FieldPreference);
|
||||
PROPSET_VD(BlackLevelValue);
|
||||
PROPSET_VD(WhiteLevelValue);
|
||||
//PROPSET_VD(Input);
|
||||
//PROPSET_VD(InputStandard);
|
||||
PROPSET_IIDC_VD(Saturation);
|
||||
PROPSET_IIDC_VD(Brightness);
|
||||
PROPSET_IIDC(Gain);
|
||||
PROPSET_IIDC(Iris);
|
||||
PROPSET_IIDC(Shutter);
|
||||
PROPSET_IIDC(Exposure);
|
||||
PROPSET_IIDC(WhiteBalanceU);
|
||||
PROPSET_IIDC(WhiteBalanceV);
|
||||
PROPSET_IIDC(Gamma);
|
||||
PROPSET_IIDC(Temperature);
|
||||
PROPSET_IIDC(Zoom);
|
||||
PROPSET_IIDC(Focus);
|
||||
PROPSET_IIDC(Pan);
|
||||
PROPSET_IIDC(Tilt);
|
||||
PROPSET_IIDC(OpticalFilter);
|
||||
PROPSET_IIDC(EdgeEnhancement);
|
||||
}
|
||||
}
|
||||
return restart;
|
||||
}
|
||||
void videoDarwin::setProperties(gem::Properties&props) {
|
||||
bool restart=applyProperties(props);
|
||||
if(restart) {
|
||||
if(stop()) {
|
||||
resetSeqGrabber();
|
||||
start();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void videoDarwin::getProperties(gem::Properties&props) {
|
||||
std::vector<std::string>keys=props.keys();
|
||||
bool iidc=false;
|
||||
if(m_vdig) {
|
||||
ComponentDescription desc;
|
||||
GetComponentInfo((Component)m_vdig, &desc, NULL, NULL, NULL);
|
||||
iidc=(vdSubtypeIIDC == desc.componentSubType);
|
||||
}
|
||||
|
||||
int i=0;
|
||||
for(i=0; i<keys.size(); i++) {
|
||||
std::string key=keys[i];
|
||||
double value_d=0.;
|
||||
unsigned short value_us=0;
|
||||
if(0) {
|
||||
#define PROPGET_VD(NAME) \
|
||||
} else if (#NAME == key && m_vdig && !iidc) { \
|
||||
if(0==VDGet ## NAME (m_vdig,&value_us)) {props.set(key, us2d(value_us)); } value_d=0
|
||||
PROPGET_VD(Hue);
|
||||
PROPGET_VD(Sharpness);
|
||||
PROPGET_VD(Saturation);
|
||||
PROPGET_VD(Brightness);
|
||||
PROPGET_VD(Contrast);
|
||||
//PROPGET_VD(KeyColor);
|
||||
//PROPGET_VD(ClipState);
|
||||
//PROPGET_VD(ClipRng);
|
||||
//PROPGET_VD(PLLFilterType);
|
||||
//PROPGET_VD(PlayThroughOnOff);
|
||||
//PROPGET_VD(FieldPreference);
|
||||
PROPGET_VD(BlackLevelValue);
|
||||
PROPGET_VD(WhiteLevelValue);
|
||||
//PROPGET_VD(Input);
|
||||
//PROPGET_VD(InputStandard);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<std::string> videoDarwin::enumerate() {
|
||||
std::vector<std::string> result;
|
||||
OSErr anErr;
|
||||
SGDeviceList devices;
|
||||
|
||||
anErr = SGGetChannelDeviceList(m_vc, sgDeviceListIncludeInputs, &devices);
|
||||
if(anErr!=noErr){
|
||||
error("could not get SG channnel Device List");
|
||||
}else{
|
||||
short deviceCount = (*devices)->count;
|
||||
short deviceIndex = (*devices)->selectedIndex;
|
||||
short inputIndex;
|
||||
post("SG channnel Device List count %d index %d",deviceCount,deviceIndex);
|
||||
int i;
|
||||
m_devices.clear();
|
||||
for (i = 0; i < deviceCount; i++){
|
||||
m_devices.push_back(pascal2str((*devices)->entry[i].name));
|
||||
post("SG channnel Device List[%d] %s", i, m_devices[i].c_str());
|
||||
}
|
||||
SGGetChannelDeviceAndInputNames(m_vc, NULL, NULL, &inputIndex);
|
||||
|
||||
bool showInputsAsDevices = ((*devices)->entry[deviceIndex].flags) & sgDeviceNameFlagShowInputsAsDevices;
|
||||
|
||||
SGDeviceInputList theSGInputList = ((SGDeviceName *)(&((*devices)->entry[deviceIndex])))->inputs; //fugly
|
||||
|
||||
//we should have device names in big ass undocumented structs
|
||||
//walk through the list
|
||||
for (i = 0; i < inputIndex; i++){
|
||||
std::string input=pascal2str((*theSGInputList)->entry[i].name);
|
||||
post("SG channnel Input Device List %d %s",
|
||||
i, input.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
result=m_devices;
|
||||
return result;
|
||||
}
|
||||
#endif // HAVE_VIDEODARWIN
|
|
@ -1,106 +0,0 @@
|
|||
/*-----------------------------------------------------------------
|
||||
|
||||
GEM - Graphics Environment for Multimedia
|
||||
|
||||
Copyright (c) 2002 James Tittle & Chris Clepper
|
||||
Copyright (c) 2010-2011 IOhannes m zmölnig. forum::für::umläute. IEM. zmoelnig@iem.at
|
||||
For information on usage and redistribution, and for a DISCLAIMER OF ALL
|
||||
WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution.
|
||||
|
||||
Linux version by Miller Puckette. msp@ucsd.edu
|
||||
|
||||
-----------------------------------------------------------------*/
|
||||
|
||||
#ifndef _INCLUDE_GEMPLUGIN__VIDEODARWIN_VIDEODARWIN_H_
|
||||
#define _INCLUDE_GEMPLUGIN__VIDEODARWIN_VIDEODARWIN_H_
|
||||
|
||||
#include "plugins/videoBase.h"
|
||||
|
||||
#ifdef HAVE_CARBON
|
||||
# include <Carbon/Carbon.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_QUICKTIME
|
||||
# include <QuickTime/QuickTime.h>
|
||||
#endif
|
||||
|
||||
/*-----------------------------------------------------------------
|
||||
-------------------------------------------------------------------
|
||||
CLASS
|
||||
pix_video
|
||||
|
||||
captures a video on Apple machines
|
||||
|
||||
KEYWORDS
|
||||
pix
|
||||
|
||||
-----------------------------------------------------------------*/
|
||||
namespace gem { namespace plugins {
|
||||
class GEM_EXPORT videoDarwin : public videoBase {
|
||||
public:
|
||||
//////////
|
||||
// Constructor
|
||||
videoDarwin(void);
|
||||
|
||||
//////////
|
||||
// Destructor
|
||||
virtual ~videoDarwin(void);
|
||||
|
||||
////////
|
||||
// open the video-device
|
||||
virtual bool openDevice(gem::Properties&props);
|
||||
virtual void closeDevice(void);
|
||||
|
||||
//////////
|
||||
// Start up the video device
|
||||
// [out] int - returns 0 if bad
|
||||
bool startTransfer(void);
|
||||
//////////
|
||||
// Stop the video device
|
||||
// [out] int - returns 0 if bad
|
||||
bool stopTransfer(void);
|
||||
|
||||
//////////
|
||||
// get the next frame
|
||||
virtual bool grabFrame(void);
|
||||
//////////
|
||||
// Set the video dimensions
|
||||
virtual bool setColor(int d);
|
||||
virtual bool dialog(std::vector<std::string>dlg);
|
||||
virtual std::vector<std::string>dialogs(void);
|
||||
|
||||
virtual bool enumProperties(gem::Properties&readable,
|
||||
gem::Properties&writeable);
|
||||
virtual void setProperties(gem::Properties&props);
|
||||
virtual void getProperties(gem::Properties&props);
|
||||
|
||||
protected:
|
||||
bool initSeqGrabber(void);
|
||||
void resetSeqGrabber(void);
|
||||
void destroySeqGrabber(void);
|
||||
virtual void setupCapture(void);
|
||||
|
||||
|
||||
|
||||
int m_newFrame;
|
||||
SeqGrabComponent m_sg; // Sequence Grabber Component
|
||||
SGChannel m_vc; // Video Channel
|
||||
GWorldPtr m_srcGWorld; // Capture Destination
|
||||
unsigned long m_rowBytes; // Row bytes in a row
|
||||
long m_quality;
|
||||
int m_colorspace;
|
||||
|
||||
int m_inputDevice;
|
||||
int m_inputDeviceChannel;
|
||||
VideoDigitizerComponent m_vdig; //gotta have the vdig
|
||||
DigitizerInfo m_vdigInfo; //the info about the VDIG
|
||||
|
||||
virtual std::vector<std::string>enumerate(void);
|
||||
std::vector<std::string>m_devices;
|
||||
|
||||
bool setIIDCProperty(OSType specifier, double value);
|
||||
bool applyProperties(gem::Properties&props);
|
||||
};
|
||||
};};
|
||||
|
||||
#endif // for header file
|
|
@ -1,12 +0,0 @@
|
|||
prefix=/home/santi/lms/ImageMagick-6.8.3-1/bin
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include/ImageMagick
|
||||
|
||||
|
||||
Name: Magick++
|
||||
Version: 6.8.3
|
||||
Description: Magick++ - C++ API for ImageMagick
|
||||
Requires: ImageMagick
|
||||
Libs: -L${libdir} -lMagick++6-Q16
|
||||
Cflags: -I${includedir}
|
|
@ -1,65 +0,0 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Configure options script for re-calling Magick+ compilation options
|
||||
# required to use the Magick++ library.
|
||||
#
|
||||
#
|
||||
|
||||
prefix=/home/santi/lms/ImageMagick-6.8.3-1/bin
|
||||
exec_prefix=${prefix}
|
||||
|
||||
usage='Usage: Magick++-config [--cppflags] [--cxxflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]
|
||||
|
||||
For example, "magick.cpp" may be compiled to produce "magick" as follows:
|
||||
|
||||
"c++ -o magick magick.cpp `Magick++-config --cppflags --cxxflags --ldflags --libs`"'
|
||||
|
||||
if test $# -eq 0; then
|
||||
echo "${usage}" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
while test $# -gt 0; do
|
||||
case "$1" in
|
||||
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
|
||||
*) optarg= ;;
|
||||
esac
|
||||
case $1 in
|
||||
--prefix=*)
|
||||
prefix=$optarg
|
||||
;;
|
||||
--prefix)
|
||||
echo $prefix
|
||||
;;
|
||||
--exec-prefix=*)
|
||||
exec_prefix=$optarg
|
||||
;;
|
||||
--exec-prefix)
|
||||
echo $exec_prefix
|
||||
;;
|
||||
--version)
|
||||
echo '6.8.3 Q16 '
|
||||
;;
|
||||
--cflags)
|
||||
pkg-config --cflags Magick++
|
||||
;;
|
||||
--cxxflags)
|
||||
pkg-config --cflags Magick++
|
||||
;;
|
||||
--cppflags)
|
||||
pkg-config --cflags Magick++
|
||||
;;
|
||||
--ldflags)
|
||||
pkg-config --libs Magick++
|
||||
;;
|
||||
--libs)
|
||||
pkg-config --libs Magick++
|
||||
;;
|
||||
*)
|
||||
echo "${usage}" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
|
@ -1,61 +0,0 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Configure options script for re-calling MagickCore compilation options
|
||||
# required to use the MagickCore library.
|
||||
#
|
||||
|
||||
prefix=/home/santi/lms/ImageMagick-6.8.3-1/bin
|
||||
exec_prefix=${prefix}
|
||||
|
||||
usage="\
|
||||
Usage: Magick-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]"
|
||||
|
||||
if test $# -eq 0; then
|
||||
echo "${usage}" 1>&2
|
||||
echo "Example: gcc \`Magick-config --cflags --cppflags\` -o core core.c \`Magick-config --ldflags --libs\`" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
while test $# -gt 0; do
|
||||
case "$1" in
|
||||
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
|
||||
*) optarg= ;;
|
||||
esac
|
||||
case $1 in
|
||||
--prefix=*)
|
||||
prefix=$optarg
|
||||
;;
|
||||
--prefix)
|
||||
echo $prefix
|
||||
;;
|
||||
--exec-prefix=*)
|
||||
exec_prefix=$optarg
|
||||
;;
|
||||
--exec-prefix)
|
||||
echo $exec_prefix
|
||||
;;
|
||||
--version)
|
||||
echo '6.8.3 Q16 '
|
||||
;;
|
||||
--cflags)
|
||||
pkg-config --cflags MagickCore
|
||||
;;
|
||||
--cxxflags)
|
||||
pkg-config --cflags MagickCore
|
||||
;;
|
||||
--cppflags)
|
||||
pkg-config --cflags MagickCore
|
||||
;;
|
||||
--ldflags)
|
||||
pkg-config --libs MagickCore
|
||||
;;
|
||||
--libs)
|
||||
pkg-config --libs MagickCore
|
||||
;;
|
||||
*)
|
||||
echo "${usage}" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
|
@ -1,61 +0,0 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Configure options script for re-calling MagickCore compilation options
|
||||
# required to use the MagickCore library.
|
||||
#
|
||||
|
||||
prefix=/home/santi/lms/ImageMagick-6.8.3-1/bin
|
||||
exec_prefix=${prefix}
|
||||
|
||||
usage="\
|
||||
Usage: MagickCore-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]"
|
||||
|
||||
if test $# -eq 0; then
|
||||
echo "${usage}" 1>&2
|
||||
echo "Example: gcc \`MagickCore-config --cflags --cppflags\` -o core core.c \`Magick-config --ldflags --libs\`" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
while test $# -gt 0; do
|
||||
case "$1" in
|
||||
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
|
||||
*) optarg= ;;
|
||||
esac
|
||||
case $1 in
|
||||
--prefix=*)
|
||||
prefix=$optarg
|
||||
;;
|
||||
--prefix)
|
||||
echo $prefix
|
||||
;;
|
||||
--exec-prefix=*)
|
||||
exec_prefix=$optarg
|
||||
;;
|
||||
--exec-prefix)
|
||||
echo $exec_prefix
|
||||
;;
|
||||
--version)
|
||||
echo '6.8.3 Q16 '
|
||||
;;
|
||||
--cflags)
|
||||
pkg-config --cflags MagickCore
|
||||
;;
|
||||
--cxxflags)
|
||||
pkg-config --cflags MagickCore
|
||||
;;
|
||||
--cppflags)
|
||||
pkg-config --cflags MagickCore
|
||||
;;
|
||||
--ldflags)
|
||||
pkg-config --libs MagickCore
|
||||
;;
|
||||
--libs)
|
||||
pkg-config --libs MagickCore
|
||||
;;
|
||||
*)
|
||||
echo "${usage}" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
|
@ -1,62 +0,0 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Configure options script for re-calling MagickWand compilation options
|
||||
# required to use the MagickWand library.
|
||||
#
|
||||
|
||||
prefix=/home/santi/lms/ImageMagick-6.8.3-1/bin
|
||||
exec_prefix=${prefix}
|
||||
|
||||
usage="\
|
||||
Usage: MagickWand-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]"
|
||||
|
||||
if test $# -eq 0; then
|
||||
echo "${usage}" 1>&2
|
||||
echo "Example: gcc \`MagickWand-config --cflags --cppflags\` -o wand wand.c \`MagickWand-config --ldflags --libs\`" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
while test $# -gt 0; do
|
||||
case "$1" in
|
||||
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
|
||||
*) optarg= ;;
|
||||
esac
|
||||
case $1 in
|
||||
--prefix=*)
|
||||
prefix=$optarg
|
||||
;;
|
||||
--prefix)
|
||||
echo $prefix
|
||||
;;
|
||||
--exec-prefix=*)
|
||||
exec_prefix=$optarg
|
||||
;;
|
||||
--exec-prefix)
|
||||
echo $exec_prefix
|
||||
;;
|
||||
--version)
|
||||
echo '6.8.3 Q16 '
|
||||
;;
|
||||
--cflags)
|
||||
pkg-config --cflags MagickWand
|
||||
;;
|
||||
--cxxflags)
|
||||
pkg-config --cflags MagickWand
|
||||
;;
|
||||
--cppflags)
|
||||
pkg-config --cflags MagickWand
|
||||
;;
|
||||
--ldflags)
|
||||
pkg-config --libs MagickWand
|
||||
;;
|
||||
--libs)
|
||||
pkg-config --libs MagickWand
|
||||
;;
|
||||
*)
|
||||
echo "${usage}" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
|
@ -1,62 +0,0 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Configure options script for re-calling MagickWand compilation options
|
||||
# required to use the MagickWand library.
|
||||
#
|
||||
|
||||
prefix=/home/santi/lms/ImageMagick-6.8.3-1/bin
|
||||
exec_prefix=${prefix}
|
||||
|
||||
usage="\
|
||||
Usage: Wand-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]"
|
||||
|
||||
if test $# -eq 0; then
|
||||
echo "${usage}" 1>&2
|
||||
echo "Example: gcc \`Wand-config --cflags --cppflags\` -o wand wand.c \`Wand-config --ldflags --libs\`" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
while test $# -gt 0; do
|
||||
case "$1" in
|
||||
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
|
||||
*) optarg= ;;
|
||||
esac
|
||||
case $1 in
|
||||
--prefix=*)
|
||||
prefix=$optarg
|
||||
;;
|
||||
--prefix)
|
||||
echo $prefix
|
||||
;;
|
||||
--exec-prefix=*)
|
||||
exec_prefix=$optarg
|
||||
;;
|
||||
--exec-prefix)
|
||||
echo $exec_prefix
|
||||
;;
|
||||
--version)
|
||||
echo '6.8.3 Q16 '
|
||||
;;
|
||||
--cflags)
|
||||
pkg-config --cflags MagickWand
|
||||
;;
|
||||
--cxxflags)
|
||||
pkg-config --cflags MagickWand
|
||||
;;
|
||||
--cppflags)
|
||||
pkg-config --cflags MagickWand
|
||||
;;
|
||||
--ldflags)
|
||||
pkg-config --libs MagickWand
|
||||
;;
|
||||
--libs)
|
||||
pkg-config --libs MagickWand
|
||||
;;
|
||||
*)
|
||||
echo "${usage}" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,122 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE delegatemap [
|
||||
<!ELEMENT delegatemap (delegate)+>
|
||||
<!ELEMENT delegate (#PCDATA)>
|
||||
<!ATTLIST delegate decode CDATA #IMPLIED>
|
||||
<!ATTLIST delegate encode CDATA #IMPLIED>
|
||||
<!ATTLIST delegate mode CDATA #IMPLIED>
|
||||
<!ATTLIST delegate spawn CDATA #IMPLIED>
|
||||
<!ATTLIST delegate stealth CDATA #IMPLIED>
|
||||
<!ATTLIST delegate thread-support CDATA #IMPLIED>
|
||||
<!ATTLIST delegate command CDATA #REQUIRED>
|
||||
]>
|
||||
<!--
|
||||
Delegate command file.
|
||||
|
||||
Commands which specify
|
||||
|
||||
decode="in_format" encode="out_format"
|
||||
|
||||
specify the rules for converting from in_format to out_format These
|
||||
rules may be used to translate directly between formats.
|
||||
|
||||
Commands which specify only
|
||||
|
||||
decode="in_format"
|
||||
|
||||
specify the rules for converting from in_format to some format that
|
||||
ImageMagick will automatically recognize. These rules are used to
|
||||
decode formats.
|
||||
|
||||
Commands which specify only
|
||||
|
||||
encode="out_format"
|
||||
|
||||
specify the rules for an "encoder" which may accept any input format.
|
||||
|
||||
For delegates other than ps:*, pcl:*, and mpeg:* the substitution rules are
|
||||
as follows:
|
||||
|
||||
%i input image filename
|
||||
%o output image filename
|
||||
%u unique temporary filename
|
||||
%Z unique temporary filename
|
||||
%# input image signature
|
||||
%b image file size
|
||||
%c input image comment
|
||||
%g image geometry
|
||||
%h image rows (height)
|
||||
%k input image number colors
|
||||
%l image label
|
||||
%m input image format
|
||||
%p page number
|
||||
%q input image depth
|
||||
%s scene number
|
||||
%w image columns (width)
|
||||
%x input image x resolution
|
||||
%y input image y resolution
|
||||
|
||||
Set option delegate:bimodal=true to process bimodal delegates otherwise they
|
||||
are ignored.
|
||||
|
||||
If stealth="True" the delegate is not listed in user requested
|
||||
"-list delegate" listings. These are typically special internal delegates.
|
||||
|
||||
If spawn="True" ImageMagick will not way for the delegate to finish,
|
||||
nor will it read any output image. It will only wait for either the input
|
||||
file to be removed (See "ephemeral:" coder) indicating that the input file
|
||||
has been read, or a maximum time limit of 2 seconds.
|
||||
-->
|
||||
<delegatemap>
|
||||
<delegate decode="autotrace" stealth="True" command=""convert" "%i" "pnm:%u"\n"autotrace" -input-format pnm -output-format svg -output-file "%o" "%u""/>
|
||||
<delegate decode="blender" command=""blender" -b "%i" -F PNG -o "%o""\n"convert" -concatenate "%o*.png" "%o""/>
|
||||
<delegate decode="browse" stealth="True" spawn="True" command=""xdg-open" http://www.imagemagick.org/; rm "%i""/>
|
||||
<delegate decode="cdr" command=""uniconvertor" "%i" "%o.svg"; mv "%o.svg" "%o""/>
|
||||
<delegate decode="cgm" thread-support="False" command=""ralcgm" -d ps -oC < "%i" > "%o" 2> "%Z""/>
|
||||
<delegate decode="dvi" command=""dvips" -q -o "%o" "%i""/>
|
||||
<delegate decode="dng:decode" command=""ufraw-batch" --silent --create-id=also --out-type=png --out-depth=16 "--output=%u.png" "%i""/>
|
||||
<delegate decode="dot" command='"dot" -Tsvg "%i" -o "%o"' />
|
||||
<delegate decode="edit" stealth="True" command=""xterm" -title "Edit Image Comment" -e vi "%o""/>
|
||||
<delegate decode="eps" encode="pdf" mode="bi" command=""gs" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 "-sDEVICE=pdfwrite" "-sOutputFile=%o" "-f%i""/>
|
||||
<delegate decode="eps" encode="ps" mode="bi" command=""gs" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pswrite" "-sOutputFile=%o" "-f%i""/>
|
||||
<delegate decode="fig" command=""fig2dev" -L ps "%i" "%o""/>
|
||||
<delegate decode="plt" command=""echo" "set size 1.25,0.62; set terminal postscript portrait color solid; set output \'%o\'; load \'%i\'" > "%u";"gnuplot" "%u""/>
|
||||
<delegate decode="hpg" command=""hp2xx" -q -m eps -f `basename "%o"` "%i"; mv -f `basename "%o"` "%o""/>
|
||||
<delegate decode="hpgl" command=""hp2xx" -q -m eps -f `basename "%o"` "%i"; mv -f `basename "%o"` "%o""/>
|
||||
<delegate decode="htm" command=""html2ps" -U -o "%o" "%i""/>
|
||||
<delegate decode="html" command=""html2ps" -U -o "%o" "%i""/>
|
||||
<delegate decode="https" command=""curl" -s -k -o "%o" "https:%M""/>
|
||||
<delegate decode="ilbm" command=""ilbmtoppm" "%i" > "%o""/>
|
||||
<delegate decode="man" command=""groff" -man -Tps "%i" > "%o""/>
|
||||
<delegate decode="mpeg:decode" command=""ffmpeg" -v -1 -i "%i" -vframes %S -vcodec pam -an -f rawvideo -y "%u.pam" 2> "%Z""/>
|
||||
<delegate encode="mpeg:encode" stealth="True" command=""ffmpeg" -v -1 -mbd rd -trellis 2 -cmp 2 -subcmp 2 -g 300 -i "%M%%d.jpg" "%u.%m" 2> "%Z""/>
|
||||
<delegate decode="sid" command=""mrsidgeodecode" -if sid -i "%i" -of tif -o "%o" > "%u""/>
|
||||
<delegate decode="pcl:color" stealth="True" command=""pcl6" -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=ppmraw" -dTextAlphaBits=%u -dGraphicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "%s""/>
|
||||
<delegate decode="pcl:cmyk" stealth="True" command=""pcl6" -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pamcmyk32" -dTextAlphaBits=%u -dGraphicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "%s""/>
|
||||
<delegate decode="pcl:mono" stealth="True" command=""pcl6" -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pbmraw" -dTextAlphaBits=%u -dGraphicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "%s""/>
|
||||
<delegate decode="pdf" encode="eps" mode="bi" command=""gs" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=epswrite" "-sOutputFile=%o" "-f%i""/>
|
||||
<delegate decode="pdf" encode="ps" mode="bi" command=""gs" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pswrite" "-sOutputFile=%o" "-f%i""/>
|
||||
<delegate decode="tiff" encode="launch" mode="encode" command=""gimp" "%i""/>
|
||||
<delegate decode="pnm" encode="ilbm" mode="encode" command=""ppmtoilbm" -24if "%i" > "%o""/>
|
||||
<delegate decode="pov" command=""povray" "+i%i" -D0 "+o%o" +fn%q +w%w +h%h +a -q9 "-kfi%s" "-kff%n";"convert" -concatenate "%o*.png" "%o""/>
|
||||
<delegate decode="ps" encode="eps" mode="bi" command=""gs" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=epswrite" "-sOutputFile=%o" "-f%i""/>
|
||||
<delegate decode="ps" encode="pdf" mode="bi" command=""gs" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pdfwrite" "-sOutputFile=%o" "-f%i""/>
|
||||
<delegate decode="ps" encode="print" mode="encode" command="lpr "%i""/>
|
||||
<delegate decode="ps:alpha" stealth="True" command=""gs" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pngalpha" -dTextAlphaBits=%u -dGraphicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "-f%s" "-f%s""/>
|
||||
<delegate decode="ps:cmyk" stealth="True" command=""gs" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pam" -dTextAlphaBits=%u -dGraphicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "-f%s" "-f%s""/>
|
||||
<delegate decode="ps:color" stealth="True" command=""gs" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pnmraw" -dTextAlphaBits=%u -dGraphicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "-f%s" "-f%s""/>
|
||||
<delegate decode="ps:mono" stealth="True" command=""gs" -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pbmraw" -dTextAlphaBits=%u -dGraphicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "-f%s" "-f%s""/>
|
||||
<delegate decode="rgba" encode="rle" mode="encode" command=""rawtorle" -o "%o" -v "%i""/>
|
||||
<delegate decode="scan" command=""scanimage" -d "%i" > "%o""/>
|
||||
<delegate decode="scanx" command=""scanimage" > "%o""/>
|
||||
<delegate decode="miff" encode="show" spawn="True" command=""/home/santi/lms/ImageMagick-6.8.3-1/bin/bin/display" -delay 0 -window-group %[group] -title "%l " "ephemeral:%i""/>
|
||||
<delegate decode="shtml" command=""html2ps" -U -o "%o" "%i""/>
|
||||
<delegate decode="svg" command=""rsvg-convert" -o "%o" "%i""/>
|
||||
<delegate decode="svg:decode" stealth="True" command=""inkscape" "%s" --export-png="%s" --export-dpi="%s" --export-background="%s" --export-background-opacity="%s" > "%s" 2>&1"/>
|
||||
<delegate decode="txt" encode="ps" mode="bi" command=""enscript" -o "%o" "%i""/>
|
||||
<delegate decode="miff" encode="win" stealth="True" spawn="True" command=""/home/santi/lms/ImageMagick-6.8.3-1/bin/bin/display" -immutable -delay 0 -window-group %[group] -title "%l " "ephemeral:%i""/>
|
||||
<delegate decode="wmf" command=""wmf2eps" -o "%o" "%i""/>
|
||||
<delegate decode="xps:color" stealth="True" command=""gxps" -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=ppmraw" -dTextAlphaBits=%u -dGraphicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "%s""/>
|
||||
<delegate decode="xps:cmyk" stealth="True" command=""gxps" -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=bmpsep8" -dTextAlphaBits=%u -dGraphicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "%s""/>
|
||||
<delegate decode="xps:mono" stealth="True" command=""gxps" -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pbmraw" -dTextAlphaBits=%u -dGraphicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "%s""/>
|
||||
</delegatemap>
|
|
@ -1,62 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE typemap [
|
||||
<!ELEMENT typemap (type)+>
|
||||
<!ELEMENT type (#PCDATA)>
|
||||
<!ELEMENT include (#PCDATA)>
|
||||
<!ATTLIST type name CDATA #REQUIRED>
|
||||
<!ATTLIST type fullname CDATA #IMPLIED>
|
||||
<!ATTLIST type fullname="" family CDATA #IMPLIED>
|
||||
<!ATTLIST type foundry CDATA #IMPLIED>
|
||||
<!ATTLIST type weight CDATA #IMPLIED>
|
||||
<!ATTLIST type style CDATA #IMPLIED>
|
||||
<!ATTLIST type stretch CDATA #IMPLIED>
|
||||
<!ATTLIST type format CDATA #IMPLIED>
|
||||
<!ATTLIST type metrics CDATA #IMPLIED>
|
||||
<!ATTLIST type glyphs CDATA #REQUIRED>
|
||||
<!ATTLIST type version CDATA #IMPLIED>
|
||||
<!ATTLIST include file CDATA #REQUIRED>
|
||||
]>
|
||||
<typemap>
|
||||
<type name="DejaVu-LGC-Sans-Bold" fullname="DejaVu LGC Sans Bold" family="DejaVuGC Sans" style="Normal" stretch="Normal" weight="700" glyphs="DejaVuLGCSans-Bold.ttf"/>
|
||||
<type name="DejaVu-LGC-Sans-Bold-Oblique" fullname="DejaVu LGC Sans Bold Oblique" family="DejaVuGC Sans" style="Oblique" stretch="Normal" weight="700" glyphs="DejaVuLGCSans-BoldOblique.ttf"/>
|
||||
<type name="DejaVu-LGC-Sans-Book" fullname="DejaVu LGC Sans Book" family="DejaVuGC Sans" style="Normal" stretch="Normal" weight="400" glyphs="DejaVuLGCSans.ttf"/>
|
||||
<type name="DejaVu-LGC-Sans-Condensed" fullname="DejaVu LGC Sans Condensed" family="DejaVuGC Sans" style="Normal" stretch="SemiCondensed" weight="400" glyphs="DejaVuLGCSansCondensed.ttf"/>
|
||||
<type name="DejaVu-LGC-Sans-Condensed-Bold" fullname="DejaVu LGC Sans Condensed Bold" family="DejaVuGC Sans" style="Normal" stretch="SemiCondensed" weight="700" glyphs="DejaVuLGCSansCondensed-Bold.ttf"/>
|
||||
<type name="DejaVu-LGC-Sans-Condensed-Bold-Oblique" fullname="DejaVu LGC Sans Condensed Bold Oblique" family="DejaVuGC Sans" style="Oblique" stretch="SemiCondensed" weight="700" glyphs="DejaVuLGCSansCondensed-BoldOblique.ttf"/>
|
||||
<type name="DejaVu-LGC-Sans-Condensed-Oblique" fullname="DejaVu LGC Sans Condensed Oblique" family="DejaVuGC Sans" style="Oblique" stretch="SemiCondensed" weight="400" glyphs="DejaVuLGCSansCondensed-Oblique.ttf"/>
|
||||
<type name="DejaVu-LGC-Sans-ExtraLight" fullname="DejaVu LGC Sans ExtraLight" family="DejaVuGC Sans" style="Normal" stretch="Normal" weight="200" glyphs="DejaVuLGCSans-ExtraLight.ttf"/>
|
||||
<type name="DejaVu-LGC-Sans-Mono-Bold" fullname="DejaVu LGC Sans Mono Bold" family="DejaVuGC Sans Mono" style="Normal" stretch="Normal" weight="700" glyphs="DejaVuLGCSansMono-Bold.ttf"/>
|
||||
<type name="DejaVu-LGC-Sans-Mono-Bold-Oblique" fullname="DejaVu LGC Sans Mono Bold Oblique" family="DejaVuGC Sans Mono" style="Oblique" stretch="Normal" weight="700" glyphs="DejaVuLGCSansMono-BoldOblique.ttf"/>
|
||||
<type name="DejaVu-LGC-Sans-Mono-Book" fullname="DejaVu LGC Sans Mono Book" family="DejaVuGC Sans Mono" style="Normal" stretch="Normal" weight="400" glyphs="DejaVuLGCSansMono.ttf"/>
|
||||
<type name="DejaVu-LGC-Sans-Mono-Oblique" fullname="DejaVu LGC Sans Mono Oblique" family="DejaVuGC Sans Mono" style="Oblique" stretch="Normal" weight="400" glyphs="DejaVuLGCSansMono-Oblique.ttf"/>
|
||||
<type name="DejaVu-LGC-Sans-Oblique" fullname="DejaVu LGC Sans Oblique" family="DejaVuGC Sans" style="Oblique" stretch="Normal" weight="400" glyphs="DejaVuLGCSans-Oblique.ttf"/>
|
||||
<type name="DejaVu-LGC-Serif-Bold" fullname="DejaVu LGC Serif Bold" family="DejaVuGC Serif" style="Normal" stretch="Normal" weight="700" glyphs="DejaVuLGCSerif-Bold.ttf"/>
|
||||
<type name="DejaVu-LGC-Serif-Bold-Italic" fullname="DejaVu LGC Serif Bold Italic" family="DejaVuGC Serif" style="Italic" stretch="Normal" weight="700" glyphs="DejaVuLGCSerif-BoldItalic.ttf"/>
|
||||
<type name="DejaVu-LGC-Serif-Book" fullname="DejaVu LGC Serif Book" family="DejaVuGC Serif" style="Normal" stretch="Normal" weight="400" glyphs="DejaVuLGCSerif.ttf"/>
|
||||
<type name="DejaVu-LGC-Serif-Condensed" fullname="DejaVu LGC Serif Condensed" family="DejaVuGC Serif" style="Normal" stretch="SemiCondensed" weight="400" glyphs="DejaVuLGCSerifCondensed.ttf"/>
|
||||
<type name="DejaVu-LGC-Serif-Condensed-Bold" fullname="DejaVu LGC Serif Condensed Bold" family="DejaVuGC Serif" style="Normal" stretch="SemiCondensed" weight="700" glyphs="DejaVuLGCSerifCondensed-Bold.ttf"/>
|
||||
<type name="DejaVu-LGC-Serif-Condensed-Bold-Italic" fullname="DejaVu LGC Serif Condensed Bold Italic" family="DejaVuGC Serif" style="Italic" stretch="SemiCondensed" weight="700" glyphs="DejaVuLGCSerifCondensed-BoldItalic.ttf"/>
|
||||
<type name="DejaVu-LGC-Serif-Condensed-Italic" fullname="DejaVu LGC Serif -Condensed Italic" family="DejaVuGC Serif" style="Italic" stretch="SemiCondensed" weight="400" glyphs="DejaVuLGCSerifCondensed-Italic.ttf"/>
|
||||
<type name="DejaVu-LGC-Serif-Italic" fullname="DejaVu LGC Serif Italic" family="DejaVuGC Serif" style="Italic" stretch="Normal" weight="400" glyphs="DejaVuLGCSerif-Italic.ttf"/>
|
||||
<type name="DejaVu-Sans-Bold" fullname="DejaVu Sans Bold" family="DejaVu Sans" style="Normal" stretch="Normal" weight="700" glyphs="DejaVuSans-Bold.ttf"/>
|
||||
<type name="DejaVu-Sans-Bold-Oblique" fullname="DejaVu Sans Bold Oblique" family="DejaVu Sans" style="Oblique" stretch="Normal" weight="700" glyphs="DejaVuSans-BoldOblique.ttf"/>
|
||||
<type name="DejaVu-Sans-Book" fullname="DejaVu Sans Book" family="DejaVu Sans" style="Normal" stretch="Normal" weight="400" glyphs="DejaVuSans.ttf"/>
|
||||
<type name="DejaVu-Sans-Condensed" fullname="DejaVu Sans Condensed" family="DejaVu Sans" style="Normal" stretch="SemiCondensed" weight="400" glyphs="DejaVuSansCondensed.ttf"/>
|
||||
<type name="DejaVu-Sans-Condensed-Bold" fullname="DejaVu Sans Condensed Bold" family="DejaVu Sans" style="Normal" stretch="SemiCondensed" weight="700" glyphs="DejaVuSansCondensed-Bold.ttf"/>
|
||||
<type name="DejaVu-Sans-Condensed-Bold-Oblique" fullname="DejaVu Sans Condensed Bold Oblique" family="DejaVu Sans" style="Oblique" stretch="SemiCondensed" weight="700" glyphs="DejaVuSansCondensed-BoldOblique.ttf"/>
|
||||
<type name="DejaVu-Sans-Condensed-Oblique" fullname="DejaVu Sans Condensed Oblique" family="DejaVu Sans" style="Oblique" stretch="SemiCondensed" weight="400" glyphs="DejaVuSansCondensed-Oblique.ttf"/>
|
||||
<type name="DejaVu-Sans-ExtraLight" fullname="DejaVu Sans ExtraLight" family="DejaVu Sans" style="Normal" stretch="Normal" weight="200" glyphs="DejaVuSans-ExtraLight.ttf"/>
|
||||
<type name="DejaVu-Sans-Mono-Bold" fullname="DejaVu Sans Mono Bold" family="DejaVu Sans Mono" style="Normal" stretch="Normal" weight="700" glyphs="DejaVuSansMono-Bold.ttf"/>
|
||||
<type name="DejaVu-Sans-Mono-Bold-Oblique" fullname="DejaVu Sans Mono Bold Oblique" family="DejaVu Sans Mono" style="Oblique" stretch="Normal" weight="700" glyphs="DejaVuSansMono-BoldOblique.ttf"/>
|
||||
<type name="DejaVu-Sans-Mono-Book" fullname="DejaVu Sans Mono Book" family="DejaVu Sans Mono" style="Normal" stretch="Normal" weight="400" glyphs="DejaVuSansMono.ttf"/>
|
||||
<type name="DejaVu-Sans-Mono-Oblique" fullname="DejaVu Sans Mono Oblique" family="DejaVu Sans Mono" style="Oblique" stretch="Normal" weight="400" glyphs="DejaVuSansMono-Oblique.ttf"/>
|
||||
<type name="DejaVu-Sans-Oblique" fullname="DejaVu Sans Oblique" family="DejaVu Sans" style="Oblique" stretch="Normal" weight="400" glyphs="DejaVuSans-Oblique.ttf"/>
|
||||
<type name="DejaVu-Serif-Bold" fullname="DejaVu Serif Bold" family="DejaVu Serif" style="Normal" stretch="Normal" weight="700" glyphs="DejaVuSerif-Bold.ttf"/>
|
||||
<type name="DejaVu-Serif-Bold-Italic" fullname="DejaVu Serif Bold Italic" family="DejaVu Serif" style="Italic" stretch="Normal" weight="700" glyphs="DejaVuSerif-BoldItalic.ttf"/>
|
||||
<type name="DejaVu-Serif-Book" fullname="DejaVu Serif Book" family="DejaVu Serif" style="Normal" stretch="Normal" weight="400" glyphs="DejaVuSerif.ttf"/>
|
||||
<type name="DejaVu-Serif-Condensed" fullname="DejaVu Serif Condensed" family="DejaVu Serif" style="Normal" stretch="SemiCondensed" weight="400" glyphs="DejaVuSerifCondensed.ttf"/>
|
||||
<type name="DejaVu-Serif-Condensed-Bold" fullname="DejaVu Serif Condensed Bold" family="DejaVu Serif" style="Normal" stretch="SemiCondensed" weight="700" glyphs="DejaVuSerifCondensed-Bold.ttf"/>
|
||||
<type name="DejaVu-Serif-Condensed-Bold-Italic" fullname="DejaVu Serif Condensed Bold Italic" family="DejaVu Serif" style="Italic" stretch="SemiCondensed" weight="700" glyphs="DejaVuSerifCondensed-BoldItalic.ttf"/>
|
||||
<type name="DejaVu-Serif-Condensed-Italic" fullname="DejaVu Serif Condensed Italic" family="DejaVu Serif" style="Italic" stretch="SemiCondensed" weight="400" glyphs="DejaVuSerifCondensed-Italic.ttf"/>
|
||||
<type name="DejaVu-Serif-Italic" fullname="DejaVu Serif Italic" family="DejaVu Serif" style="Italic" stretch="Normal" weight="400" glyphs="DejaVuSerif-Italic.ttf"/>
|
||||
</typemap>
|
|
@ -1,54 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE typemap [
|
||||
<!ELEMENT typemap (type)+>
|
||||
<!ELEMENT type (#PCDATA)>
|
||||
<!ELEMENT include (#PCDATA)>
|
||||
<!ATTLIST type name CDATA #REQUIRED>
|
||||
<!ATTLIST type fullname CDATA #IMPLIED>
|
||||
<!ATTLIST type family CDATA #IMPLIED>
|
||||
<!ATTLIST type foundry CDATA #IMPLIED>
|
||||
<!ATTLIST type weight CDATA #IMPLIED>
|
||||
<!ATTLIST type style CDATA #IMPLIED>
|
||||
<!ATTLIST type stretch CDATA #IMPLIED>
|
||||
<!ATTLIST type format CDATA #IMPLIED>
|
||||
<!ATTLIST type metrics CDATA #IMPLIED>
|
||||
<!ATTLIST type glyphs CDATA #REQUIRED>
|
||||
<!ATTLIST type version CDATA #IMPLIED>
|
||||
<!ATTLIST include file CDATA #REQUIRED>
|
||||
]>
|
||||
<typemap>
|
||||
<type name="AvantGarde-Book" fullname="AvantGarde Book" family="AvantGarde" foundry="URW" weight="400" style="normal" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/a010013l.afm" glyphs="/usr/share/fonts/type1/gsfonts/a010013l.pfb"/>
|
||||
<type name="AvantGarde-BookOblique" fullname="AvantGarde Book Oblique" family="AvantGarde" foundry="URW" weight="400" style="oblique" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/a010033l.afm" glyphs="/usr/share/fonts/type1/gsfonts/a010033l.pfb"/>
|
||||
<type name="AvantGarde-Demi" fullname="AvantGarde DemiBold" family="AvantGarde" foundry="URW" weight="600" style="normal" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/a010015l.afm" glyphs="/usr/share/fonts/type1/gsfonts/a010015l.pfb"/>
|
||||
<type name="AvantGarde-DemiOblique" fullname="AvantGarde DemiOblique" family="AvantGarde" foundry="URW" weight="600" style="oblique" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/a010035l.afm" glyphs="/usr/share/fonts/type1/gsfonts/a010035l.pfb"/>
|
||||
<type name="Bookman-Demi" fullname="Bookman DemiBold" family="Bookman" foundry="URW" weight="600" style="normal" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/b018015l.afm" glyphs="/usr/share/fonts/type1/gsfonts/b018015l.pfb"/>
|
||||
<type name="Bookman-DemiItalic" fullname="Bookman DemiBold Italic" family="Bookman" foundry="URW" weight="600" style="italic" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/b018035l.afm" glyphs="/usr/share/fonts/type1/gsfonts/b018035l.pfb"/>
|
||||
<type name="Bookman-Light" fullname="Bookman Light" family="Bookman" foundry="URW" weight="300" style="normal" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/b018012l.afm" glyphs="/usr/share/fonts/type1/gsfonts/b018012l.pfb"/>
|
||||
<type name="Bookman-LightItalic" fullname="Bookman Light Italic" family="Bookman" foundry="URW" weight="300" style="italic" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/b018032l.afm" glyphs="/usr/share/fonts/type1/gsfonts/b018032l.pfb"/>
|
||||
<type name="Courier" fullname="Courier Regular" family="Courier" foundry="URW" weight="400" style="normal" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/n022003l.afm" glyphs="/usr/share/fonts/type1/gsfonts/n022003l.pfb"/>
|
||||
<type name="Courier-Bold" fullname="Courier Bold" family="Courier" foundry="URW" weight="700" style="normal" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/n022004l.afm" glyphs="/usr/share/fonts/type1/gsfonts/n022004l.pfb"/>
|
||||
<type name="Courier-Oblique" fullname="Courier Regular Oblique" family="Courier" foundry="URW" weight="400" style="oblique" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/n022023l.afm" glyphs="/usr/share/fonts/type1/gsfonts/n022023l.pfb"/>
|
||||
<type name="Courier-BoldOblique" fullname="Courier Bold Oblique" family="Courier" foundry="URW" weight="700" style="oblique" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/n022024l.afm" glyphs="/usr/share/fonts/type1/gsfonts/n022024l.pfb"/>
|
||||
<type name="fixed" fullname="Helvetica Regular" family="Helvetica" foundry="URW" weight="400" style="normal" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/n019003l.afm" glyphs="/usr/share/fonts/type1/gsfonts/n019003l.pfb"/>
|
||||
<type name="Helvetica" fullname="Helvetica Regular" family="Helvetica" foundry="URW" weight="400" style="normal" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/n019003l.afm" glyphs="/usr/share/fonts/type1/gsfonts/n019003l.pfb"/>
|
||||
<type name="Helvetica-Bold" fullname="Helvetica Bold" family="Helvetica" foundry="URW" weight="700" style="normal" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/n019004l.afm" glyphs="/usr/share/fonts/type1/gsfonts/n019004l.pfb"/>
|
||||
<type name="Helvetica-Oblique" fullname="Helvetica Regular Italic" family="Helvetica" foundry="URW" weight="400" style="italic" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/n019023l.afm" glyphs="/usr/share/fonts/type1/gsfonts/n019023l.pfb"/>
|
||||
<type name="Helvetica-BoldOblique" fullname="Helvetica Bold Italic" family="Helvetica" foundry="URW" weight="700" style="italic" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/n019024l.afm" glyphs="/usr/share/fonts/type1/gsfonts/n019024l.pfb"/>
|
||||
<type name="Helvetica-Narrow" fullname="Helvetica Narrow" family="Helvetica Narrow" foundry="URW" weight="400" style="normal" stretch="condensed" format="type1" metrics="/usr/share/fonts/type1/gsfonts/n019043l.afm" glyphs="/usr/share/fonts/type1/gsfonts/n019043l.pfb"/>
|
||||
<type name="Helvetica-Narrow-Oblique" fullname="Helvetica Narrow Oblique" family="Helvetica Narrow" foundry="URW" weight="400" style="oblique" stretch="condensed" format="type1" metrics="/usr/share/fonts/type1/gsfonts/n019063l.afm" glyphs="/usr/share/fonts/type1/gsfonts/n019063l.pfb"/>
|
||||
<type name="Helvetica-Narrow-Bold" fullname="Helvetica Narrow Bold" family="Helvetica Narrow" foundry="URW" weight="700" style="normal" stretch="condensed" format="type1" metrics="/usr/share/fonts/type1/gsfonts/n019044l.afm" glyphs="/usr/share/fonts/type1/gsfonts/n019044l.pfb"/>
|
||||
<type name="Helvetica-Narrow-BoldOblique" fullname="Helvetica Narrow Bold Oblique" family="Helvetica Narrow" foundry="URW" weight="700" style="oblique" stretch="condensed" format="type1" metrics="/usr/share/fonts/type1/gsfonts/n019064l.afm" glyphs="/usr/share/fonts/type1/gsfonts/n019064l.pfb"/>
|
||||
<type name="NewCenturySchlbk-Roman" fullname="New Century Schoolbook" family="NewCenturySchlbk" foundry="URW" weight="400" style="normal" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/c059013l.afm" glyphs="/usr/share/fonts/type1/gsfonts/c059013l.pfb"/>
|
||||
<type name="NewCenturySchlbk-Italic" fullname="New Century Schoolbook Italic" family="NewCenturySchlbk" foundry="URW" weight="400" style="italic" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/c059033l.afm" glyphs="/usr/share/fonts/type1/gsfonts/c059033l.pfb"/>
|
||||
<type name="NewCenturySchlbk-Bold" fullname="New Century Schoolbook Bold" family="NewCenturySchlbk" foundry="URW" weight="700" style="normal" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/c059016l.afm" glyphs="/usr/share/fonts/type1/gsfonts/c059016l.pfb"/>
|
||||
<type name="NewCenturySchlbk-BoldItalic" fullname="New Century Schoolbook Bold Italic" family="NewCenturySchlbk" foundry="URW" weight="700" style="italic" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/c059036l.afm" glyphs="/usr/share/fonts/type1/gsfonts/c059036l.pfb"/>
|
||||
<type name="Palatino-Roman" fullname="Palatino Regular" family="Palatino" foundry="URW" weight="400" style="normal" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/p052003l.afm" glyphs="/usr/share/fonts/type1/gsfonts/p052003l.pfb"/>
|
||||
<type name="Palatino-Italic" fullname="Palatino Italic" family="Palatino" foundry="URW" weight="400" style="italic" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/p052023l.afm" glyphs="/usr/share/fonts/type1/gsfonts/p052023l.pfb"/>
|
||||
<type name="Palatino-Bold" fullname="Palatino Bold" family="Palatino" foundry="URW" weight="700" style="normal" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/p052004l.afm" glyphs="/usr/share/fonts/type1/gsfonts/p052004l.pfb"/>
|
||||
<type name="Palatino-BoldItalic" fullname="Palatino Bold Italic" family="Palatino" foundry="URW" weight="700" style="italic" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/p052024l.afm" glyphs="/usr/share/fonts/type1/gsfonts/p052024l.pfb"/>
|
||||
<type name="Times-Roman" fullname="Times Regular" family="Times" foundry="URW" weight="400" style="normal" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/n021003l.afm" glyphs="/usr/share/fonts/type1/gsfonts/n021003l.pfb"/>
|
||||
<type name="Times-Bold" fullname="Times Medium" family="Times" foundry="URW" weight="700" style="normal" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/n021004l.afm" glyphs="/usr/share/fonts/type1/gsfonts/n021004l.pfb"/>
|
||||
<type name="Times-Italic" fullname="Times Regular Italic" family="Times" foundry="URW" weight="400" style="italic" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/n021023l.afm" glyphs="/usr/share/fonts/type1/gsfonts/n021023l.pfb"/>
|
||||
<type name="Times-BoldItalic" fullname="Times Medium Italic" family="Times" foundry="URW" weight="700" style="italic" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/n021024l.afm" glyphs="/usr/share/fonts/type1/gsfonts/n021024l.pfb"/>
|
||||
<type name="Symbol" fullname="Symbol" family="Symbol" foundry="URW" weight="400" style="normal" stretch="normal" format="type1" metrics="/usr/share/fonts/type1/gsfonts/s050000l.afm" glyphs="/usr/share/fonts/type1/gsfonts/s050000l.pfb" version="0.1" encoding="AdobeCustom"/>
|
||||
</typemap>
|
|
@ -1,21 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE typemap [
|
||||
<!ELEMENT typemap (type)+>
|
||||
<!ELEMENT type (#PCDATA)>
|
||||
<!ELEMENT include (#PCDATA)>
|
||||
<!ATTLIST type name CDATA #REQUIRED>
|
||||
<!ATTLIST type fullname CDATA #IMPLIED>
|
||||
<!ATTLIST type family CDATA #IMPLIED>
|
||||
<!ATTLIST type foundry CDATA #IMPLIED>
|
||||
<!ATTLIST type weight CDATA #IMPLIED>
|
||||
<!ATTLIST type style CDATA #IMPLIED>
|
||||
<!ATTLIST type stretch CDATA #IMPLIED>
|
||||
<!ATTLIST type format CDATA #IMPLIED>
|
||||
<!ATTLIST type metrics CDATA #IMPLIED>
|
||||
<!ATTLIST type glyphs CDATA #REQUIRED>
|
||||
<!ATTLIST type version CDATA #IMPLIED>
|
||||
<!ATTLIST include file CDATA #REQUIRED>
|
||||
]>
|
||||
<typemap>
|
||||
<include file="type-ghostscript.xml" />
|
||||
</typemap>
|
|
@ -1,14 +0,0 @@
|
|||
// This may look like C code, but it is really -*- C++ -*-
|
||||
//
|
||||
// Copyright Bob Friesenhahn, 1999, 2000
|
||||
//
|
||||
// Simplified includes for Magick++.
|
||||
// Inclusion of this header is sufficient to use all Magick++ APIs.
|
||||
//
|
||||
#ifndef MagickPlusPlus_Header
|
||||
#include <Magick++/Include.h>
|
||||
#include <Magick++/Image.h>
|
||||
#include <Magick++/Pixels.h>
|
||||
#include <Magick++/STL.h>
|
||||
#define MagickPlusPlus_Header
|
||||
#endif // MagickPlusPlus_Header
|
|
@ -1,82 +0,0 @@
|
|||
// This may look like C code, but it is really -*- C++ -*-
|
||||
//
|
||||
// Copyright Bob Friesenhahn, 1999, 2000, 2001, 2002
|
||||
//
|
||||
// Reference counted container class for Binary Large Objects (BLOBs)
|
||||
//
|
||||
|
||||
#if !defined(Magick_BlobRef_header)
|
||||
#define Magick_BlobRef_header
|
||||
|
||||
#include "Magick++/Include.h"
|
||||
#include <string>
|
||||
|
||||
namespace Magick
|
||||
{
|
||||
// Forward decl
|
||||
class BlobRef;
|
||||
|
||||
class MagickPPExport Blob
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
enum Allocator
|
||||
{
|
||||
MallocAllocator,
|
||||
NewAllocator
|
||||
};
|
||||
|
||||
// Default constructor
|
||||
Blob ( void );
|
||||
|
||||
// Construct object with data, making a copy of the supplied data.
|
||||
Blob ( const void* data_, size_t length_ );
|
||||
|
||||
// Copy constructor (reference counted)
|
||||
Blob ( const Blob& blob_ );
|
||||
|
||||
// Destructor (reference counted)
|
||||
virtual ~Blob ();
|
||||
|
||||
// Assignment operator (reference counted)
|
||||
Blob& operator= ( const Blob& blob_ );
|
||||
|
||||
// Update object contents from Base64-encoded string representation.
|
||||
void base64 ( const std::string base64_ );
|
||||
// Return Base64-encoded string representation.
|
||||
std::string base64 ( void );
|
||||
|
||||
// Update object contents, making a copy of the supplied data.
|
||||
// Any existing data in the object is deallocated.
|
||||
void update ( const void* data_, size_t length_ );
|
||||
|
||||
// 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.
|
||||
// Specify allocator_ as "MallocAllocator" if memory is allocated
|
||||
// via the C language malloc() function, or "NewAllocator" if
|
||||
// memory is allocated via C++ 'new'.
|
||||
void updateNoCopy ( void* data_, size_t length_,
|
||||
Allocator allocator_ = NewAllocator );
|
||||
|
||||
// Obtain pointer to data. The user should never try to modify or
|
||||
// free this data since the Blob class manages its own data. The
|
||||
// user must be finished with the data before allowing the Blob to
|
||||
// be destroyed since the pointer is invalid once the Blob is
|
||||
// destroyed.
|
||||
const void* data ( void ) const;
|
||||
|
||||
// Obtain data length
|
||||
size_t length ( void ) const;
|
||||
|
||||
protected:
|
||||
|
||||
private:
|
||||
BlobRef * _blobRef;
|
||||
};
|
||||
|
||||
} // namespace Magick
|
||||
|
||||
#endif // Magick_BlobRef_header
|
|
@ -1,79 +0,0 @@
|
|||
// This may look like C code, but it is really -*- C++ -*-
|
||||
//
|
||||
// Copyright Bob Friesenhahn, 2001, 2002
|
||||
//
|
||||
// CoderInfo Definition
|
||||
//
|
||||
// Container for image format support information.
|
||||
//
|
||||
|
||||
#if !defined (Magick_CoderInfo_header)
|
||||
#define Magick_CoderInfo_header 1
|
||||
|
||||
#include "Magick++/Include.h"
|
||||
#include <string>
|
||||
|
||||
namespace Magick
|
||||
{
|
||||
class MagickPPExport CoderInfo
|
||||
{
|
||||
public:
|
||||
|
||||
enum MatchType {
|
||||
AnyMatch, // match any coder
|
||||
TrueMatch, // match coder if true
|
||||
FalseMatch // match coder if false
|
||||
};
|
||||
|
||||
// Default constructor
|
||||
CoderInfo ( void );
|
||||
|
||||
// Copy constructor
|
||||
CoderInfo ( const CoderInfo &coder_ );
|
||||
|
||||
// Construct with coder name
|
||||
CoderInfo ( const std::string &name_ );
|
||||
|
||||
// Destructor
|
||||
~CoderInfo ( void );
|
||||
|
||||
// Format name
|
||||
std::string name( void ) const;
|
||||
|
||||
// Format description
|
||||
std::string description( void ) const;
|
||||
|
||||
// Format is readable
|
||||
bool isReadable( void ) const;
|
||||
|
||||
// Format is writeable
|
||||
bool isWritable( void ) const;
|
||||
|
||||
// Format supports multiple frames
|
||||
bool isMultiFrame( void ) const;
|
||||
|
||||
// Assignment operator
|
||||
CoderInfo& operator= (const CoderInfo &coder_ );
|
||||
|
||||
//
|
||||
// Implemementation methods
|
||||
//
|
||||
CoderInfo ( const MagickCore::MagickInfo *magickInfo_ );
|
||||
|
||||
private:
|
||||
|
||||
std::string _name;
|
||||
std::string _description;
|
||||
bool _isReadable;
|
||||
bool _isWritable;
|
||||
bool _isMultiFrame;
|
||||
|
||||
};
|
||||
} // namespace Magick
|
||||
|
||||
//
|
||||
// Inlines
|
||||
//
|
||||
|
||||
|
||||
#endif // Magick_CoderInfo_header
|
|
@ -1,464 +0,0 @@
|
|||
// This may look like C code, but it is really -*- C++ -*-
|
||||
//
|
||||
// Copyright Bob Friesenhahn, 1999, 2000, 2001, 2002, 2003, 2008
|
||||
//
|
||||
// Color Implementation
|
||||
//
|
||||
#if !defined (Magick_Color_header)
|
||||
#define Magick_Color_header
|
||||
|
||||
#include "Magick++/Include.h"
|
||||
#include <string>
|
||||
|
||||
namespace Magick
|
||||
{
|
||||
|
||||
class MagickPPExport Color;
|
||||
|
||||
// Compare two Color objects regardless of LHS/RHS
|
||||
int MagickPPExport operator == ( const Magick::Color& left_, const Magick::Color& right_ );
|
||||
int MagickPPExport operator != ( const Magick::Color& left_, const Magick::Color& right_ );
|
||||
int MagickPPExport operator > ( const Magick::Color& left_, const Magick::Color& right_ );
|
||||
int MagickPPExport operator < ( const Magick::Color& left_, const Magick::Color& right_ );
|
||||
int MagickPPExport operator >= ( const Magick::Color& left_, const Magick::Color& right_ );
|
||||
int MagickPPExport operator <= ( const Magick::Color& left_, const Magick::Color& right_ );
|
||||
|
||||
// Base color class stores RGB components scaled to fit Quantum
|
||||
class MagickPPExport Color
|
||||
{
|
||||
public:
|
||||
Color ( Quantum red_,
|
||||
Quantum green_,
|
||||
Quantum blue_ );
|
||||
Color ( Quantum red_,
|
||||
Quantum green_,
|
||||
Quantum blue_,
|
||||
Quantum alpha_ );
|
||||
Color ( const std::string &x11color_ );
|
||||
Color ( const char * x11color_ );
|
||||
Color ( void );
|
||||
virtual ~Color ( void );
|
||||
Color ( const Color & color_ );
|
||||
|
||||
// Red color (range 0 to QuantumRange)
|
||||
void redQuantum ( Quantum red_ );
|
||||
Quantum redQuantum ( void ) const;
|
||||
|
||||
// Green color (range 0 to QuantumRange)
|
||||
void greenQuantum ( Quantum green_ );
|
||||
Quantum greenQuantum ( void ) const;
|
||||
|
||||
// Blue color (range 0 to QuantumRange)
|
||||
void blueQuantum ( Quantum blue_ );
|
||||
Quantum blueQuantum ( void ) const;
|
||||
|
||||
// Alpha level (range OpaqueOpacity=0 to TransparentOpacity=QuantumRange)
|
||||
void alphaQuantum ( Quantum alpha_ );
|
||||
Quantum alphaQuantum ( void ) const;
|
||||
|
||||
// Scaled (to 1.0) version of alpha for use in sub-classes
|
||||
// (range opaque=0 to transparent=1.0)
|
||||
void alpha ( double alpha_ );
|
||||
double alpha ( void ) const;
|
||||
|
||||
// Does object contain valid color?
|
||||
void isValid ( bool valid_ );
|
||||
bool isValid ( void ) const;
|
||||
|
||||
// Set color via X11 color specification string
|
||||
const Color& operator= ( const std::string &x11color_ );
|
||||
const Color& operator= ( const char * x11color_ );
|
||||
|
||||
// Assignment operator
|
||||
Color& operator= ( const Color& color_ );
|
||||
|
||||
// Return X11 color specification string
|
||||
/* virtual */ operator std::string() const;
|
||||
|
||||
// Return ImageMagick PixelPacket
|
||||
operator PixelPacket() const;
|
||||
|
||||
// Construct color via ImageMagick PixelPacket
|
||||
Color ( const PixelPacket &color_ );
|
||||
|
||||
// Set color via ImageMagick PixelPacket
|
||||
const Color& operator= ( const PixelPacket &color_ );
|
||||
|
||||
//
|
||||
// Public methods beyond this point are for Magick++ use only.
|
||||
//
|
||||
|
||||
// Obtain pixel intensity as a double
|
||||
double intensity ( void ) const
|
||||
{
|
||||
return (0.299*(_pixel->red)+0.587*(_pixel->green)+0.114*(_pixel->blue));
|
||||
}
|
||||
|
||||
// Scale a value expressed as a double (0-1) to Quantum range (0-QuantumRange)
|
||||
static Quantum scaleDoubleToQuantum( const double double_ )
|
||||
{
|
||||
return (static_cast<Magick::Quantum>(double_*QuantumRange));
|
||||
}
|
||||
|
||||
// Scale a value expressed as a Quantum (0-QuantumRange) to double range (0-1)
|
||||
#if (MAGICKCORE_QUANTUM_DEPTH < 64)
|
||||
static double scaleQuantumToDouble( const Quantum quantum_ )
|
||||
{
|
||||
return (static_cast<double>(quantum_)/QuantumRange);
|
||||
}
|
||||
#endif
|
||||
static double scaleQuantumToDouble( const double quantum_ )
|
||||
{
|
||||
return (quantum_/QuantumRange);
|
||||
}
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
// PixelType specifies the interpretation of PixelPacket members
|
||||
// RGBPixel:
|
||||
// Red = red;
|
||||
// Green = green;
|
||||
// Blue = blue;
|
||||
// RGBAPixel:
|
||||
// Red = red;
|
||||
// Green = green;
|
||||
// Blue = blue;
|
||||
// Alpha = opacity;
|
||||
// CYMKPixel:
|
||||
// Cyan = red
|
||||
// Yellow = green
|
||||
// Magenta = blue
|
||||
// Black(K) = opacity
|
||||
enum PixelType
|
||||
{
|
||||
RGBPixel,
|
||||
RGBAPixel,
|
||||
CYMKPixel
|
||||
};
|
||||
|
||||
// Constructor to construct with PixelPacket*
|
||||
// Used to point Color at a pixel in an image
|
||||
Color ( PixelPacket* rep_, PixelType pixelType_ );
|
||||
|
||||
// Set pixel
|
||||
// Used to point Color at a pixel in an image
|
||||
void pixel ( PixelPacket* rep_, PixelType pixelType_ );
|
||||
|
||||
// PixelPacket represents a color pixel:
|
||||
// red = red (range 0 to QuantumRange)
|
||||
// green = green (range 0 to QuantumRange)
|
||||
// blue = blue (range 0 to QuantumRange)
|
||||
// opacity = alpha (range OpaqueOpacity=0 to TransparentOpacity=QuantumRange)
|
||||
// index = PseudoColor colormap index
|
||||
PixelPacket* _pixel;
|
||||
|
||||
private:
|
||||
|
||||
// Common initializer for PixelPacket representation
|
||||
void initPixel();
|
||||
|
||||
// Set true if we allocated pixel
|
||||
bool _pixelOwn;
|
||||
|
||||
// Set true if pixel is "valid"
|
||||
bool _isValid;
|
||||
|
||||
// Color type supported by _pixel
|
||||
PixelType _pixelType;
|
||||
|
||||
};
|
||||
|
||||
//
|
||||
// HSL Colorspace colors
|
||||
//
|
||||
class MagickPPExport ColorHSL : public Color
|
||||
{
|
||||
public:
|
||||
ColorHSL ( double hue_, double saturation_, double luminosity_ );
|
||||
ColorHSL ( void );
|
||||
ColorHSL ( const Color & color_ );
|
||||
/* virtual */ ~ColorHSL ( );
|
||||
|
||||
void hue ( double hue_ );
|
||||
double hue ( void ) const;
|
||||
|
||||
void saturation ( double saturation_ );
|
||||
double saturation ( void ) const;
|
||||
|
||||
void luminosity ( double luminosity_ );
|
||||
double luminosity ( void ) const;
|
||||
|
||||
// Assignment operator from base class
|
||||
ColorHSL& operator= ( const Color& color_ );
|
||||
|
||||
protected:
|
||||
// Constructor to construct with PixelPacket*
|
||||
ColorHSL ( PixelPacket* rep_, PixelType pixelType_ );
|
||||
};
|
||||
|
||||
//
|
||||
// Grayscale RGB color
|
||||
//
|
||||
// Grayscale is simply RGB with equal parts of red, green, and blue
|
||||
// All double arguments have a valid range of 0.0 - 1.0.
|
||||
class MagickPPExport ColorGray : public Color
|
||||
{
|
||||
public:
|
||||
ColorGray ( double shade_ );
|
||||
ColorGray ( void );
|
||||
ColorGray ( const Color & color_ );
|
||||
/* virtual */ ~ColorGray ();
|
||||
|
||||
void shade ( double shade_ );
|
||||
double shade ( void ) const;
|
||||
|
||||
// Assignment operator from base class
|
||||
ColorGray& operator= ( const Color& color_ );
|
||||
|
||||
protected:
|
||||
// Constructor to construct with PixelPacket*
|
||||
ColorGray ( PixelPacket* rep_, PixelType pixelType_ );
|
||||
};
|
||||
|
||||
//
|
||||
// Monochrome color
|
||||
//
|
||||
// Color arguments are constrained to 'false' (black pixel) and 'true'
|
||||
// (white pixel)
|
||||
class MagickPPExport ColorMono : public Color
|
||||
{
|
||||
public:
|
||||
ColorMono ( bool mono_ );
|
||||
ColorMono ( void );
|
||||
ColorMono ( const Color & color_ );
|
||||
/* virtual */ ~ColorMono ();
|
||||
|
||||
void mono ( bool mono_ );
|
||||
bool mono ( void ) const;
|
||||
|
||||
// Assignment operator from base class
|
||||
ColorMono& operator= ( const Color& color_ );
|
||||
|
||||
protected:
|
||||
// Constructor to construct with PixelPacket*
|
||||
ColorMono ( PixelPacket* rep_, PixelType pixelType_ );
|
||||
};
|
||||
|
||||
//
|
||||
// RGB color
|
||||
//
|
||||
// All color arguments have a valid range of 0.0 - 1.0.
|
||||
class MagickPPExport ColorRGB : public Color
|
||||
{
|
||||
public:
|
||||
ColorRGB ( double red_, double green_, double blue_ );
|
||||
ColorRGB ( void );
|
||||
ColorRGB ( const Color & color_ );
|
||||
/* virtual */ ~ColorRGB ( void );
|
||||
|
||||
void red ( double red_ );
|
||||
double red ( void ) const;
|
||||
|
||||
void green ( double green_ );
|
||||
double green ( void ) const;
|
||||
|
||||
void blue ( double blue_ );
|
||||
double blue ( void ) const;
|
||||
|
||||
// Assignment operator from base class
|
||||
ColorRGB& operator= ( const Color& color_ );
|
||||
|
||||
protected:
|
||||
// Constructor to construct with PixelPacket*
|
||||
ColorRGB ( PixelPacket* rep_, PixelType pixelType_ );
|
||||
};
|
||||
|
||||
//
|
||||
// YUV Colorspace color
|
||||
//
|
||||
// Argument ranges:
|
||||
// Y: 0.0 through 1.0
|
||||
// U: -0.5 through 0.5
|
||||
// V: -0.5 through 0.5
|
||||
class MagickPPExport ColorYUV : public Color
|
||||
{
|
||||
public:
|
||||
ColorYUV ( double y_, double u_, double v_ );
|
||||
ColorYUV ( void );
|
||||
ColorYUV ( const Color & color_ );
|
||||
/* virtual */ ~ColorYUV ( void );
|
||||
|
||||
void u ( double u_ );
|
||||
double u ( void ) const;
|
||||
|
||||
void v ( double v_ );
|
||||
double v ( void ) const;
|
||||
|
||||
void y ( double y_ );
|
||||
double y ( void ) const;
|
||||
|
||||
// Assignment operator from base class
|
||||
ColorYUV& operator= ( const Color& color_ );
|
||||
|
||||
protected:
|
||||
// Constructor to construct with PixelPacket*
|
||||
ColorYUV ( PixelPacket* rep_, PixelType pixelType_ );
|
||||
};
|
||||
} // namespace Magick
|
||||
|
||||
//
|
||||
// Inlines
|
||||
//
|
||||
|
||||
//
|
||||
// Color
|
||||
//
|
||||
|
||||
// Common initializer for PixelPacket representation
|
||||
// Initialized transparent black
|
||||
inline void Magick::Color::initPixel()
|
||||
{
|
||||
_pixel->red = 0;
|
||||
_pixel->green = 0;
|
||||
_pixel->blue = 0;
|
||||
_pixel->opacity = TransparentOpacity;
|
||||
}
|
||||
|
||||
inline void Magick::Color::redQuantum ( Magick::Quantum red_ )
|
||||
{
|
||||
_pixel->red = red_;
|
||||
_isValid = true;
|
||||
}
|
||||
|
||||
inline Magick::Quantum Magick::Color::redQuantum ( void ) const
|
||||
{
|
||||
return _pixel->red;
|
||||
}
|
||||
|
||||
inline void Magick::Color::greenQuantum ( Magick::Quantum green_ )
|
||||
{
|
||||
_pixel->green = green_;
|
||||
_isValid = true;
|
||||
}
|
||||
|
||||
inline Magick::Quantum Magick::Color::greenQuantum ( void ) const
|
||||
{
|
||||
return _pixel->green;
|
||||
}
|
||||
|
||||
inline void Magick::Color::blueQuantum ( Magick::Quantum blue_ )
|
||||
{
|
||||
_pixel->blue = blue_;
|
||||
_isValid = true;
|
||||
}
|
||||
|
||||
inline Magick::Quantum Magick::Color::blueQuantum ( void ) const
|
||||
{
|
||||
return _pixel->blue;
|
||||
}
|
||||
|
||||
inline void Magick::Color::alphaQuantum ( Magick::Quantum alpha_ )
|
||||
{
|
||||
_pixel->opacity = alpha_;
|
||||
_isValid = true ;
|
||||
}
|
||||
|
||||
inline Magick::Quantum Magick::Color::alphaQuantum ( void ) const
|
||||
{
|
||||
return _pixel->opacity;
|
||||
}
|
||||
|
||||
// Return ImageMagick PixelPacket struct based on color.
|
||||
inline Magick::Color::operator MagickCore::PixelPacket () const
|
||||
{
|
||||
return *_pixel;
|
||||
}
|
||||
|
||||
// Scaled version of alpha for use in sub-classes
|
||||
inline void Magick::Color::alpha ( double alpha_ )
|
||||
{
|
||||
alphaQuantum( scaleDoubleToQuantum(alpha_) );
|
||||
}
|
||||
inline double Magick::Color::alpha ( void ) const
|
||||
{
|
||||
return scaleQuantumToDouble( alphaQuantum() );
|
||||
}
|
||||
|
||||
//
|
||||
// ColorHSL
|
||||
//
|
||||
inline Magick::ColorHSL::ColorHSL ( Magick::PixelPacket* rep_,
|
||||
Magick::Color::PixelType pixelType_ )
|
||||
: Color( rep_, pixelType_ )
|
||||
{
|
||||
}
|
||||
|
||||
//
|
||||
// ColorGray
|
||||
//
|
||||
inline Magick::ColorGray::ColorGray ( Magick::PixelPacket* rep_,
|
||||
Magick::Color::PixelType pixelType_ )
|
||||
: Color( rep_, pixelType_ )
|
||||
{
|
||||
}
|
||||
|
||||
//
|
||||
// ColorMono
|
||||
//
|
||||
inline Magick::ColorMono::ColorMono ( Magick::PixelPacket* rep_,
|
||||
Magick::Color::PixelType pixelType_ )
|
||||
: Color( rep_, pixelType_ )
|
||||
{
|
||||
}
|
||||
|
||||
//
|
||||
// ColorRGB
|
||||
//
|
||||
inline Magick::ColorRGB::ColorRGB ( Magick::PixelPacket* rep_,
|
||||
Magick::Color::PixelType pixelType_ )
|
||||
: Color( rep_, pixelType_ )
|
||||
{
|
||||
}
|
||||
|
||||
inline void Magick::ColorRGB::red ( double red_ )
|
||||
{
|
||||
redQuantum( scaleDoubleToQuantum(red_) );
|
||||
}
|
||||
|
||||
inline double Magick::ColorRGB::red ( void ) const
|
||||
{
|
||||
return scaleQuantumToDouble( redQuantum() );
|
||||
}
|
||||
|
||||
inline void Magick::ColorRGB::green ( double green_ )
|
||||
{
|
||||
greenQuantum( scaleDoubleToQuantum(green_) );
|
||||
}
|
||||
|
||||
inline double Magick::ColorRGB::green ( void ) const
|
||||
{
|
||||
return scaleQuantumToDouble( greenQuantum() );
|
||||
}
|
||||
|
||||
inline void Magick::ColorRGB::blue ( double blue_ )
|
||||
{
|
||||
blueQuantum( scaleDoubleToQuantum(blue_) );
|
||||
}
|
||||
|
||||
inline double Magick::ColorRGB::blue ( void ) const
|
||||
{
|
||||
return scaleQuantumToDouble( blueQuantum() );
|
||||
}
|
||||
|
||||
//
|
||||
// ColorYUV
|
||||
//
|
||||
|
||||
inline Magick::ColorYUV::ColorYUV ( Magick::PixelPacket* rep_,
|
||||
Magick::Color::PixelType pixelType_ )
|
||||
: Color( rep_, pixelType_ )
|
||||
{
|
||||
}
|
||||
|
||||
#endif // Magick_Color_header
|
File diff suppressed because it is too large
Load diff
|
@ -1,336 +0,0 @@
|
|||
// This may look like C code, but it is really -*- C++ -*-
|
||||
//
|
||||
// Copyright Bob Friesenhahn, 1999, 2000, 2001, 2002, 2003
|
||||
//
|
||||
// Definition of Magick::Exception and derived classes
|
||||
// Magick::Warning* and Magick::Error*. Derived from C++ STD
|
||||
// 'exception' class for convenience.
|
||||
//
|
||||
// These classes form part of the Magick++ user interface.
|
||||
//
|
||||
|
||||
#if !defined(Magick_Exception_header)
|
||||
#define Magick_Exception_header
|
||||
|
||||
#include "Magick++/Include.h"
|
||||
#include <string>
|
||||
#include <exception>
|
||||
|
||||
namespace Magick
|
||||
{
|
||||
class MagickPPExport Exception : public std::exception
|
||||
{
|
||||
public:
|
||||
Exception( const std::string& what_ );
|
||||
Exception( const Exception& original_ );
|
||||
Exception& operator= (const Exception& original_ );
|
||||
virtual const char* what () const throw();
|
||||
virtual ~Exception ( ) throw ();
|
||||
|
||||
private:
|
||||
std::string _what;
|
||||
};
|
||||
|
||||
//
|
||||
// Warnings
|
||||
//
|
||||
|
||||
class MagickPPExport Warning : public Exception
|
||||
{
|
||||
public:
|
||||
explicit Warning ( const std::string& what_ );
|
||||
~Warning() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport WarningUndefined : public Warning
|
||||
{
|
||||
public:
|
||||
explicit WarningUndefined ( const std::string& what_ );
|
||||
~WarningUndefined() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport WarningBlob: public Warning
|
||||
{
|
||||
public:
|
||||
explicit WarningBlob ( const std::string& what_ );
|
||||
~WarningBlob() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport WarningCache: public Warning
|
||||
{
|
||||
public:
|
||||
explicit WarningCache ( const std::string& what_ );
|
||||
~WarningCache() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport WarningCoder: public Warning
|
||||
{
|
||||
public:
|
||||
explicit WarningCoder ( const std::string& what_ );
|
||||
~WarningCoder() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport WarningConfigure: public Warning
|
||||
{
|
||||
public:
|
||||
explicit WarningConfigure ( const std::string& what_ );
|
||||
~WarningConfigure() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport WarningCorruptImage: public Warning
|
||||
{
|
||||
public:
|
||||
explicit WarningCorruptImage ( const std::string& what_ );
|
||||
~WarningCorruptImage() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport WarningDelegate : public Warning
|
||||
{
|
||||
public:
|
||||
explicit WarningDelegate ( const std::string& what_ );
|
||||
~WarningDelegate() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport WarningDraw : public Warning
|
||||
{
|
||||
public:
|
||||
explicit WarningDraw ( const std::string& what_ );
|
||||
~WarningDraw() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport WarningFileOpen: public Warning
|
||||
{
|
||||
public:
|
||||
explicit WarningFileOpen ( const std::string& what_ );
|
||||
~WarningFileOpen() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport WarningImage: public Warning
|
||||
{
|
||||
public:
|
||||
explicit WarningImage ( const std::string& what_ );
|
||||
~WarningImage() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport WarningMissingDelegate : public Warning
|
||||
{
|
||||
public:
|
||||
explicit WarningMissingDelegate ( const std::string& what_ );
|
||||
~WarningMissingDelegate() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport WarningModule : public Warning
|
||||
{
|
||||
public:
|
||||
explicit WarningModule ( const std::string& what_ );
|
||||
~WarningModule() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport WarningMonitor : public Warning
|
||||
{
|
||||
public:
|
||||
explicit WarningMonitor ( const std::string& what_ );
|
||||
~WarningMonitor() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport WarningOption : public Warning
|
||||
{
|
||||
public:
|
||||
explicit WarningOption ( const std::string& what_ );
|
||||
~WarningOption() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport WarningRegistry : public Warning
|
||||
{
|
||||
public:
|
||||
explicit WarningRegistry ( const std::string& what_ );
|
||||
~WarningRegistry() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport WarningResourceLimit : public Warning
|
||||
{
|
||||
public:
|
||||
explicit WarningResourceLimit ( const std::string& what_ );
|
||||
~WarningResourceLimit() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport WarningStream : public Warning
|
||||
{
|
||||
public:
|
||||
explicit WarningStream ( const std::string& what_ );
|
||||
~WarningStream() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport WarningType : public Warning
|
||||
{
|
||||
public:
|
||||
explicit WarningType ( const std::string& what_ );
|
||||
~WarningType() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport WarningXServer : public Warning
|
||||
{
|
||||
public:
|
||||
explicit WarningXServer ( const std::string& what_ );
|
||||
~WarningXServer() throw ();
|
||||
};
|
||||
|
||||
//
|
||||
// Error exceptions
|
||||
//
|
||||
|
||||
class MagickPPExport Error : public Exception
|
||||
{
|
||||
public:
|
||||
explicit Error ( const std::string& what_ );
|
||||
~Error() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport ErrorUndefined : public Error
|
||||
{
|
||||
public:
|
||||
explicit ErrorUndefined ( const std::string& what_ );
|
||||
~ErrorUndefined() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport ErrorBlob: public Error
|
||||
{
|
||||
public:
|
||||
explicit ErrorBlob ( const std::string& what_ );
|
||||
~ErrorBlob() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport ErrorCache: public Error
|
||||
{
|
||||
public:
|
||||
explicit ErrorCache ( const std::string& what_ );
|
||||
~ErrorCache() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport ErrorCoder: public Error
|
||||
{
|
||||
public:
|
||||
explicit ErrorCoder ( const std::string& what_ );
|
||||
~ErrorCoder() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport ErrorConfigure: public Error
|
||||
{
|
||||
public:
|
||||
explicit ErrorConfigure ( const std::string& what_ );
|
||||
~ErrorConfigure() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport ErrorCorruptImage: public Error
|
||||
{
|
||||
public:
|
||||
explicit ErrorCorruptImage ( const std::string& what_ );
|
||||
~ErrorCorruptImage() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport ErrorDelegate : public Error
|
||||
{
|
||||
public:
|
||||
explicit ErrorDelegate ( const std::string& what_ );
|
||||
~ErrorDelegate() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport ErrorDraw : public Error
|
||||
{
|
||||
public:
|
||||
explicit ErrorDraw ( const std::string& what_ );
|
||||
~ErrorDraw() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport ErrorFileOpen: public Error
|
||||
{
|
||||
public:
|
||||
explicit ErrorFileOpen ( const std::string& what_ );
|
||||
~ErrorFileOpen() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport ErrorImage: public Error
|
||||
{
|
||||
public:
|
||||
explicit ErrorImage ( const std::string& what_ );
|
||||
~ErrorImage() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport ErrorMissingDelegate : public Error
|
||||
{
|
||||
public:
|
||||
explicit ErrorMissingDelegate ( const std::string& what_ );
|
||||
~ErrorMissingDelegate() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport ErrorModule : public Error
|
||||
{
|
||||
public:
|
||||
explicit ErrorModule ( const std::string& what_ );
|
||||
~ErrorModule() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport ErrorMonitor : public Error
|
||||
{
|
||||
public:
|
||||
explicit ErrorMonitor ( const std::string& what_ );
|
||||
~ErrorMonitor() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport ErrorOption : public Error
|
||||
{
|
||||
public:
|
||||
explicit ErrorOption ( const std::string& what_ );
|
||||
~ErrorOption() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport ErrorRegistry : public Error
|
||||
{
|
||||
public:
|
||||
explicit ErrorRegistry ( const std::string& what_ );
|
||||
~ErrorRegistry() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport ErrorResourceLimit : public Error
|
||||
{
|
||||
public:
|
||||
explicit ErrorResourceLimit ( const std::string& what_ );
|
||||
~ErrorResourceLimit() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport ErrorStream : public Error
|
||||
{
|
||||
public:
|
||||
explicit ErrorStream ( const std::string& what_ );
|
||||
~ErrorStream() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport ErrorType : public Error
|
||||
{
|
||||
public:
|
||||
explicit ErrorType ( const std::string& what_ );
|
||||
~ErrorType() throw ();
|
||||
};
|
||||
|
||||
class MagickPPExport ErrorXServer : public Error
|
||||
{
|
||||
public:
|
||||
explicit ErrorXServer ( const std::string& what_ );
|
||||
~ErrorXServer() throw ();
|
||||
};
|
||||
|
||||
//
|
||||
// No user-serviceable components beyond this point.
|
||||
//
|
||||
|
||||
// Throw exception based on raw data
|
||||
extern MagickPPExport void throwExceptionExplicit( const MagickCore::ExceptionType severity_,
|
||||
const char* reason_,
|
||||
const char* description_ = 0 );
|
||||
|
||||
// Thow exception based on ImageMagick's ExceptionInfo
|
||||
extern MagickPPExport void throwException( MagickCore::ExceptionInfo &exception_ );
|
||||
|
||||
} // namespace Magick
|
||||
|
||||
#endif // Magick_Exception_header
|
|
@ -1,241 +0,0 @@
|
|||
// This may look like C code, but it is really -*- C++ -*-
|
||||
//
|
||||
// Copyright Bob Friesenhahn, 1999, 2000, 2001, 2002
|
||||
//
|
||||
// Geometry Definition
|
||||
//
|
||||
// Representation of an ImageMagick geometry specification
|
||||
// X11 geometry specification plus hints
|
||||
|
||||
#if !defined (Magick_Geometry_header)
|
||||
#define Magick_Geometry_header
|
||||
|
||||
#include "Magick++/Include.h"
|
||||
#include <string>
|
||||
|
||||
namespace Magick
|
||||
{
|
||||
|
||||
class MagickPPExport Geometry;
|
||||
|
||||
// Compare two Geometry objects regardless of LHS/RHS
|
||||
int MagickPPExport operator == ( const Magick::Geometry& left_, const Magick::Geometry& right_ );
|
||||
int MagickPPExport operator != ( const Magick::Geometry& left_, const Magick::Geometry& right_ );
|
||||
int MagickPPExport operator > ( const Magick::Geometry& left_, const Magick::Geometry& right_ );
|
||||
int MagickPPExport operator < ( const Magick::Geometry& left_, const Magick::Geometry& right_ );
|
||||
int MagickPPExport operator >= ( const Magick::Geometry& left_, const Magick::Geometry& right_ );
|
||||
int MagickPPExport operator <= ( const Magick::Geometry& left_, const Magick::Geometry& right_ );
|
||||
|
||||
class MagickPPExport Geometry
|
||||
{
|
||||
public:
|
||||
|
||||
Geometry ( size_t width_,
|
||||
size_t height_,
|
||||
::ssize_t xOff_ = 0,
|
||||
::ssize_t yOff_ = 0,
|
||||
bool xNegative_ = false,
|
||||
bool yNegative_ = false );
|
||||
Geometry ( const std::string &geometry_ );
|
||||
Geometry ( const char * geometry_ );
|
||||
Geometry ( const Geometry &geometry_ );
|
||||
Geometry ( );
|
||||
~Geometry ( void );
|
||||
|
||||
// Width
|
||||
void width ( size_t width_ );
|
||||
size_t width ( void ) const;
|
||||
|
||||
// Height
|
||||
void height ( size_t height_ );
|
||||
size_t height ( void ) const;
|
||||
|
||||
// X offset from origin
|
||||
void xOff ( ::ssize_t xOff_ );
|
||||
::ssize_t xOff ( void ) const;
|
||||
|
||||
// Y offset from origin
|
||||
void yOff ( ::ssize_t yOff_ );
|
||||
::ssize_t yOff ( void ) const;
|
||||
|
||||
// Sign of X offset negative? (X origin at right)
|
||||
void xNegative ( bool xNegative_ );
|
||||
bool xNegative ( void ) const;
|
||||
|
||||
// Sign of Y offset negative? (Y origin at bottom)
|
||||
void yNegative ( bool yNegative_ );
|
||||
bool yNegative ( void ) const;
|
||||
|
||||
// Width and height are expressed as percentages
|
||||
void percent ( bool percent_ );
|
||||
bool percent ( void ) const;
|
||||
|
||||
// Resize without preserving aspect ratio (!)
|
||||
void aspect ( bool aspect_ );
|
||||
bool aspect ( void ) const;
|
||||
|
||||
// Resize if image is greater than size (>)
|
||||
void greater ( bool greater_ );
|
||||
bool greater ( void ) const;
|
||||
|
||||
// Resize if image is less than size (<)
|
||||
void less ( bool less_ );
|
||||
bool less ( void ) const;
|
||||
|
||||
// Does object contain valid geometry?
|
||||
void isValid ( bool isValid_ );
|
||||
bool isValid ( void ) const;
|
||||
|
||||
// Set via geometry string
|
||||
const Geometry& operator = ( const std::string &geometry_ );
|
||||
const Geometry& operator = ( const char * geometry_ );
|
||||
|
||||
// Assignment operator
|
||||
Geometry& operator= ( const Geometry& Geometry_ );
|
||||
|
||||
// Return geometry string
|
||||
operator std::string() const;
|
||||
|
||||
//
|
||||
// Public methods below this point are for Magick++ use only.
|
||||
//
|
||||
|
||||
// Construct from RectangleInfo
|
||||
Geometry ( const MagickCore::RectangleInfo &rectangle_ );
|
||||
|
||||
// Return an ImageMagick RectangleInfo struct
|
||||
operator MagickCore::RectangleInfo() const;
|
||||
|
||||
private:
|
||||
size_t _width;
|
||||
size_t _height;
|
||||
::ssize_t _xOff;
|
||||
::ssize_t _yOff;
|
||||
bool _xNegative;
|
||||
bool _yNegative;
|
||||
bool _isValid;
|
||||
bool _percent; // Interpret width & height as percentages (%)
|
||||
bool _aspect; // Force exact size (!)
|
||||
bool _greater; // Re-size only if larger than geometry (>)
|
||||
bool _less; // Re-size only if smaller than geometry (<)
|
||||
};
|
||||
} // namespace Magick
|
||||
|
||||
//
|
||||
// Inlines
|
||||
//
|
||||
|
||||
// Does object contain valid geometry?
|
||||
inline void Magick::Geometry::isValid ( bool isValid_ )
|
||||
{
|
||||
_isValid = isValid_;
|
||||
}
|
||||
|
||||
inline bool Magick::Geometry::isValid ( void ) const
|
||||
{
|
||||
return _isValid;
|
||||
}
|
||||
|
||||
// Width
|
||||
inline void Magick::Geometry::width ( size_t width_ )
|
||||
{
|
||||
_width = width_;
|
||||
isValid( true );
|
||||
}
|
||||
inline size_t Magick::Geometry::width ( void ) const
|
||||
{
|
||||
return _width;
|
||||
}
|
||||
|
||||
// Height
|
||||
inline void Magick::Geometry::height ( size_t height_ )
|
||||
{
|
||||
_height = height_;
|
||||
}
|
||||
inline size_t Magick::Geometry::height ( void ) const
|
||||
{
|
||||
return _height;
|
||||
}
|
||||
|
||||
// X offset from origin
|
||||
inline void Magick::Geometry::xOff ( ::ssize_t xOff_ )
|
||||
{
|
||||
_xOff = xOff_;
|
||||
}
|
||||
inline ::ssize_t Magick::Geometry::xOff ( void ) const
|
||||
{
|
||||
return _xOff;
|
||||
}
|
||||
|
||||
// Y offset from origin
|
||||
inline void Magick::Geometry::yOff ( ::ssize_t yOff_ )
|
||||
{
|
||||
_yOff = yOff_;
|
||||
}
|
||||
inline ::ssize_t Magick::Geometry::yOff ( void ) const
|
||||
{
|
||||
return _yOff;
|
||||
}
|
||||
|
||||
// Sign of X offset negative? (X origin at right)
|
||||
inline void Magick::Geometry::xNegative ( bool xNegative_ )
|
||||
{
|
||||
_xNegative = xNegative_;
|
||||
}
|
||||
inline bool Magick::Geometry::xNegative ( void ) const
|
||||
{
|
||||
return _xNegative;
|
||||
}
|
||||
|
||||
// Sign of Y offset negative? (Y origin at bottom)
|
||||
inline void Magick::Geometry::yNegative ( bool yNegative_ )
|
||||
{
|
||||
_yNegative = yNegative_;
|
||||
}
|
||||
inline bool Magick::Geometry::yNegative ( void ) const
|
||||
{
|
||||
return _yNegative;
|
||||
}
|
||||
|
||||
// Interpret width & height as percentages (%)
|
||||
inline void Magick::Geometry::percent ( bool percent_ )
|
||||
{
|
||||
_percent = percent_;
|
||||
}
|
||||
inline bool Magick::Geometry::percent ( void ) const
|
||||
{
|
||||
return _percent;
|
||||
}
|
||||
|
||||
// Resize without preserving aspect ratio (!)
|
||||
inline void Magick::Geometry::aspect ( bool aspect_ )
|
||||
{
|
||||
_aspect = aspect_;
|
||||
}
|
||||
inline bool Magick::Geometry::aspect ( void ) const
|
||||
{
|
||||
return _aspect;
|
||||
}
|
||||
|
||||
// Resize if image is greater than size (>)
|
||||
inline void Magick::Geometry::greater ( bool greater_ )
|
||||
{
|
||||
_greater = greater_;
|
||||
}
|
||||
inline bool Magick::Geometry::greater ( void ) const
|
||||
{
|
||||
return _greater;
|
||||
}
|
||||
|
||||
// Resize if image is less than size (<)
|
||||
inline void Magick::Geometry::less ( bool less_ )
|
||||
{
|
||||
_less = less_;
|
||||
}
|
||||
inline bool Magick::Geometry::less ( void ) const
|
||||
{
|
||||
return _less;
|
||||
}
|
||||
|
||||
|
||||
#endif // Magick_Geometry_header
|
File diff suppressed because it is too large
Load diff
|
@ -1,965 +0,0 @@
|
|||
// This may look like C code, but it is really -*- C++ -*-
|
||||
//
|
||||
// Copyright Bob Friesenhahn, 1999, 2000, 2001, 2002
|
||||
//
|
||||
// Inclusion of ImageMagick headers (with namespace magic)
|
||||
|
||||
#ifndef Magick_Include_header
|
||||
#define Magick_Include_header
|
||||
|
||||
#if !defined(_MAGICK_CONFIG_H)
|
||||
# define _MAGICK_CONFIG_H
|
||||
# if !defined(vms) && !defined(macintosh)
|
||||
# include "magick/magick-config.h"
|
||||
# else
|
||||
# include "magick-config.h"
|
||||
# endif
|
||||
# undef inline // Remove possible definition from config.h
|
||||
# undef class
|
||||
#endif
|
||||
|
||||
// Needed for stdio FILE
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include <math.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#if defined(__BORLANDC__)
|
||||
# include <vcl.h> /* Borland C++ Builder 4.0 requirement */
|
||||
#endif // defined(__BORLANDC__)
|
||||
|
||||
//
|
||||
// Include ImageMagick headers into namespace "MagickCore". If
|
||||
// MAGICKCORE_IMPLEMENTATION is defined, include ImageMagick development
|
||||
// headers. This scheme minimizes the possibility of conflict with
|
||||
// user code.
|
||||
//
|
||||
namespace MagickCore
|
||||
{
|
||||
#include <magick/MagickCore.h>
|
||||
#include <wand/MagickWand.h>
|
||||
#undef inline // Remove possible definition from config.h
|
||||
|
||||
#undef class
|
||||
}
|
||||
|
||||
//
|
||||
// Provide appropriate DLL imports/exports for Visual C++,
|
||||
// Borland C++Builder and MinGW builds.
|
||||
//
|
||||
#if defined(WIN32) && !defined(__CYGWIN__) && !defined(__MINGW32__)
|
||||
# define MagickCplusPlusDLLSupported
|
||||
#endif
|
||||
#if defined(MagickCplusPlusDLLSupported)
|
||||
# if defined(_MT) && defined(_DLL) && !defined(_LIB) && !defined(STATIC_MAGICK)
|
||||
//
|
||||
// In a native Windows build, the following defines are used:
|
||||
//
|
||||
// _MT = Multithreaded
|
||||
// _DLL = Using code is part of a DLL
|
||||
// _LIB = Using code is being built as a library.
|
||||
// _MAGICKMOD_ = Build uses loadable modules (Magick++ does not care about this)
|
||||
//
|
||||
// In the case where ImageMagick is built as a static library but the
|
||||
// using code is dynamic, STATIC_MAGICK may be defined in the project to
|
||||
// override triggering dynamic library behavior.
|
||||
//
|
||||
# if defined(_VISUALC_)
|
||||
# define MagickDLLExplicitTemplate
|
||||
# pragma warning( disable: 4273 ) /* Disable the stupid dll linkage warnings */
|
||||
# pragma warning( disable: 4251 )
|
||||
# endif
|
||||
# if !defined(MAGICKCORE_IMPLEMENTATION)
|
||||
# if defined(__GNUC__)
|
||||
# define MagickPPExport __attribute__ ((dllimport))
|
||||
# else
|
||||
# define MagickPPExport __declspec(dllimport)
|
||||
# endif
|
||||
# define MagickPPPrivate extern __declspec(dllimport)
|
||||
# if defined(_VISUALC_)
|
||||
# pragma message( "Magick++ lib DLL import" )
|
||||
# endif
|
||||
# else
|
||||
# if defined(__BORLANDC__) || defined(__MINGW32__)
|
||||
# define MagickPPExport __declspec(dllexport)
|
||||
# define MagickPPPrivate __declspec(dllexport)
|
||||
# if defined(__BORLANDC__)
|
||||
# pragma message( "BCBMagick++ lib DLL export" )
|
||||
# endif
|
||||
# else
|
||||
# if defined(__GNUC__)
|
||||
# define MagickPPExport __attribute__ ((dllexport))
|
||||
# else
|
||||
# define MagickPPExport __declspec(dllexport)
|
||||
# endif
|
||||
# define MagickPPPrivate extern __declspec(dllexport)
|
||||
# endif
|
||||
# if defined(_VISUALC_)
|
||||
# pragma message( "Magick++ lib DLL export" )
|
||||
# endif
|
||||
# endif
|
||||
# else
|
||||
# define MagickPPExport
|
||||
# define MagickPPPrivate
|
||||
# if defined(_VISUALC_)
|
||||
# pragma message( "Magick++ lib static interface" )
|
||||
# endif
|
||||
# endif
|
||||
#else
|
||||
# if __GNUC__ >= 4
|
||||
# define MagickPPExport __attribute__ ((visibility ("default")))
|
||||
# define MagickPPPrivate __attribute__ ((visibility ("hidden")))
|
||||
# else
|
||||
# define MagickPPExport
|
||||
# define MagickPPPrivate
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(WIN32) && defined(_VISUALC_)
|
||||
# pragma warning(disable : 4996) /* function deprecation warnings */
|
||||
#endif
|
||||
|
||||
//
|
||||
// Import ImageMagick symbols and types which are used as part of the
|
||||
// Magick++ API definition into namespace "Magick".
|
||||
//
|
||||
namespace Magick
|
||||
{
|
||||
// The datatype for an RGB component
|
||||
using MagickCore::Quantum;
|
||||
using MagickCore::MagickRealType;
|
||||
using MagickCore::MagickSizeType;
|
||||
|
||||
// Boolean types
|
||||
using MagickCore::MagickBooleanType;
|
||||
using MagickCore::MagickFalse;
|
||||
using MagickCore::MagickTrue;
|
||||
|
||||
// Image class types
|
||||
using MagickCore::ClassType;
|
||||
using MagickCore::UndefinedClass;
|
||||
using MagickCore::DirectClass;
|
||||
using MagickCore::PseudoClass;
|
||||
|
||||
// Channel types
|
||||
using MagickCore::ChannelType;
|
||||
using MagickCore::UndefinedChannel;
|
||||
using MagickCore::RedChannel;
|
||||
using MagickCore::CyanChannel;
|
||||
using MagickCore::GreenChannel;
|
||||
using MagickCore::MagentaChannel;
|
||||
using MagickCore::BlueChannel;
|
||||
using MagickCore::YellowChannel;
|
||||
using MagickCore::OpacityChannel;
|
||||
using MagickCore::BlackChannel;
|
||||
using MagickCore::MatteChannel;
|
||||
using MagickCore::DefaultChannels;
|
||||
using MagickCore::AllChannels;
|
||||
|
||||
// Color-space types
|
||||
using MagickCore::CMYKColorspace;
|
||||
using MagickCore::ColorspaceType;
|
||||
using MagickCore::GRAYColorspace;
|
||||
using MagickCore::HSLColorspace;
|
||||
using MagickCore::HWBColorspace;
|
||||
using MagickCore::LogColorspace;
|
||||
using MagickCore::OHTAColorspace;
|
||||
using MagickCore::Rec601LumaColorspace;
|
||||
using MagickCore::Rec709LumaColorspace;
|
||||
using MagickCore::RGBColorspace;
|
||||
using MagickCore::sRGBColorspace;
|
||||
using MagickCore::TransparentColorspace;
|
||||
using MagickCore::UndefinedColorspace;
|
||||
using MagickCore::XYZColorspace;
|
||||
using MagickCore::YCbCrColorspace;
|
||||
using MagickCore::YCCColorspace;
|
||||
using MagickCore::YIQColorspace;
|
||||
using MagickCore::YPbPrColorspace;
|
||||
using MagickCore::YUVColorspace;
|
||||
|
||||
// Composition operations
|
||||
using MagickCore::AddCompositeOp;
|
||||
using MagickCore::AtopCompositeOp;
|
||||
using MagickCore::BlendCompositeOp;
|
||||
using MagickCore::BumpmapCompositeOp;
|
||||
using MagickCore::ClearCompositeOp;
|
||||
using MagickCore::ColorizeCompositeOp;
|
||||
using MagickCore::CompositeOperator;
|
||||
using MagickCore::CopyBlueCompositeOp;
|
||||
using MagickCore::CopyCompositeOp;
|
||||
using MagickCore::CopyCyanCompositeOp;
|
||||
using MagickCore::CopyGreenCompositeOp;
|
||||
using MagickCore::CopyMagentaCompositeOp;
|
||||
using MagickCore::CopyOpacityCompositeOp;
|
||||
using MagickCore::CopyRedCompositeOp;
|
||||
using MagickCore::CopyYellowCompositeOp;
|
||||
using MagickCore::DarkenCompositeOp;
|
||||
using MagickCore::DifferenceCompositeOp;
|
||||
using MagickCore::DisplaceCompositeOp;
|
||||
using MagickCore::DissolveCompositeOp;
|
||||
using MagickCore::DstOverCompositeOp;
|
||||
using MagickCore::ExclusionCompositeOp;
|
||||
using MagickCore::HardLightCompositeOp;
|
||||
using MagickCore::HueCompositeOp;
|
||||
using MagickCore::InCompositeOp;
|
||||
using MagickCore::LightenCompositeOp;
|
||||
using MagickCore::LuminizeCompositeOp;
|
||||
using MagickCore::MinusCompositeOp;
|
||||
using MagickCore::ModulateCompositeOp;
|
||||
using MagickCore::MultiplyCompositeOp;
|
||||
using MagickCore::NoCompositeOp;
|
||||
using MagickCore::OutCompositeOp;
|
||||
using MagickCore::OverCompositeOp;
|
||||
using MagickCore::OverlayCompositeOp;
|
||||
using MagickCore::PlusCompositeOp;
|
||||
using MagickCore::SaturateCompositeOp;
|
||||
using MagickCore::ScreenCompositeOp;
|
||||
using MagickCore::SoftLightCompositeOp;
|
||||
using MagickCore::SubtractCompositeOp;
|
||||
using MagickCore::ThresholdCompositeOp;
|
||||
using MagickCore::UndefinedCompositeOp;
|
||||
using MagickCore::XorCompositeOp;
|
||||
using MagickCore::CopyBlackCompositeOp;
|
||||
|
||||
// Compression algorithms
|
||||
using MagickCore::CompressionType;
|
||||
using MagickCore::UndefinedCompression;
|
||||
using MagickCore::NoCompression;
|
||||
using MagickCore::BZipCompression;
|
||||
using MagickCore::FaxCompression;
|
||||
using MagickCore::Group4Compression;
|
||||
using MagickCore::JPEGCompression;
|
||||
using MagickCore::LZMACompression;
|
||||
using MagickCore::LZWCompression;
|
||||
using MagickCore::RLECompression;
|
||||
using MagickCore::ZipCompression;
|
||||
|
||||
// Dispose methods
|
||||
using MagickCore::DisposeType;
|
||||
using MagickCore::UndefinedDispose;
|
||||
using MagickCore::NoneDispose;
|
||||
using MagickCore::BackgroundDispose;
|
||||
using MagickCore::PreviousDispose;
|
||||
|
||||
// Distort methods
|
||||
using MagickCore::DistortImageMethod;
|
||||
using MagickCore::UndefinedDistortion;
|
||||
using MagickCore::AffineDistortion;
|
||||
using MagickCore::AffineProjectionDistortion;
|
||||
using MagickCore::ScaleRotateTranslateDistortion;
|
||||
using MagickCore::PerspectiveDistortion;
|
||||
using MagickCore::PerspectiveProjectionDistortion;
|
||||
using MagickCore::BilinearDistortion;
|
||||
using MagickCore::PolynomialDistortion;
|
||||
using MagickCore::ArcDistortion;
|
||||
using MagickCore::PolarDistortion;
|
||||
using MagickCore::DePolarDistortion;
|
||||
using MagickCore::BarrelDistortion;
|
||||
using MagickCore::BarrelInverseDistortion;
|
||||
using MagickCore::ShepardsDistortion;
|
||||
using MagickCore::SentinelDistortion;
|
||||
|
||||
// Endian options
|
||||
using MagickCore::EndianType;
|
||||
using MagickCore::UndefinedEndian;
|
||||
using MagickCore::LSBEndian;
|
||||
using MagickCore::MSBEndian;
|
||||
|
||||
// Evaluate options
|
||||
using MagickCore::UndefinedEvaluateOperator;
|
||||
using MagickCore::AddEvaluateOperator;
|
||||
using MagickCore::AndEvaluateOperator;
|
||||
using MagickCore::DivideEvaluateOperator;
|
||||
using MagickCore::LeftShiftEvaluateOperator;
|
||||
using MagickCore::MaxEvaluateOperator;
|
||||
using MagickCore::MinEvaluateOperator;
|
||||
using MagickCore::MultiplyEvaluateOperator;
|
||||
using MagickCore::OrEvaluateOperator;
|
||||
using MagickCore::RightShiftEvaluateOperator;
|
||||
using MagickCore::SetEvaluateOperator;
|
||||
using MagickCore::SubtractEvaluateOperator;
|
||||
using MagickCore::XorEvaluateOperator;
|
||||
using MagickCore::MagickEvaluateOperator;
|
||||
|
||||
// Fill rules
|
||||
using MagickCore::FillRule;
|
||||
using MagickCore::UndefinedRule;
|
||||
using MagickCore::EvenOddRule;
|
||||
using MagickCore::NonZeroRule;
|
||||
|
||||
// Filter types
|
||||
using MagickCore::FilterTypes;
|
||||
using MagickCore::UndefinedFilter;
|
||||
using MagickCore::PointFilter;
|
||||
using MagickCore::BoxFilter;
|
||||
using MagickCore::TriangleFilter;
|
||||
using MagickCore::HermiteFilter;
|
||||
using MagickCore::HanningFilter;
|
||||
using MagickCore::HammingFilter;
|
||||
using MagickCore::BlackmanFilter;
|
||||
using MagickCore::GaussianFilter;
|
||||
using MagickCore::QuadraticFilter;
|
||||
using MagickCore::CubicFilter;
|
||||
using MagickCore::CatromFilter;
|
||||
using MagickCore::MitchellFilter;
|
||||
using MagickCore::JincFilter;
|
||||
using MagickCore::SincFilter;
|
||||
using MagickCore::SincFastFilter;
|
||||
using MagickCore::KaiserFilter;
|
||||
using MagickCore::WelshFilter;
|
||||
using MagickCore::ParzenFilter;
|
||||
using MagickCore::BohmanFilter;
|
||||
using MagickCore::BartlettFilter;
|
||||
using MagickCore::LagrangeFilter;
|
||||
using MagickCore::LanczosFilter;
|
||||
using MagickCore::LanczosSharpFilter;
|
||||
using MagickCore::Lanczos2Filter;
|
||||
using MagickCore::Lanczos2SharpFilter;
|
||||
using MagickCore::RobidouxFilter;
|
||||
using MagickCore::SentinelFilter;
|
||||
|
||||
// Bit gravity
|
||||
using MagickCore::GravityType;
|
||||
using MagickCore::ForgetGravity;
|
||||
using MagickCore::NorthWestGravity;
|
||||
using MagickCore::NorthGravity;
|
||||
using MagickCore::NorthEastGravity;
|
||||
using MagickCore::WestGravity;
|
||||
using MagickCore::CenterGravity;
|
||||
using MagickCore::EastGravity;
|
||||
using MagickCore::SouthWestGravity;
|
||||
using MagickCore::SouthGravity;
|
||||
using MagickCore::SouthEastGravity;
|
||||
using MagickCore::StaticGravity;
|
||||
|
||||
// Image types
|
||||
using MagickCore::ImageType;
|
||||
using MagickCore::UndefinedType;
|
||||
using MagickCore::BilevelType;
|
||||
using MagickCore::GrayscaleType;
|
||||
using MagickCore::GrayscaleMatteType;
|
||||
using MagickCore::PaletteType;
|
||||
using MagickCore::PaletteMatteType;
|
||||
using MagickCore::TrueColorType;
|
||||
using MagickCore::TrueColorMatteType;
|
||||
using MagickCore::ColorSeparationType;
|
||||
using MagickCore::ColorSeparationMatteType;
|
||||
using MagickCore::OptimizeType;
|
||||
|
||||
// Interlace types
|
||||
using MagickCore::InterlaceType;
|
||||
using MagickCore::UndefinedInterlace;
|
||||
using MagickCore::NoInterlace;
|
||||
using MagickCore::LineInterlace;
|
||||
using MagickCore::PlaneInterlace;
|
||||
using MagickCore::PartitionInterlace;
|
||||
|
||||
// Layer method
|
||||
using MagickCore::ImageLayerMethod;
|
||||
using MagickCore::UndefinedLayer;
|
||||
using MagickCore::CoalesceLayer;
|
||||
using MagickCore::CompareAnyLayer;
|
||||
using MagickCore::CompareClearLayer;
|
||||
using MagickCore::CompareOverlayLayer;
|
||||
using MagickCore::DisposeLayer;
|
||||
using MagickCore::OptimizeLayer;
|
||||
using MagickCore::OptimizeImageLayer;
|
||||
using MagickCore::OptimizePlusLayer;
|
||||
using MagickCore::OptimizeTransLayer;
|
||||
using MagickCore::RemoveDupsLayer;
|
||||
using MagickCore::RemoveZeroLayer;
|
||||
using MagickCore::CompositeLayer;
|
||||
using MagickCore::MergeLayer;
|
||||
using MagickCore::FlattenLayer;
|
||||
using MagickCore::MosaicLayer;
|
||||
using MagickCore::TrimBoundsLayer;
|
||||
|
||||
// Line cap types
|
||||
using MagickCore::LineCap;
|
||||
using MagickCore::UndefinedCap;
|
||||
using MagickCore::ButtCap;
|
||||
using MagickCore::RoundCap;
|
||||
using MagickCore::SquareCap;
|
||||
|
||||
// Line join types
|
||||
using MagickCore::LineJoin;
|
||||
using MagickCore::UndefinedJoin;
|
||||
using MagickCore::MiterJoin;
|
||||
using MagickCore::RoundJoin;
|
||||
using MagickCore::BevelJoin;
|
||||
|
||||
// Noise types
|
||||
using MagickCore::NoiseType;
|
||||
using MagickCore::UniformNoise;
|
||||
using MagickCore::GaussianNoise;
|
||||
using MagickCore::MultiplicativeGaussianNoise;
|
||||
using MagickCore::ImpulseNoise;
|
||||
using MagickCore::LaplacianNoise;
|
||||
using MagickCore::PoissonNoise;
|
||||
|
||||
// Orientation types
|
||||
using MagickCore::OrientationType;
|
||||
using MagickCore::UndefinedOrientation;
|
||||
using MagickCore::TopLeftOrientation;
|
||||
using MagickCore::TopRightOrientation;
|
||||
using MagickCore::BottomRightOrientation;
|
||||
using MagickCore::BottomLeftOrientation;
|
||||
using MagickCore::LeftTopOrientation;
|
||||
using MagickCore::RightTopOrientation;
|
||||
using MagickCore::RightBottomOrientation;
|
||||
using MagickCore::LeftBottomOrientation;
|
||||
|
||||
// Paint methods
|
||||
using MagickCore::PaintMethod;
|
||||
using MagickCore::PointMethod;
|
||||
using MagickCore::ReplaceMethod;
|
||||
using MagickCore::FloodfillMethod;
|
||||
using MagickCore::FillToBorderMethod;
|
||||
using MagickCore::ResetMethod;
|
||||
|
||||
// Preview types. Not currently used by Magick++
|
||||
using MagickCore::PreviewType;
|
||||
using MagickCore::UndefinedPreview;
|
||||
using MagickCore::RotatePreview;
|
||||
using MagickCore::ShearPreview;
|
||||
using MagickCore::RollPreview;
|
||||
using MagickCore::HuePreview;
|
||||
using MagickCore::SaturationPreview;
|
||||
using MagickCore::BrightnessPreview;
|
||||
using MagickCore::GammaPreview;
|
||||
using MagickCore::SpiffPreview;
|
||||
using MagickCore::DullPreview;
|
||||
using MagickCore::GrayscalePreview;
|
||||
using MagickCore::QuantizePreview;
|
||||
using MagickCore::DespecklePreview;
|
||||
using MagickCore::ReduceNoisePreview;
|
||||
using MagickCore::AddNoisePreview;
|
||||
using MagickCore::SharpenPreview;
|
||||
using MagickCore::BlurPreview;
|
||||
using MagickCore::ThresholdPreview;
|
||||
using MagickCore::EdgeDetectPreview;
|
||||
using MagickCore::SpreadPreview;
|
||||
using MagickCore::SolarizePreview;
|
||||
using MagickCore::ShadePreview;
|
||||
using MagickCore::RaisePreview;
|
||||
using MagickCore::SegmentPreview;
|
||||
using MagickCore::SwirlPreview;
|
||||
using MagickCore::ImplodePreview;
|
||||
using MagickCore::WavePreview;
|
||||
using MagickCore::OilPaintPreview;
|
||||
using MagickCore::CharcoalDrawingPreview;
|
||||
using MagickCore::JPEGPreview;
|
||||
|
||||
// Quantum types
|
||||
using MagickCore::QuantumType;
|
||||
using MagickCore::IndexQuantum;
|
||||
using MagickCore::GrayQuantum;
|
||||
using MagickCore::IndexAlphaQuantum;
|
||||
using MagickCore::GrayAlphaQuantum;
|
||||
using MagickCore::RedQuantum;
|
||||
using MagickCore::CyanQuantum;
|
||||
using MagickCore::GreenQuantum;
|
||||
using MagickCore::YellowQuantum;
|
||||
using MagickCore::BlueQuantum;
|
||||
using MagickCore::MagentaQuantum;
|
||||
using MagickCore::AlphaQuantum;
|
||||
using MagickCore::BlackQuantum;
|
||||
using MagickCore::RGBQuantum;
|
||||
using MagickCore::RGBAQuantum;
|
||||
using MagickCore::CMYKQuantum;
|
||||
|
||||
// Rendering intents
|
||||
using MagickCore::RenderingIntent;
|
||||
using MagickCore::UndefinedIntent;
|
||||
using MagickCore::SaturationIntent;
|
||||
using MagickCore::PerceptualIntent;
|
||||
using MagickCore::AbsoluteIntent;
|
||||
using MagickCore::RelativeIntent;
|
||||
|
||||
// Resource types
|
||||
using MagickCore::MemoryResource;
|
||||
|
||||
// Resolution units
|
||||
using MagickCore::ResolutionType;
|
||||
using MagickCore::UndefinedResolution;
|
||||
using MagickCore::PixelsPerInchResolution;
|
||||
using MagickCore::PixelsPerCentimeterResolution;
|
||||
|
||||
// PixelPacket structure
|
||||
using MagickCore::PixelPacket;
|
||||
|
||||
// IndexPacket type
|
||||
using MagickCore::IndexPacket;
|
||||
|
||||
// Sparse Color methods
|
||||
using MagickCore::SparseColorMethod;
|
||||
using MagickCore::UndefinedColorInterpolate;
|
||||
using MagickCore::BarycentricColorInterpolate;
|
||||
using MagickCore::BilinearColorInterpolate;
|
||||
using MagickCore::PolynomialColorInterpolate;
|
||||
using MagickCore::ShepardsColorInterpolate;
|
||||
using MagickCore::VoronoiColorInterpolate;
|
||||
|
||||
// Statistic type
|
||||
using MagickCore::MedianStatistic;
|
||||
using MagickCore::NonpeakStatistic;
|
||||
|
||||
// StorageType type
|
||||
using MagickCore::StorageType;
|
||||
using MagickCore::CharPixel;
|
||||
using MagickCore::ShortPixel;
|
||||
using MagickCore::IntegerPixel;
|
||||
using MagickCore::FloatPixel;
|
||||
using MagickCore::DoublePixel;
|
||||
|
||||
// StretchType type
|
||||
using MagickCore::StretchType;
|
||||
using MagickCore::NormalStretch;
|
||||
using MagickCore::UltraCondensedStretch;
|
||||
using MagickCore::ExtraCondensedStretch;
|
||||
using MagickCore::CondensedStretch;
|
||||
using MagickCore::SemiCondensedStretch;
|
||||
using MagickCore::SemiExpandedStretch;
|
||||
using MagickCore::ExpandedStretch;
|
||||
using MagickCore::ExtraExpandedStretch;
|
||||
using MagickCore::UltraExpandedStretch;
|
||||
using MagickCore::AnyStretch;
|
||||
|
||||
// StyleType type
|
||||
using MagickCore::StyleType;
|
||||
using MagickCore::NormalStyle;
|
||||
using MagickCore::ItalicStyle;
|
||||
using MagickCore::ObliqueStyle;
|
||||
using MagickCore::AnyStyle;
|
||||
|
||||
// Decoration types
|
||||
using MagickCore::DecorationType;
|
||||
using MagickCore::NoDecoration;
|
||||
using MagickCore::UnderlineDecoration;
|
||||
using MagickCore::OverlineDecoration;
|
||||
using MagickCore::LineThroughDecoration;
|
||||
|
||||
// Virtual pixel methods
|
||||
using MagickCore::VirtualPixelMethod;
|
||||
using MagickCore::UndefinedVirtualPixelMethod;
|
||||
using MagickCore::BackgroundVirtualPixelMethod;
|
||||
using MagickCore::DitherVirtualPixelMethod;
|
||||
using MagickCore::EdgeVirtualPixelMethod;
|
||||
using MagickCore::MirrorVirtualPixelMethod;
|
||||
using MagickCore::RandomVirtualPixelMethod;
|
||||
using MagickCore::TileVirtualPixelMethod;
|
||||
using MagickCore::TransparentVirtualPixelMethod;
|
||||
using MagickCore::MaskVirtualPixelMethod;
|
||||
using MagickCore::BlackVirtualPixelMethod;
|
||||
using MagickCore::GrayVirtualPixelMethod;
|
||||
using MagickCore::WhiteVirtualPixelMethod;
|
||||
using MagickCore::HorizontalTileVirtualPixelMethod;
|
||||
using MagickCore::VerticalTileVirtualPixelMethod;
|
||||
using MagickCore::HorizontalTileEdgeVirtualPixelMethod;
|
||||
using MagickCore::VerticalTileEdgeVirtualPixelMethod;
|
||||
using MagickCore::CheckerTileVirtualPixelMethod;
|
||||
|
||||
#if defined(MAGICKCORE_IMPLEMENTATION)
|
||||
//
|
||||
// ImageMagick symbols used in implementation code
|
||||
//
|
||||
using MagickCore::AcquireCacheView;
|
||||
using MagickCore::AcquireExceptionInfo;
|
||||
using MagickCore::GetCacheViewVirtualPixels;
|
||||
using MagickCore::AcquireImage;
|
||||
using MagickCore::GetVirtualPixels;
|
||||
using MagickCore::AcquireKernelInfo;
|
||||
using MagickCore::AcquireMagickMemory;
|
||||
using MagickCore::AcquireQuantumInfo;
|
||||
using MagickCore::AcquireString;
|
||||
using MagickCore::AcquireStringInfo;
|
||||
using MagickCore::AdaptiveBlurImage;
|
||||
using MagickCore::AdaptiveThresholdImage;
|
||||
using MagickCore::AddNoiseImage;
|
||||
using MagickCore::AddNoiseImageChannel;
|
||||
using MagickCore::AffineMatrix;
|
||||
using MagickCore::AffineTransformImage;
|
||||
using MagickCore::AnnotateImage;
|
||||
using MagickCore::AspectValue;
|
||||
using MagickCore::Base64Decode;
|
||||
using MagickCore::Base64Encode;
|
||||
using MagickCore::BilevelImage;
|
||||
using MagickCore::BlobError;
|
||||
using MagickCore::BlobFatalError;
|
||||
using MagickCore::BlobToImage;
|
||||
using MagickCore::BlobWarning;
|
||||
using MagickCore::BlurImage;
|
||||
using MagickCore::BlurImageChannel;
|
||||
using MagickCore::BorderImage;
|
||||
using MagickCore::CacheError;
|
||||
using MagickCore::CacheFatalError;
|
||||
using MagickCore::CacheWarning;
|
||||
using MagickCore::CharcoalImage;
|
||||
using MagickCore::ChopImage;
|
||||
using MagickCore::ClearMagickException;
|
||||
using MagickCore::CloneDrawInfo;
|
||||
using MagickCore::CloneImage;
|
||||
using MagickCore::CloneImageInfo;
|
||||
using MagickCore::CloneQuantizeInfo;
|
||||
using MagickCore::CoderError;
|
||||
using MagickCore::CoderFatalError;
|
||||
using MagickCore::CoderWarning;
|
||||
using MagickCore::ColorDecisionListImage;
|
||||
using MagickCore::ColorizeImage;
|
||||
using MagickCore::ColorMatrixImage;
|
||||
using MagickCore::ColorPacket;
|
||||
using MagickCore::CompositeImage;
|
||||
using MagickCore::ConfigureError;
|
||||
using MagickCore::ConfigureFatalError;
|
||||
using MagickCore::ConfigureWarning;
|
||||
using MagickCore::ConstituteImage;
|
||||
using MagickCore::ContrastImage;
|
||||
using MagickCore::ConvertHSLToRGB;
|
||||
using MagickCore::ConvertRGBToHSL;
|
||||
using MagickCore::ConvolveImage;
|
||||
using MagickCore::CopyMagickString;
|
||||
using MagickCore::CorruptImageError;
|
||||
using MagickCore::CorruptImageFatalError;
|
||||
using MagickCore::CorruptImageWarning;
|
||||
using MagickCore::CropImage;
|
||||
using MagickCore::CycleColormapImage;
|
||||
using MagickCore::DeconstructImages;
|
||||
using MagickCore::DelegateError;
|
||||
using MagickCore::DelegateFatalError;
|
||||
using MagickCore::DelegateWarning;
|
||||
using MagickCore::DeleteImageOption;
|
||||
using MagickCore::DeleteImageRegistry;
|
||||
using MagickCore::DespeckleImage;
|
||||
using MagickCore::DestroyCacheView;
|
||||
using MagickCore::DestroyDrawInfo;
|
||||
using MagickCore::DestroyDrawingWand;
|
||||
using MagickCore::DestroyExceptionInfo;
|
||||
using MagickCore::DestroyImageInfo;
|
||||
using MagickCore::DestroyImageList;
|
||||
using MagickCore::DestroyKernelInfo;
|
||||
using MagickCore::DestroyMagickWand;
|
||||
using MagickCore::DestroyPixelWand;
|
||||
using MagickCore::DestroyQuantizeInfo;
|
||||
using MagickCore::DestroyQuantumInfo;
|
||||
using MagickCore::DestroyStringInfo;
|
||||
using MagickCore::DisplayImages;
|
||||
using MagickCore::DistortImage;
|
||||
using MagickCore::DrawAffine;
|
||||
using MagickCore::DrawAllocateWand;
|
||||
using MagickCore::DrawAnnotation;
|
||||
using MagickCore::DrawArc;
|
||||
using MagickCore::DrawBezier;
|
||||
using MagickCore::DrawCircle;
|
||||
using MagickCore::DrawColor;
|
||||
using MagickCore::DrawComment;
|
||||
using MagickCore::DrawComposite;
|
||||
using MagickCore::DrawEllipse;
|
||||
using MagickCore::DrawError;
|
||||
using MagickCore::DrawFatalError;
|
||||
using MagickCore::DrawImage;
|
||||
using MagickCore::DrawInfo;
|
||||
using MagickCore::DrawingWand;
|
||||
using MagickCore::DrawLine;
|
||||
using MagickCore::DrawMatte;
|
||||
using MagickCore::DrawPathClose;
|
||||
using MagickCore::DrawPathCurveToAbsolute;
|
||||
using MagickCore::DrawPathCurveToQuadraticBezierAbsolute;
|
||||
using MagickCore::DrawPathCurveToQuadraticBezierRelative;
|
||||
using MagickCore::DrawPathCurveToQuadraticBezierSmoothAbsolute;
|
||||
using MagickCore::DrawPathCurveToQuadraticBezierSmoothRelative;
|
||||
using MagickCore::DrawPathCurveToRelative;
|
||||
using MagickCore::DrawPathCurveToSmoothAbsolute;
|
||||
using MagickCore::DrawPathCurveToSmoothRelative;
|
||||
using MagickCore::DrawPathEllipticArcAbsolute;
|
||||
using MagickCore::DrawPathEllipticArcRelative;
|
||||
using MagickCore::DrawPathFinish;
|
||||
using MagickCore::DrawPathLineToAbsolute;
|
||||
using MagickCore::DrawPathLineToHorizontalAbsolute;
|
||||
using MagickCore::DrawPathLineToHorizontalRelative;
|
||||
using MagickCore::DrawPathLineToRelative;
|
||||
using MagickCore::DrawPathLineToVerticalAbsolute;
|
||||
using MagickCore::DrawPathLineToVerticalRelative;
|
||||
using MagickCore::DrawPathMoveToAbsolute;
|
||||
using MagickCore::DrawPathMoveToRelative;
|
||||
using MagickCore::DrawPathStart;
|
||||
using MagickCore::DrawPoint;
|
||||
using MagickCore::DrawPolygon;
|
||||
using MagickCore::DrawPolyline;
|
||||
using MagickCore::DrawPopClipPath;
|
||||
using MagickCore::DrawPopDefs;
|
||||
using MagickCore::DrawPopPattern;
|
||||
using MagickCore::DrawPushClipPath;
|
||||
using MagickCore::DrawPushDefs;
|
||||
using MagickCore::DrawPushPattern;
|
||||
using MagickCore::DrawRectangle;
|
||||
using MagickCore::DrawRender;
|
||||
using MagickCore::DrawRotate;
|
||||
using MagickCore::DrawRoundRectangle;
|
||||
using MagickCore::DrawScale;
|
||||
using MagickCore::DrawSetClipPath;
|
||||
using MagickCore::DrawSetClipRule;
|
||||
using MagickCore::DrawSetClipUnits;
|
||||
using MagickCore::DrawSetFillColor;
|
||||
using MagickCore::DrawSetFillOpacity;
|
||||
using MagickCore::DrawSetFillPatternURL;
|
||||
using MagickCore::DrawSetFillRule;
|
||||
using MagickCore::DrawSetFont;
|
||||
using MagickCore::DrawSetFontFamily;
|
||||
using MagickCore::DrawSetFontSize;
|
||||
using MagickCore::DrawSetFontStretch;
|
||||
using MagickCore::DrawSetFontStyle;
|
||||
using MagickCore::DrawSetFontWeight;
|
||||
using MagickCore::DrawSetGravity;
|
||||
using MagickCore::DrawSetStrokeAntialias;
|
||||
using MagickCore::DrawSetStrokeColor;
|
||||
using MagickCore::DrawSetStrokeDashArray;
|
||||
using MagickCore::DrawSetStrokeDashOffset;
|
||||
using MagickCore::DrawSetStrokeLineCap;
|
||||
using MagickCore::DrawSetStrokeLineJoin;
|
||||
using MagickCore::DrawSetStrokeMiterLimit;
|
||||
using MagickCore::DrawSetStrokeOpacity;
|
||||
using MagickCore::DrawSetStrokePatternURL;
|
||||
using MagickCore::DrawSetStrokeWidth;
|
||||
using MagickCore::DrawSetTextAntialias;
|
||||
using MagickCore::DrawSetTextDecoration;
|
||||
using MagickCore::DrawSetTextEncoding;
|
||||
using MagickCore::DrawSetTextUnderColor;
|
||||
using MagickCore::DrawSetViewbox;
|
||||
using MagickCore::DrawSkewX;
|
||||
using MagickCore::DrawSkewY;
|
||||
using MagickCore::DrawTranslate;
|
||||
using MagickCore::DrawWarning;
|
||||
using MagickCore::EdgeImage;
|
||||
using MagickCore::EmbossImage;
|
||||
using MagickCore::EnhanceImage;
|
||||
using MagickCore::EqualizeImage;
|
||||
using MagickCore::EvaluateImage;
|
||||
using MagickCore::EvaluateImageChannel;
|
||||
using MagickCore::ExceptionInfo;
|
||||
using MagickCore::ExceptionType;
|
||||
using MagickCore::ExportImagePixels;
|
||||
using MagickCore::ExportQuantumPixels;
|
||||
using MagickCore::ExtentImage;
|
||||
using MagickCore::FileOpenError;
|
||||
using MagickCore::FileOpenFatalError;
|
||||
using MagickCore::FileOpenWarning;
|
||||
using MagickCore::FlipImage;
|
||||
using MagickCore::FloodfillPaintImage;
|
||||
using MagickCore::FlopImage;
|
||||
using MagickCore::FormatLocaleString;
|
||||
using MagickCore::ForwardFourierTransformImage;
|
||||
using MagickCore::FrameImage;
|
||||
using MagickCore::FrameInfo;
|
||||
using MagickCore::FxImageChannel;
|
||||
using MagickCore::GammaImage;
|
||||
using MagickCore::GammaImage;
|
||||
using MagickCore::GaussianBlurImage;
|
||||
using MagickCore::GaussianBlurImageChannel;
|
||||
using MagickCore::GetAffineMatrix;
|
||||
using MagickCore::GetAuthenticIndexQueue;
|
||||
using MagickCore::GetBlobSize;
|
||||
using MagickCore::GetCacheViewException;
|
||||
using MagickCore::GetCacheViewAuthenticIndexQueue;
|
||||
using MagickCore::GetCacheViewAuthenticPixels;
|
||||
using MagickCore::GetColorTuple;
|
||||
using MagickCore::GetDrawInfo;
|
||||
using MagickCore::GetExceptionInfo;
|
||||
using MagickCore::GetGeometry;
|
||||
using MagickCore::GetImageBoundingBox;
|
||||
using MagickCore::GetImageChannelDepth;
|
||||
using MagickCore::GetImageChannelMean;
|
||||
using MagickCore::GetImageChannelKurtosis;
|
||||
using MagickCore::GetImageChannelRange;
|
||||
using MagickCore::GetImageClipMask;
|
||||
using MagickCore::GetImageDepth;
|
||||
using MagickCore::GetImageInfo;
|
||||
using MagickCore::GetImageInfoFile;
|
||||
using MagickCore::GetImageOption;
|
||||
using MagickCore::GetAuthenticPixels;
|
||||
using MagickCore::GetImageProfile;
|
||||
using MagickCore::GetImageProperty;
|
||||
using MagickCore::GetImageQuantizeError;
|
||||
using MagickCore::GetImageType;
|
||||
using MagickCore::GetMagickInfo;
|
||||
using MagickCore::GetMagickPixelPacket;
|
||||
using MagickCore::GetNumberColors;
|
||||
using MagickCore::GetPageGeometry;
|
||||
using MagickCore::GetQuantizeInfo;
|
||||
using MagickCore::GetStringInfoDatum;
|
||||
using MagickCore::GetStringInfoLength;
|
||||
using MagickCore::GetTypeMetrics;
|
||||
using MagickCore::GetVirtualIndexQueue;
|
||||
using MagickCore::GetImageVirtualPixelMethod;
|
||||
using MagickCore::GlobExpression;
|
||||
using MagickCore::GravityAdjustGeometry;
|
||||
using MagickCore::GreaterValue;
|
||||
using MagickCore::HaldClutImage;
|
||||
using MagickCore::HeightValue;
|
||||
using MagickCore::ImageError;
|
||||
using MagickCore::ImageFatalError;
|
||||
using MagickCore::ImageInfo;
|
||||
using MagickCore::ImageRegistryType;
|
||||
using MagickCore::ImageToBlob;
|
||||
using MagickCore::ImagesToBlob;
|
||||
using MagickCore::ImageWarning;
|
||||
using MagickCore::ImplodeImage;
|
||||
using MagickCore::ImportQuantumPixels;
|
||||
using MagickCore::InverseFourierTransformImage;
|
||||
using MagickCore::InvokeDynamicImageFilter;
|
||||
using MagickCore::IsEventLogging;
|
||||
using MagickCore::IsGeometry;
|
||||
using MagickCore::IsImagesEqual;
|
||||
using MagickCore::KernelInfo;
|
||||
using MagickCore::LessValue;
|
||||
using MagickCore::LevelImage;
|
||||
using MagickCore::LevelImageChannel;
|
||||
using MagickCore::LocaleCompare;
|
||||
using MagickCore::LogMagickEvent;
|
||||
using MagickCore::MagickCoreTerminus;
|
||||
using MagickCore::MagickInfo;
|
||||
using MagickCore::MagickPixelPacket;
|
||||
using MagickCore::MagickToMime;
|
||||
using MagickCore::MagickWand;
|
||||
using MagickCore::MagnifyImage;
|
||||
using MagickCore::MergeImageLayers;
|
||||
using MagickCore::MinifyImage;
|
||||
using MagickCore::MissingDelegateError;
|
||||
using MagickCore::MissingDelegateFatalError;
|
||||
using MagickCore::MissingDelegateWarning;
|
||||
using MagickCore::ModulateImage;
|
||||
using MagickCore::ModuleError;
|
||||
using MagickCore::ModuleFatalError;
|
||||
using MagickCore::ModuleWarning;
|
||||
using MagickCore::MonitorError;
|
||||
using MagickCore::MonitorFatalError;
|
||||
using MagickCore::MonitorWarning;
|
||||
using MagickCore::MontageInfo;
|
||||
using MagickCore::MotionBlurImage;
|
||||
using MagickCore::NegateImage;
|
||||
using MagickCore::NewMagickWandFromImage;
|
||||
using MagickCore::NewPixelWand;
|
||||
using MagickCore::NoiseType;
|
||||
using MagickCore::NormalizeImage;
|
||||
using MagickCore::NoValue;
|
||||
using MagickCore::OilPaintImage;
|
||||
using MagickCore::OpaquePaintImage;
|
||||
using MagickCore::OptionError;
|
||||
using MagickCore::OptionFatalError;
|
||||
using MagickCore::OptionWarning;
|
||||
using MagickCore::ParseMetaGeometry;
|
||||
using MagickCore::PercentValue;
|
||||
using MagickCore::PingBlob;
|
||||
using MagickCore::PingImage;
|
||||
using MagickCore::PixelSetQuantumColor;
|
||||
using MagickCore::PixelWand;
|
||||
using MagickCore::PointInfo;
|
||||
using MagickCore::PopDrawingWand;
|
||||
using MagickCore::ProfileImage;
|
||||
using MagickCore::ProfileInfo;
|
||||
using MagickCore::PushDrawingWand;
|
||||
using MagickCore::QuantizeImage;
|
||||
using MagickCore::QuantizeInfo;
|
||||
using MagickCore::QuantumInfo;
|
||||
using MagickCore::QueryColorDatabase;
|
||||
using MagickCore::QueryMagickColor;
|
||||
using MagickCore::QueueAuthenticPixels;
|
||||
using MagickCore::QueueCacheViewAuthenticPixels;
|
||||
using MagickCore::RaiseImage;
|
||||
using MagickCore::RandomThresholdImageChannel;
|
||||
using MagickCore::ReadImage;
|
||||
using MagickCore::RectangleInfo;
|
||||
using MagickCore::RegisterMagickInfo;
|
||||
using MagickCore::RegistryError;
|
||||
using MagickCore::RegistryFatalError;
|
||||
using MagickCore::RegistryType;
|
||||
using MagickCore::RegistryWarning;
|
||||
using MagickCore::RelinquishMagickMemory;
|
||||
using MagickCore::RemapImage;
|
||||
using MagickCore::ResizeImage;
|
||||
using MagickCore::ResizeMagickMemory;
|
||||
using MagickCore::ResourceLimitError;
|
||||
using MagickCore::ResourceLimitFatalError;
|
||||
using MagickCore::ResourceLimitWarning;
|
||||
using MagickCore::RollImage;
|
||||
using MagickCore::RotateImage;
|
||||
using MagickCore::SampleImage;
|
||||
using MagickCore::ScaleImage;
|
||||
using MagickCore::SegmentImage;
|
||||
using MagickCore::SeparateImageChannel;
|
||||
using MagickCore::SetClientName;
|
||||
using MagickCore::SetGeometry;
|
||||
using MagickCore::SetImageBackgroundColor;
|
||||
using MagickCore::SetImageChannelDepth;
|
||||
using MagickCore::SetImageClipMask;
|
||||
using MagickCore::SetImageDepth;
|
||||
using MagickCore::SetImageExtent;
|
||||
using MagickCore::SetImageInfo;
|
||||
using MagickCore::SetImageInfoFile;
|
||||
using MagickCore::SetImageOpacity;
|
||||
using MagickCore::SetImageOption;
|
||||
using MagickCore::SetImageProfile;
|
||||
using MagickCore::SetImageProperty;
|
||||
using MagickCore::SetImageRegistry;
|
||||
using MagickCore::SetImageType;
|
||||
using MagickCore::SetLogEventMask;
|
||||
using MagickCore::SetMagickInfo;
|
||||
using MagickCore::SetMagickResourceLimit;
|
||||
using MagickCore::SetStringInfoDatum;
|
||||
using MagickCore::SetImageVirtualPixelMethod;
|
||||
using MagickCore::ShadeImage;
|
||||
using MagickCore::SharpenImage;
|
||||
using MagickCore::SharpenImageChannel;
|
||||
using MagickCore::ShaveImage;
|
||||
using MagickCore::ShearImage;
|
||||
using MagickCore::SigmoidalContrastImageChannel;
|
||||
using MagickCore::SignatureImage;
|
||||
using MagickCore::SolarizeImage;
|
||||
using MagickCore::SparseColorImage;
|
||||
using MagickCore::SpliceImage;
|
||||
using MagickCore::SpreadImage;
|
||||
using MagickCore::StatisticImage;
|
||||
using MagickCore::SteganoImage;
|
||||
using MagickCore::StereoImage;
|
||||
using MagickCore::StreamError;
|
||||
using MagickCore::StreamFatalError;
|
||||
using MagickCore::StreamWarning;
|
||||
using MagickCore::StringInfo;
|
||||
using MagickCore::StripImage;
|
||||
using MagickCore::SwirlImage;
|
||||
using MagickCore::SyncCacheViewAuthenticPixels;
|
||||
using MagickCore::SyncImage;
|
||||
using MagickCore::SyncAuthenticPixels;
|
||||
using MagickCore::TextureImage;
|
||||
using MagickCore::ThrowException;
|
||||
using MagickCore::TransformImage;
|
||||
using MagickCore::TransformImageColorspace;
|
||||
using MagickCore::TransparentPaintImage;
|
||||
using MagickCore::TransparentPaintImageChroma;
|
||||
using MagickCore::TrimImage;
|
||||
using MagickCore::TypeError;
|
||||
using MagickCore::TypeFatalError;
|
||||
using MagickCore::TypeWarning;
|
||||
using MagickCore::UndefinedException;
|
||||
using MagickCore::UndefinedRegistryType;
|
||||
using MagickCore::UnregisterMagickInfo;
|
||||
using MagickCore::UnsharpMaskImage;
|
||||
using MagickCore::UnsharpMaskImageChannel;
|
||||
using MagickCore::CacheView;
|
||||
using MagickCore::WaveImage;
|
||||
using MagickCore::WidthValue;
|
||||
using MagickCore::WriteImage;
|
||||
using MagickCore::XNegative;
|
||||
using MagickCore::XServerError;
|
||||
using MagickCore::XServerFatalError;
|
||||
using MagickCore::XServerWarning;
|
||||
using MagickCore::XValue;
|
||||
using MagickCore::YNegative;
|
||||
using MagickCore::YValue;
|
||||
|
||||
#endif // MAGICKCORE_IMPLEMENTATION
|
||||
|
||||
}
|
||||
|
||||
#endif // Magick_Include_header
|
|
@ -1,339 +0,0 @@
|
|||
// This may look like C code, but it is really -*- C++ -*-
|
||||
//
|
||||
// Copyright Bob Friesenhahn, 1999, 2000, 2001, 2002, 2003
|
||||
//
|
||||
// Definition of Montage class used to specify montage options.
|
||||
//
|
||||
|
||||
#if !defined(Magick_Montage_header)
|
||||
#define Magick_Montage_header
|
||||
|
||||
#include "Magick++/Include.h"
|
||||
#include <string>
|
||||
#include "Magick++/Color.h"
|
||||
#include "Magick++/Geometry.h"
|
||||
|
||||
//
|
||||
// Basic (Un-framed) Montage
|
||||
//
|
||||
namespace Magick
|
||||
{
|
||||
class MagickPPExport Montage
|
||||
{
|
||||
public:
|
||||
Montage( void );
|
||||
virtual ~Montage( void );
|
||||
|
||||
void backgroundColor ( const Color &backgroundColor_ );
|
||||
Color backgroundColor ( void ) const;
|
||||
|
||||
void compose ( CompositeOperator compose_ );
|
||||
CompositeOperator compose ( void ) const;
|
||||
|
||||
void fileName( const std::string &fileName_ );
|
||||
std::string fileName( void ) const;
|
||||
|
||||
void fillColor ( const Color &fill_ );
|
||||
Color fillColor ( void ) const;
|
||||
|
||||
void font ( const std::string &font_ );
|
||||
std::string font ( void ) const;
|
||||
|
||||
void geometry ( const Geometry &geometry_ );
|
||||
Geometry geometry ( void ) const;
|
||||
|
||||
void gravity ( GravityType gravity_ );
|
||||
GravityType gravity ( void ) const;
|
||||
|
||||
// Apply as attribute to all images before montage
|
||||
void label( const std::string &label_ );
|
||||
std::string label( void ) const;
|
||||
|
||||
// Same as fill color
|
||||
void penColor ( const Color &pen_ );
|
||||
Color penColor ( void ) const;
|
||||
|
||||
void pointSize ( size_t pointSize_ );
|
||||
size_t pointSize ( void ) const;
|
||||
|
||||
void shadow ( bool shadow_ );
|
||||
bool shadow ( void ) const;
|
||||
|
||||
void strokeColor ( const Color &stroke_ );
|
||||
Color strokeColor ( void ) const;
|
||||
|
||||
void texture ( const std::string &texture_ );
|
||||
std::string texture ( void ) const;
|
||||
|
||||
void tile ( const Geometry &tile_ );
|
||||
Geometry tile ( void ) const;
|
||||
|
||||
void title ( const std::string &title_ );
|
||||
std::string title ( void ) const;
|
||||
|
||||
// Apply to montage with TransparentPaintImage()
|
||||
void transparentColor ( const Color &transparentColor_ );
|
||||
Color transparentColor ( void ) const;
|
||||
|
||||
//
|
||||
// Implementation methods/members
|
||||
//
|
||||
|
||||
// Update elements in existing MontageInfo structure
|
||||
virtual void updateMontageInfo ( MagickCore::MontageInfo &montageInfo_ ) const;
|
||||
|
||||
protected:
|
||||
|
||||
private:
|
||||
Color _backgroundColor; // Color that thumbnails are composed on
|
||||
CompositeOperator _compose; // Composition algorithm to use (e.g. ReplaceCompositeOp)
|
||||
std::string _fileName; // Filename to save montages to
|
||||
Color _fill; // Fill color
|
||||
std::string _font; // Label font
|
||||
Geometry _geometry; // Thumbnail width & height plus border width & height
|
||||
GravityType _gravity; // Thumbnail position (e.g. SouthWestGravity)
|
||||
std::string _label; // Thumbnail label (applied to image prior to montage)
|
||||
size_t _pointSize; // Font point size
|
||||
bool _shadow; // Enable drop-shadows on thumbnails
|
||||
Color _stroke; // Outline color
|
||||
std::string _texture; // Background texture image
|
||||
Geometry _tile; // Thumbnail rows and colmns
|
||||
std::string _title; // Montage title
|
||||
Color _transparentColor; // Transparent color
|
||||
};
|
||||
|
||||
//
|
||||
// Montage With Frames (Extends Basic Montage)
|
||||
//
|
||||
class MagickPPExport MontageFramed : public Montage
|
||||
{
|
||||
public:
|
||||
MontageFramed ( void );
|
||||
/* virtual */ ~MontageFramed ( void );
|
||||
|
||||
void borderColor ( const Color &borderColor_ );
|
||||
Color borderColor ( void ) const;
|
||||
|
||||
void borderWidth ( size_t borderWidth_ );
|
||||
size_t borderWidth ( void ) const;
|
||||
|
||||
void frameGeometry ( const Geometry &frame_ );
|
||||
Geometry frameGeometry ( void ) const;
|
||||
|
||||
void matteColor ( const Color &matteColor_ );
|
||||
Color matteColor ( void ) const;
|
||||
|
||||
//
|
||||
// Implementation methods/members
|
||||
//
|
||||
|
||||
// Update elements in existing MontageInfo structure
|
||||
/* virtual */ void updateMontageInfo ( MagickCore::MontageInfo &montageInfo_ ) const;
|
||||
|
||||
protected:
|
||||
|
||||
private:
|
||||
|
||||
Color _borderColor; // Frame border color
|
||||
size_t _borderWidth; // Pixels between thumbnail and surrounding frame
|
||||
Geometry _frame; // Frame geometry (width & height frame thickness)
|
||||
Color _matteColor; // Frame foreground color
|
||||
};
|
||||
} // namespace Magick
|
||||
|
||||
//
|
||||
// Inlines
|
||||
//
|
||||
|
||||
//
|
||||
// Implementation of Montage
|
||||
//
|
||||
|
||||
inline void Magick::Montage::backgroundColor ( const Magick::Color &backgroundColor_ )
|
||||
{
|
||||
_backgroundColor = backgroundColor_;
|
||||
}
|
||||
inline Magick::Color Magick::Montage::backgroundColor ( void ) const
|
||||
{
|
||||
return _backgroundColor;
|
||||
}
|
||||
|
||||
inline void Magick::Montage::compose ( Magick::CompositeOperator compose_ )
|
||||
{
|
||||
_compose = compose_;
|
||||
}
|
||||
inline Magick::CompositeOperator Magick::Montage::compose ( void ) const
|
||||
{
|
||||
return _compose;
|
||||
}
|
||||
|
||||
inline void Magick::Montage::fileName( const std::string &fileName_ )
|
||||
{
|
||||
_fileName = fileName_;
|
||||
}
|
||||
inline std::string Magick::Montage::fileName( void ) const
|
||||
{
|
||||
return _fileName;
|
||||
}
|
||||
|
||||
inline void Magick::Montage::fillColor ( const Color &fill_ )
|
||||
{
|
||||
_fill=fill_;
|
||||
}
|
||||
inline Magick::Color Magick::Montage::fillColor ( void ) const
|
||||
{
|
||||
return _fill;
|
||||
}
|
||||
|
||||
inline void Magick::Montage::font ( const std::string &font_ )
|
||||
{
|
||||
_font = font_;
|
||||
}
|
||||
inline std::string Magick::Montage::font ( void ) const
|
||||
{
|
||||
return _font;
|
||||
}
|
||||
|
||||
inline void Magick::Montage::geometry ( const Magick::Geometry &geometry_ )
|
||||
{
|
||||
_geometry = geometry_;
|
||||
}
|
||||
inline Magick::Geometry Magick::Montage::geometry ( void ) const
|
||||
{
|
||||
return _geometry;
|
||||
}
|
||||
|
||||
inline void Magick::Montage::gravity ( Magick::GravityType gravity_ )
|
||||
{
|
||||
_gravity = gravity_;
|
||||
}
|
||||
inline Magick::GravityType Magick::Montage::gravity ( void ) const
|
||||
{
|
||||
return _gravity;
|
||||
}
|
||||
|
||||
// Apply as attribute to all images before doing montage
|
||||
inline void Magick::Montage::label( const std::string &label_ )
|
||||
{
|
||||
_label = label_;
|
||||
}
|
||||
inline std::string Magick::Montage::label( void ) const
|
||||
{
|
||||
return _label;
|
||||
}
|
||||
|
||||
inline void Magick::Montage::penColor ( const Color &pen_ )
|
||||
{
|
||||
_fill=pen_;
|
||||
_stroke=Color("none");
|
||||
}
|
||||
inline Magick::Color Magick::Montage::penColor ( void ) const
|
||||
{
|
||||
return _fill;
|
||||
}
|
||||
|
||||
inline void Magick::Montage::pointSize ( size_t pointSize_ )
|
||||
{
|
||||
_pointSize = pointSize_;
|
||||
}
|
||||
inline size_t Magick::Montage::pointSize ( void ) const
|
||||
{
|
||||
return _pointSize;
|
||||
}
|
||||
|
||||
inline void Magick::Montage::shadow ( bool shadow_ )
|
||||
{
|
||||
_shadow = shadow_;
|
||||
}
|
||||
inline bool Magick::Montage::shadow ( void ) const
|
||||
{
|
||||
return _shadow;
|
||||
}
|
||||
|
||||
inline void Magick::Montage::strokeColor ( const Color &stroke_ )
|
||||
{
|
||||
_stroke=stroke_;
|
||||
}
|
||||
inline Magick::Color Magick::Montage::strokeColor ( void ) const
|
||||
{
|
||||
return _stroke;
|
||||
}
|
||||
|
||||
inline void Magick::Montage::texture ( const std::string &texture_ )
|
||||
{
|
||||
_texture = texture_;
|
||||
}
|
||||
inline std::string Magick::Montage::texture ( void ) const
|
||||
{
|
||||
return _texture;
|
||||
}
|
||||
|
||||
inline void Magick::Montage::tile ( const Geometry &tile_ )
|
||||
{
|
||||
_tile = tile_;
|
||||
}
|
||||
inline Magick::Geometry Magick::Montage::tile ( void ) const
|
||||
{
|
||||
return _tile;
|
||||
}
|
||||
|
||||
inline void Magick::Montage::title ( const std::string &title_ )
|
||||
{
|
||||
_title = title_;
|
||||
}
|
||||
inline std::string Magick::Montage::title ( void ) const
|
||||
{
|
||||
return _title;
|
||||
}
|
||||
|
||||
// Applied after the fact to montage with TransparentPaintImage()
|
||||
inline void Magick::Montage::transparentColor ( const Magick::Color &transparentColor_ )
|
||||
{
|
||||
_transparentColor = transparentColor_;
|
||||
}
|
||||
inline Magick::Color Magick::Montage::transparentColor ( void ) const
|
||||
{
|
||||
return _transparentColor;
|
||||
}
|
||||
|
||||
//
|
||||
// Implementation of MontageFramed
|
||||
//
|
||||
|
||||
inline void Magick::MontageFramed::borderColor ( const Magick::Color &borderColor_ )
|
||||
{
|
||||
_borderColor = borderColor_;
|
||||
}
|
||||
inline Magick::Color Magick::MontageFramed::borderColor ( void ) const
|
||||
{
|
||||
return _borderColor;
|
||||
}
|
||||
|
||||
inline void Magick::MontageFramed::borderWidth ( size_t borderWidth_ )
|
||||
{
|
||||
_borderWidth = borderWidth_;
|
||||
}
|
||||
inline size_t Magick::MontageFramed::borderWidth ( void ) const
|
||||
{
|
||||
return _borderWidth;
|
||||
}
|
||||
|
||||
inline void Magick::MontageFramed::frameGeometry ( const Magick::Geometry &frame_ )
|
||||
{
|
||||
_frame = frame_;
|
||||
}
|
||||
inline Magick::Geometry Magick::MontageFramed::frameGeometry ( void ) const
|
||||
{
|
||||
return _frame;
|
||||
}
|
||||
|
||||
inline void Magick::MontageFramed::matteColor ( const Magick::Color &matteColor_ )
|
||||
{
|
||||
_matteColor = matteColor_;
|
||||
}
|
||||
inline Magick::Color Magick::MontageFramed::matteColor ( void ) const
|
||||
{
|
||||
return _matteColor;
|
||||
}
|
||||
|
||||
#endif // Magick_Montage_header
|
|
@ -1,127 +0,0 @@
|
|||
// This may look like C code, but it is really -*- C++ -*-
|
||||
//
|
||||
// Copyright Bob Friesenhahn, 1999, 2000, 2001, 2002
|
||||
//
|
||||
// Representation of a pixel view.
|
||||
//
|
||||
|
||||
#if !defined(Magick_Pixels_header)
|
||||
#define Magick_Pixels_header
|
||||
|
||||
#include "Magick++/Include.h"
|
||||
#include "Magick++/Color.h"
|
||||
#include "Magick++/Image.h"
|
||||
|
||||
namespace Magick
|
||||
{
|
||||
class MagickPPExport Pixels
|
||||
{
|
||||
public:
|
||||
|
||||
// Construct pixel view using specified image.
|
||||
Pixels( Magick::Image &image_ );
|
||||
|
||||
// Destroy pixel view
|
||||
~Pixels( void );
|
||||
|
||||
// Transfer pixels from the image to the pixel view as defined by
|
||||
// the specified region. Modified pixels may be subsequently
|
||||
// transferred back to the image via sync.
|
||||
PixelPacket* get ( const ::ssize_t x_, const ::ssize_t y_,
|
||||
const size_t columns_,const size_t rows_ );
|
||||
|
||||
// Transfer read-only pixels from the image to the pixel view as
|
||||
// defined by the specified region.
|
||||
const PixelPacket* getConst ( const ::ssize_t x_, const ::ssize_t y_,
|
||||
const size_t columns_,
|
||||
const size_t rows_ );
|
||||
|
||||
// Transfers the image view pixels to the image.
|
||||
void sync ( void );
|
||||
|
||||
// Allocate a pixel view region to store image pixels as defined
|
||||
// by the region rectangle. This area is subsequently transferred
|
||||
// from the pixel view to the image via sync.
|
||||
PixelPacket* set ( const ::ssize_t x_, const ::ssize_t y_,
|
||||
const size_t columns_, const size_t rows_ );
|
||||
|
||||
// Return pixel colormap index array
|
||||
IndexPacket* indexes ( void );
|
||||
|
||||
// Left ordinate of view
|
||||
::ssize_t x ( void ) const;
|
||||
|
||||
// Top ordinate of view
|
||||
::ssize_t y ( void ) const;
|
||||
|
||||
// Width of view
|
||||
size_t columns ( void ) const;
|
||||
|
||||
// Height of view
|
||||
size_t rows ( void ) const;
|
||||
|
||||
#if 0
|
||||
// Transfer one or more pixel components from a buffer or file
|
||||
// into the image pixel view of an image. Used to support image
|
||||
// decoders.
|
||||
void decode ( const QuantumType quantum_,
|
||||
const unsigned char *source_ )
|
||||
{
|
||||
MagickCore::ReadPixelCache( _image.image(), quantum_, source_ );
|
||||
}
|
||||
|
||||
// Transfer one or more pixel components from the image pixel
|
||||
// view to a buffer or file. Used to support image encoders.
|
||||
void encode ( const QuantumType quantum_,
|
||||
const unsigned char *destination_ )
|
||||
{
|
||||
MagickCore::WritePixelCache( _image.image(), quantum_, destination_ );
|
||||
}
|
||||
#endif
|
||||
private:
|
||||
|
||||
// Copying and assigning Pixels is not supported.
|
||||
Pixels( const Pixels& pixels_ );
|
||||
const Pixels& operator=( const Pixels& pixels_ );
|
||||
|
||||
Magick::Image _image; // Image reference
|
||||
MagickCore::CacheView* _view; // Image view handle
|
||||
::ssize_t _x; // Left ordinate of view
|
||||
::ssize_t _y; // Top ordinate of view
|
||||
size_t _columns; // Width of view
|
||||
size_t _rows; // Height of view
|
||||
MagickCore:: ExceptionInfo _exception; // Any thrown exception
|
||||
|
||||
}; // class Pixels
|
||||
|
||||
} // Magick namespace
|
||||
|
||||
//
|
||||
// Inline methods
|
||||
//
|
||||
|
||||
// Left ordinate of view
|
||||
inline ::ssize_t Magick::Pixels::x ( void ) const
|
||||
{
|
||||
return _x;
|
||||
}
|
||||
|
||||
// Top ordinate of view
|
||||
inline ::ssize_t Magick::Pixels::y ( void ) const
|
||||
{
|
||||
return _y;
|
||||
}
|
||||
|
||||
// Width of view
|
||||
inline size_t Magick::Pixels::columns ( void ) const
|
||||
{
|
||||
return _columns;
|
||||
}
|
||||
|
||||
// Height of view
|
||||
inline size_t Magick::Pixels::rows ( void ) const
|
||||
{
|
||||
return _rows;
|
||||
}
|
||||
|
||||
#endif // Magick_Pixels_header
|
File diff suppressed because it is too large
Load diff
|
@ -1,57 +0,0 @@
|
|||
// This may look like C code, but it is really -*- C++ -*-
|
||||
//
|
||||
// Copyright Bob Friesenhahn, 2001, 2002
|
||||
//
|
||||
// TypeMetric Definition
|
||||
//
|
||||
// Container for font type metrics
|
||||
//
|
||||
|
||||
#if !defined (Magick_TypeMetric_header)
|
||||
#define Magick_TypeMetric_header
|
||||
|
||||
#include "Magick++/Include.h"
|
||||
|
||||
namespace Magick
|
||||
{
|
||||
class MagickPPExport TypeMetric
|
||||
{
|
||||
friend class Image;
|
||||
public:
|
||||
|
||||
TypeMetric ( void );
|
||||
~TypeMetric ( void );
|
||||
|
||||
// Ascent, the distance in pixels from the text baseline to the
|
||||
// highest/upper grid coordinate used to place an outline point.
|
||||
double ascent ( void ) const;
|
||||
|
||||
// Descent, the distance in pixels from the baseline to the lowest
|
||||
// grid coordinate used to place an outline point. Always a
|
||||
// negative value.
|
||||
double descent ( void ) const;
|
||||
|
||||
// Text width in pixels.
|
||||
double textWidth ( void ) const;
|
||||
|
||||
// Text height in pixels.
|
||||
double textHeight ( void ) const;
|
||||
|
||||
// Maximum horizontal advance in pixels.
|
||||
double maxHorizontalAdvance ( void ) const;
|
||||
|
||||
//
|
||||
// Public methods below this point are for Magick++ use only.
|
||||
//
|
||||
|
||||
private:
|
||||
MagickCore::TypeMetric _typeMetric;
|
||||
};
|
||||
} // namespace Magick
|
||||
|
||||
//
|
||||
// Inlines
|
||||
//
|
||||
|
||||
|
||||
#endif // Magick_TypeMetric_header
|
File diff suppressed because it is too large
Load diff
|
@ -1,166 +0,0 @@
|
|||
/*
|
||||
Copyright 2012 ImageMagick Studio LLC, a non-profit organization
|
||||
dedicated to making software imaging solutions freely available.
|
||||
|
||||
You may not use this file except in compliance with the License.
|
||||
obtain a copy of the License at
|
||||
|
||||
http://www.imagemagick.org/script/license.php
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
MagickConfig not autogenerated (fixed stuff)
|
||||
*/
|
||||
#ifndef _MAGICKCORE_MAGICK_CONFIG_H
|
||||
#define _MAGICKCORE_MAGICK_CONFIG_H
|
||||
|
||||
#if defined(__cplusplus) || defined(c_plusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "magick/magick-baseconfig.h"
|
||||
|
||||
/* Compatibility block */
|
||||
#if !defined(MAGICKCORE_QUANTUM_DEPTH) && defined(MAGICKCORE_QUANTUM_DEPTH_OBSOLETE_IN_H)
|
||||
# warning "you should set MAGICKCORE_QUANTUM_DEPTH to sensible default set it to configure time default"
|
||||
# warning "this is an obsolete behavior please fix your makefile"
|
||||
# define MAGICKCORE_QUANTUM_DEPTH MAGICKCORE_QUANTUM_DEPTH_OBSOLETE_IN_H
|
||||
#endif
|
||||
|
||||
/* Number of bits in a pixel Quantum (8/16/32/64) */
|
||||
#ifndef MAGICKCORE_QUANTUM_DEPTH
|
||||
# error "you should set MAGICKCORE_QUANTUM_DEPTH"
|
||||
#endif
|
||||
|
||||
/* check values */
|
||||
#if MAGICKCORE_QUANTUM_DEPTH != 8
|
||||
# if MAGICKCORE_QUANTUM_DEPTH != 16
|
||||
# if MAGICKCORE_QUANTUM_DEPTH != 32
|
||||
# if MAGICKCORE_QUANTUM_DEPTH != 64
|
||||
# error "MAGICKCORE_QUANTUM_DEPTH is not 8/16/32/64 bits"
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
#if !defined(MAGICKCORE_HDRI_ENABLE) && defined(MAGICKCORE_HDRI_ENABLE_OBSOLETE_IN_H)
|
||||
# warning "you should set MAGICKCORE_HDRI_ENABLE to sensible default set it to configure time default"
|
||||
# warning "this is an obsolete behavior please fix yours makefile"
|
||||
# define MAGICKCORE_HDRI_ENABLE MAGICKCORE_HDRI_ENABLE_OBSOLETE_IN_H
|
||||
#endif
|
||||
|
||||
/* whether HDRI is enable */
|
||||
#if !defined(MAGICKCORE_HDRI_ENABLE)
|
||||
# error "you should set MAGICKCORE_HDRI_ENABLE"
|
||||
#endif
|
||||
|
||||
#if MAGICKCORE_HDRI_ENABLE
|
||||
# define MAGICKCORE_HDRI_SUPPORT 1
|
||||
#endif
|
||||
|
||||
#if defined __CYGWIN32__ && !defined __CYGWIN__
|
||||
/* For backwards compatibility with Cygwin b19 and
|
||||
earlier, we define __CYGWIN__ here, so that
|
||||
we can rely on checking just for that macro. */
|
||||
# define __CYGWIN__ __CYGWIN32__
|
||||
#endif
|
||||
|
||||
/*! stringify */
|
||||
#define MAGICKCORE_STRING_QUOTE(str) #str
|
||||
#define MAGICKCORE_STRING_XQUOTE(str) MAGICKCORE_STRING_QUOTE(str)
|
||||
|
||||
/* ABI SUFFIX */
|
||||
#ifndef MAGICKCORE_HDRI_SUPPORT
|
||||
#define MAGICKCORE_ABI_SUFFIX "Q" MAGICKCORE_STRING_XQUOTE(MAGICKCORE_QUANTUM_DEPTH)
|
||||
#else
|
||||
#define MAGICKCORE_ABI_SUFFIX "Q" MAGICKCORE_STRING_XQUOTE(MAGICKCORE_QUANTUM_DEPTH) "HDRI"
|
||||
#endif
|
||||
|
||||
/* some path game */
|
||||
#if !defined __CYGWIN__
|
||||
# if defined (_WIN32) || defined (_WIN64) || defined (__MSDOS__) || defined (__DJGPP__) || defined (__OS2__)
|
||||
/* Use Windows separators on all _WIN32 defining
|
||||
environments, except Cygwin. */
|
||||
# define MAGICKCORE_DIR_SEPARATOR_CHAR '\\'
|
||||
# define MAGICKCORE_DIR_SEPARATOR "\\"
|
||||
# define MAGICKCORE_PATH_SEPARATOR_CHAR ';'
|
||||
# define MAGICKCORE_PATH_SEPARATOR ";"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* posix */
|
||||
#ifndef MAGICKCORE_DIR_SEPARATOR_CHAR
|
||||
/* Assume that not having this is an indicator that all
|
||||
are missing. */
|
||||
# define MAGICKCORE_DIR_SEPARATOR_CHAR '/'
|
||||
# define MAGICKCORE_DIR_SEPARATOR "/"
|
||||
# define MAGICKCORE_PATH_SEPARATOR_CHAR ':'
|
||||
# define MAGICKCORE_PATH_SEPARATOR ":"
|
||||
#endif /* !DIR_SEPARATOR_CHAR */
|
||||
|
||||
# if defined(MAGICKCORE_POSIX_SUPPORT)
|
||||
|
||||
/* module dir */
|
||||
#ifndef MAGICKCORE_MODULES_DIRNAME
|
||||
# define MAGICKCORE_MODULES_DIRNAME MAGICKCORE_MODULES_BASEDIRNAME "-" MAGICKCORE_ABI_SUFFIX
|
||||
#endif
|
||||
|
||||
#ifndef MAGICKCORE_MODULES_PATH
|
||||
# define MAGICKCORE_MODULES_PATH MAGICKCORE_LIBRARY_PATH MAGICKCORE_DIR_SEPARATOR MAGICKCORE_MODULES_DIRNAME
|
||||
#endif
|
||||
|
||||
#ifndef MAGICKCORE_MODULES_RELATIVE_PATH
|
||||
#define MAGICKCORE_MODULES_RELATIVE_PATH MAGICKCORE_LIBRARY_RELATIVE_PATH MAGICKCORE_DIR_SEPARATOR MAGICKCORE_MODULES_DIRNAME
|
||||
#endif
|
||||
|
||||
/* Subdirectory under lib to place ImageMagick coder module files */
|
||||
#ifndef MAGICKCORE_CODER_PATH
|
||||
# if defined(vms)
|
||||
# define MAGICKCORE_CODER_PATH "sys$login:"
|
||||
# else
|
||||
# define MAGICKCORE_CODER_PATH MAGICKCORE_MODULES_PATH MAGICKCORE_DIR_SEPARATOR MAGICKCORE_CODER_DIRNAME
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef MAGICKCORE_CODER_RELATIVE_PATH
|
||||
# define MAGICKCORE_CODER_RELATIVE_PATH MAGICKCORE_MODULES_RELATIVE_PATH MAGICKCORE_DIR_SEPARATOR MAGICKCORE_CODER_DIRNAME
|
||||
#endif
|
||||
|
||||
/* subdirectory under lib to place ImageMagick filter module files */
|
||||
#ifndef MAGICKCORE_FILTER_PATH
|
||||
# if defined(vms)
|
||||
# define MAGICKCORE_FILTER_PATH "sys$login:"
|
||||
# else
|
||||
# define MAGICKCORE_FILTER_PATH MAGICKCORE_MODULES_PATH MAGICKCORE_DIR_SEPARATOR MAGICKCORE_FILTER_DIRNAME
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef MAGICKCORE_FILTER_RELATIVE_PATH
|
||||
# define MAGICKCORE_FILTER_RELATIVE_PATH MAGICKCORE_MODULES_RELATIVE_PATH MAGICKCORE_DIR_SEPARATOR MAGICKCORE_FILTER_DIRNAME
|
||||
#endif
|
||||
|
||||
/* sharearch dir */
|
||||
#ifndef MAGICKCORE_SHAREARCH_DIRNAME
|
||||
# define MAGICKCORE_SHAREARCH_DIRNAME MAGICKCORE_SHAREARCH_BASEDIRNAME "-" MAGICKCORE_ABI_SUFFIX
|
||||
#endif
|
||||
|
||||
#ifndef MAGICKCORE_SHAREARCH_PATH
|
||||
# define MAGICKCORE_SHAREARCH_PATH MAGICKCORE_LIBRARY_PATH MAGICKCORE_DIR_SEPARATOR MAGICKCORE_SHAREARCH_DIRNAME MAGICKCORE_DIR_SEPARATOR
|
||||
#endif
|
||||
|
||||
#ifndef MAGICKCORE_SHAREARCH_RELATIVE_PATH
|
||||
#define MAGICKCORE_SHAREARCH_RELATIVE_PATH MAGICKCORE_LIBRARY_RELATIVE_PATH MAGICKCORE_DIR_SEPARATOR MAGICKCORE_SHAREARCH_DIRNAME
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#if defined(__cplusplus) || defined(c_plusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
|
@ -1,83 +0,0 @@
|
|||
/*
|
||||
Copyright 1999-2013 ImageMagick Studio LLC, a non-profit organization
|
||||
dedicated to making software imaging solutions freely available.
|
||||
|
||||
You may not use this file except in compliance with the License.
|
||||
obtain a copy of the License at
|
||||
|
||||
http://www.imagemagick.org/script/license.php
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
MagickCore version methods.
|
||||
*/
|
||||
#ifndef _MAGICKCORE_VERSION_H
|
||||
#define _MAGICKCORE_VERSION_H
|
||||
|
||||
#if defined(__cplusplus) || defined(c_plusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
Define declarations.
|
||||
*/
|
||||
#define MagickPackageName "ImageMagick"
|
||||
#define MagickCopyright "Copyright (C) 1999-2013 ImageMagick Studio LLC"
|
||||
#define MagickSVNRevision "10070"
|
||||
#define MagickLibVersion 0x683
|
||||
#define MagickLibVersionText "6.8.3"
|
||||
#define MagickLibVersionNumber 1,0,0
|
||||
#define MagickLibAddendum "-1"
|
||||
#define MagickLibInterface 1
|
||||
#define MagickLibMinInterface 1
|
||||
#define MagickReleaseDate "2013-02-19"
|
||||
#define MagickChangeDate "20130216"
|
||||
#define MagickFeatures "DPC OpenMP"
|
||||
#define MagickDelegates "bzlib djvu mpeg fontconfig freetype jng jp2 jpeg lcms lqr openexr pango png ps tiff x xml zlib"
|
||||
#define MagickHomeURL "file:///home/santi/lms/ImageMagick-6.8.3-1/bin/share/doc/ImageMagick-6.8.3/index.html"
|
||||
#define MagickAuthoritativeURL "http://www.imagemagick.org"
|
||||
#if (MAGICKCORE_QUANTUM_DEPTH == 8)
|
||||
#define MagickQuantumDepth "Q8"
|
||||
#define MagickQuantumRange "255"
|
||||
#elif (MAGICKCORE_QUANTUM_DEPTH == 16)
|
||||
#define MagickQuantumDepth "Q16"
|
||||
#define MagickQuantumRange "65535"
|
||||
#elif (MAGICKCORE_QUANTUM_DEPTH == 32)
|
||||
#define MagickQuantumDepth "Q32"
|
||||
#define MagickQuantumRange "4294967295"
|
||||
#elif (MAGICKCORE_QUANTUM_DEPTH == 64)
|
||||
#define MagickQuantumDepth "Q64"
|
||||
#define MagickQuantumRange "18446744073709551615.0"
|
||||
#else
|
||||
#define MagickQuantumDepth "Q?"
|
||||
#define MagickQuantumRange "?"
|
||||
#endif
|
||||
#define MagickVersion \
|
||||
MagickPackageName " " MagickLibVersionText MagickLibAddendum " " \
|
||||
MagickReleaseDate " " MagickQuantumDepth " " MagickAuthoritativeURL
|
||||
|
||||
extern MagickExport char
|
||||
*GetMagickHomeURL(void);
|
||||
|
||||
extern MagickExport const char
|
||||
*GetMagickCopyright(void),
|
||||
*GetMagickDelegates(void),
|
||||
*GetMagickFeatures(void),
|
||||
*GetMagickPackageName(void),
|
||||
*GetMagickQuantumDepth(size_t *),
|
||||
*GetMagickQuantumRange(size_t *),
|
||||
*GetMagickReleaseDate(void),
|
||||
*GetMagickVersion(size_t *);
|
||||
|
||||
extern MagickExport void
|
||||
ListMagickVersion(FILE *);
|
||||
|
||||
#if defined(__cplusplus) || defined(c_plusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
|
@ -1,46 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE configuremap [
|
||||
<!ELEMENT configuremap (configure)+>
|
||||
<!ELEMENT configure (#PCDATA)>
|
||||
<!ATTLIST configure name CDATA #REQUIRED>
|
||||
<!ATTLIST configure value CDATA #REQUIRED>
|
||||
]>
|
||||
<configuremap>
|
||||
<configure name="CC" value="gcc -std=gnu99 -std=gnu99"/>
|
||||
<configure name="CFLAGS" value="-pthread -I/usr/include/OpenEXR -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/lqr-1 -I/usr/include/freetype2 -fopenmp -g -O2 -Wall -pthread -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16"/>
|
||||
<configure name="CODER_PATH" value="/home/santi/lms/ImageMagick-6.8.3-1/bin/lib/ImageMagick-6.8.3/modules-Q16/coders"/>
|
||||
<configure name="CONFIGURE_PATH" value="/home/santi/lms/ImageMagick-6.8.3-1/bin/etc/ImageMagick/"/>
|
||||
<configure name="CONFIGURE" value="./configure '--prefix=/home/santi/lms/ImageMagick-6.8.3-1/bin'"/>
|
||||
<configure name="COPYRIGHT" value="Copyright (C) 1999-2013 ImageMagick Studio LLC"/>
|
||||
<configure name="CPPFLAGS" value="-I/home/santi/lms/ImageMagick-6.8.3-1/bin/include/ImageMagick"/>
|
||||
<configure name="CXXFLAGS" value="-g -O2 -pthread"/>
|
||||
<configure name="CXX" value="g++"/>
|
||||
<configure name="DEFS" value="-DHAVE_CONFIG_H"/>
|
||||
<configure name="DELEGATES" value="bzlib djvu mpeg fontconfig freetype jng jp2 jpeg lcms lqr openexr pango png ps tiff x xml zlib"/>
|
||||
<configure name="DISTCHECK_CONFIG_FLAGS" value="--disable-deprecated --with-quantum-depth=16 --with-umem=no --with-autotrace=no --with-gslib=no --with-fontpath= --with-gvc=no --with-rsvg=no --with-wmf=no --with-perl=no"/>
|
||||
<configure name="DOCUMENTATION_PATH" value="/home/santi/lms/ImageMagick-6.8.3-1/bin/share/doc/ImageMagick-6.8.3"/>
|
||||
<configure name="EXEC-PREFIX" value="/home/santi/lms/ImageMagick-6.8.3-1/bin"/>
|
||||
<configure name="EXECUTABLE_PATH" value="/home/santi/lms/ImageMagick-6.8.3-1/bin/bin"/>
|
||||
<configure name="FEATURES" value="DPC OpenMP"/>
|
||||
<configure name="FILTER_PATH" value="/home/santi/lms/ImageMagick-6.8.3-1/bin/lib/ImageMagick-6.8.3/modules-Q16/filters"/>
|
||||
<configure name="HOST" value="i686-pc-linux-gnu"/>
|
||||
<configure name="INCLUDE_PATH" value="/home/santi/lms/ImageMagick-6.8.3-1/bin/include/ImageMagick"/>
|
||||
<configure name="LDFLAGS" value="-L/home/santi/lms/ImageMagick-6.8.3-1/bin/lib "/>
|
||||
<configure name="LIBRARY_PATH" value="/home/santi/lms/ImageMagick-6.8.3-1/bin/lib/ImageMagick-6.8.3"/>
|
||||
<configure name="LIBS" value="-lMagickCore -llcms -ltiff -lfreetype -ljasper -ljpeg -llqr-1 -lglib-2.0 -lpng12 -ldjvulibre -lfontconfig -lXext -lXt -lSM -lICE -lX11 -lbz2 -pthread -lIlmImf -lz -lImath -lHalf -lIex -lIlmThread -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 -lxml2 -lz -lm -lgomp -lpthread"/>
|
||||
<configure name="LIB_VERSION_NUMBER" value="6,8,3,1"/>
|
||||
<configure name="LIB_VERSION" value="0x683"/>
|
||||
<configure name="NAME" value="ImageMagick"/>
|
||||
<configure name="PCFLAGS" value="-fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16"/>
|
||||
<configure name="PREFIX" value="/home/santi/lms/ImageMagick-6.8.3-1/bin"/>
|
||||
<configure name="QuantumDepth" value="16"/>
|
||||
<configure name="RELEASE_DATE" value="2013-02-19"/>
|
||||
<configure name="SHAREARCH_PATH" value="/home/santi/lms/ImageMagick-6.8.3-1/bin/lib/ImageMagick-6.8.3/config-Q16"/>
|
||||
<configure name="SHARE_PATH" value="/home/santi/lms/ImageMagick-6.8.3-1/bin/share/ImageMagick-6.8.3"/>
|
||||
<configure name="SVN_REVISION" value="11060" />
|
||||
<configure name="TARGET_CPU" value="i686"/>
|
||||
<configure name="TARGET_OS" value="linux-gnu"/>
|
||||
<configure name="TARGET_VENDOR" value="pc"/>
|
||||
<configure name="VERSION" value="6.8.3"/>
|
||||
<configure name="WEBSITE" value="http://www.imagemagick.org"/>
|
||||
</configuremap>
|
Binary file not shown.
|
@ -1,41 +0,0 @@
|
|||
# libMagick++-6.Q16.la - a libtool library file
|
||||
# Generated by libtool (GNU libtool) 2.4.2
|
||||
#
|
||||
# Please DO NOT delete this file!
|
||||
# It is necessary for linking the library.
|
||||
|
||||
# The name that we can dlopen(3).
|
||||
dlname='libMagick++-6.Q16.so.1'
|
||||
|
||||
# Names of this library.
|
||||
library_names='libMagick++-6.Q16.so.1.0.0 libMagick++-6.Q16.so.1 libMagick++-6.Q16.so'
|
||||
|
||||
# The name of the static archive.
|
||||
old_library='libMagick++-6.Q16.a'
|
||||
|
||||
# Linker flags that can not go in dependency_libs.
|
||||
inherited_linker_flags=' -pthread -fopenmp'
|
||||
|
||||
# Libraries that this one depends upon.
|
||||
dependency_libs=' -L/usr/lib /home/santi/lms/ImageMagick-6.8.3-1/bin/lib/libMagickWand-6.Q16.la /home/santi/lms/ImageMagick-6.8.3-1/bin/lib/libMagickCore-6.Q16.la /usr/lib/i386-linux-gnu/liblcms.la /usr/lib/i386-linux-gnu/libtiff.la /usr/lib/i386-linux-gnu/libfreetype.la -ljasper -ljpeg -llqr-1 -lpng12 -ldjvulibre -lfontconfig -lXext -lXt -lbz2 /usr/lib/libIlmImf.la -lImath -lHalf -lIex -lIlmThread -lpangocairo-1.0 -lpango-1.0 /usr/lib/i386-linux-gnu/libcairo.la -lgobject-2.0 -lglib-2.0 /usr/lib/i386-linux-gnu/libxml2.la -lz -lSM -lICE -lX11 -lgomp'
|
||||
|
||||
# Names of additional weak libraries provided by this library
|
||||
weak_library_names=''
|
||||
|
||||
# Version information for libMagick++-6.Q16.
|
||||
current=1
|
||||
age=0
|
||||
revision=0
|
||||
|
||||
# Is this an already installed library?
|
||||
installed=yes
|
||||
|
||||
# Should we warn about portability when linking against -modules?
|
||||
shouldnotlink=no
|
||||
|
||||
# Files to dlopen/dlpreopen
|
||||
dlopen=''
|
||||
dlpreopen=''
|
||||
|
||||
# Directory that this library needs to be installed in:
|
||||
libdir='/home/santi/lms/ImageMagick-6.8.3-1/bin/lib'
|
|
@ -1 +0,0 @@
|
|||
libMagick++-6.Q16.so.1.0.0
|
|
@ -1 +0,0 @@
|
|||
libMagick++-6.Q16.so.1.0.0
|
Binary file not shown.
Binary file not shown.
|
@ -1,41 +0,0 @@
|
|||
# libMagickCore-6.Q16.la - a libtool library file
|
||||
# Generated by libtool (GNU libtool) 2.4.2
|
||||
#
|
||||
# Please DO NOT delete this file!
|
||||
# It is necessary for linking the library.
|
||||
|
||||
# The name that we can dlopen(3).
|
||||
dlname='libMagickCore-6.Q16.so.1'
|
||||
|
||||
# Names of this library.
|
||||
library_names='libMagickCore-6.Q16.so.1.0.0 libMagickCore-6.Q16.so.1 libMagickCore-6.Q16.so'
|
||||
|
||||
# The name of the static archive.
|
||||
old_library='libMagickCore-6.Q16.a'
|
||||
|
||||
# Linker flags that can not go in dependency_libs.
|
||||
inherited_linker_flags=' -pthread -fopenmp'
|
||||
|
||||
# Libraries that this one depends upon.
|
||||
dependency_libs=' /usr/lib/i386-linux-gnu/liblcms.la /usr/lib/i386-linux-gnu/libtiff.la /usr/lib/i386-linux-gnu/libfreetype.la -ljasper -ljpeg -llqr-1 -lpng12 -ldjvulibre -lfontconfig -lXext -lXt -lSM -lICE -lX11 -lbz2 /usr/lib/libIlmImf.la -L/usr/lib -lImath -lHalf -lIex -lIlmThread -lpangocairo-1.0 -lpango-1.0 /usr/lib/i386-linux-gnu/libcairo.la -lgobject-2.0 -lglib-2.0 /usr/lib/i386-linux-gnu/libxml2.la -lz -lm -lgomp -lpthread'
|
||||
|
||||
# Names of additional weak libraries provided by this library
|
||||
weak_library_names=''
|
||||
|
||||
# Version information for libMagickCore-6.Q16.
|
||||
current=1
|
||||
age=0
|
||||
revision=0
|
||||
|
||||
# Is this an already installed library?
|
||||
installed=yes
|
||||
|
||||
# Should we warn about portability when linking against -modules?
|
||||
shouldnotlink=no
|
||||
|
||||
# Files to dlopen/dlpreopen
|
||||
dlopen=''
|
||||
dlpreopen=''
|
||||
|
||||
# Directory that this library needs to be installed in:
|
||||
libdir='/home/santi/lms/ImageMagick-6.8.3-1/bin/lib'
|
|
@ -1 +0,0 @@
|
|||
libMagickCore-6.Q16.so.1.0.0
|
|
@ -1 +0,0 @@
|
|||
libMagickCore-6.Q16.so.1.0.0
|
Binary file not shown.
Binary file not shown.
|
@ -1,41 +0,0 @@
|
|||
# libMagickWand-6.Q16.la - a libtool library file
|
||||
# Generated by libtool (GNU libtool) 2.4.2
|
||||
#
|
||||
# Please DO NOT delete this file!
|
||||
# It is necessary for linking the library.
|
||||
|
||||
# The name that we can dlopen(3).
|
||||
dlname='libMagickWand-6.Q16.so.1'
|
||||
|
||||
# Names of this library.
|
||||
library_names='libMagickWand-6.Q16.so.1.0.0 libMagickWand-6.Q16.so.1 libMagickWand-6.Q16.so'
|
||||
|
||||
# The name of the static archive.
|
||||
old_library='libMagickWand-6.Q16.a'
|
||||
|
||||
# Linker flags that can not go in dependency_libs.
|
||||
inherited_linker_flags=' -pthread -fopenmp'
|
||||
|
||||
# Libraries that this one depends upon.
|
||||
dependency_libs=' /home/santi/lms/ImageMagick-6.8.3-1/bin/lib/libMagickCore-6.Q16.la -L/usr/lib /usr/lib/i386-linux-gnu/liblcms.la /usr/lib/i386-linux-gnu/libtiff.la /usr/lib/i386-linux-gnu/libfreetype.la -ljasper -ljpeg -llqr-1 -lpng12 -ldjvulibre -lfontconfig -lXext -lXt -lbz2 /usr/lib/libIlmImf.la -lImath -lHalf -lIex -lIlmThread -lpangocairo-1.0 -lpango-1.0 /usr/lib/i386-linux-gnu/libcairo.la -lgobject-2.0 -lglib-2.0 /usr/lib/i386-linux-gnu/libxml2.la -lz -lpthread -lSM -lICE -lX11 -lgomp -lm'
|
||||
|
||||
# Names of additional weak libraries provided by this library
|
||||
weak_library_names=''
|
||||
|
||||
# Version information for libMagickWand-6.Q16.
|
||||
current=1
|
||||
age=0
|
||||
revision=0
|
||||
|
||||
# Is this an already installed library?
|
||||
installed=yes
|
||||
|
||||
# Should we warn about portability when linking against -modules?
|
||||
shouldnotlink=no
|
||||
|
||||
# Files to dlopen/dlpreopen
|
||||
dlopen=''
|
||||
dlpreopen=''
|
||||
|
||||
# Directory that this library needs to be installed in:
|
||||
libdir='/home/santi/lms/ImageMagick-6.8.3-1/bin/lib'
|
|
@ -1 +0,0 @@
|
|||
libMagickWand-6.Q16.so.1.0.0
|
|
@ -1 +0,0 @@
|
|||
libMagickWand-6.Q16.so.1.0.0
|
Binary file not shown.
|
@ -1,12 +0,0 @@
|
|||
prefix=/home/santi/lms/ImageMagick-6.8.3-1/bin
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include/ImageMagick
|
||||
|
||||
|
||||
Name: ImageMagick++
|
||||
Version: 6.8.3
|
||||
Description: Magick++ - C++ API for ImageMagick (ABI @MAGICK_ABISUFFIX@)
|
||||
Requires: ImageMagick
|
||||
Libs: -L${libdir} -lMagick++6-Q16
|
||||
Cflags: -I${includedir}
|
|
@ -1,12 +0,0 @@
|
|||
prefix=/home/santi/lms/ImageMagick-6.8.3-1/bin
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include/ImageMagick
|
||||
|
||||
|
||||
Name: ImageMagick++
|
||||
Version: 6.8.3
|
||||
Description: Magick++ - C++ API for ImageMagick (ABI @MAGICK_ABISUFFIX@)
|
||||
Requires: ImageMagick
|
||||
Libs: -L${libdir} -lMagick++6-Q16
|
||||
Cflags: -I${includedir}
|
|
@ -1,10 +0,0 @@
|
|||
prefix=/home/santi/lms/ImageMagick-6.8.3-1/bin
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include/ImageMagick
|
||||
|
||||
Name: ImageMagick
|
||||
Description: ImageMagick - Convert, Edit, and Compose Images (ABI Q16)
|
||||
Version: 6.8.3
|
||||
Libs: -L${libdir} -lm -lMagickCore-6.Q16
|
||||
Cflags: -I${includedir} -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
|
|
@ -1,12 +0,0 @@
|
|||
prefix=/home/santi/lms/ImageMagick-6.8.3-1/bin
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include/ImageMagick
|
||||
|
||||
|
||||
Name: Magick++
|
||||
Version: 6.8.3
|
||||
Description: Magick++ - C++ API for ImageMagick
|
||||
Requires: ImageMagick
|
||||
Libs: -L${libdir} -lMagick++6-Q16
|
||||
Cflags: -I${includedir}
|
|
@ -1,10 +0,0 @@
|
|||
prefix=/home/santi/lms/ImageMagick-6.8.3-1/bin
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include/ImageMagick
|
||||
|
||||
Name: MagickCore
|
||||
Description: MagickCore - C API for ImageMagick (ABI Q16)
|
||||
Version: 6.8.3
|
||||
Libs: -L${libdir} -lm -lMagickCore-6.Q16
|
||||
Cflags: -I${includedir} -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
|
|
@ -1,10 +0,0 @@
|
|||
prefix=/home/santi/lms/ImageMagick-6.8.3-1/bin
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include/ImageMagick
|
||||
|
||||
Name: MagickCore
|
||||
Description: MagickCore - C API for ImageMagick (ABI Q16)
|
||||
Version: 6.8.3
|
||||
Libs: -L${libdir} -lm -lMagickCore-6.Q16
|
||||
Cflags: -I${includedir} -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
|
|
@ -1,11 +0,0 @@
|
|||
prefix=/home/santi/lms/ImageMagick-6.8.3-1/bin
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include/ImageMagick
|
||||
|
||||
Name: MagickWand
|
||||
Version: 6.8.3
|
||||
Description: MagickWand - C API for ImageMagick (ABI Q16)
|
||||
Requires: ImageMagick
|
||||
Libs: -L${libdir} -lMagickWand-6.Q16 -lMagickCore-6.Q16
|
||||
Cflags: -I${includedir} -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
|
|
@ -1,11 +0,0 @@
|
|||
prefix=/home/santi/lms/ImageMagick-6.8.3-1/bin
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include/ImageMagick
|
||||
|
||||
Name: Wand
|
||||
Version: 6.8.3
|
||||
Description: MagickWand - C API for ImageMagick (ABI Q16)
|
||||
Requires: ImageMagick
|
||||
Libs: -L${libdir} -lMagickWand-6.Q16 -lMagickCore-6.Q16
|
||||
Cflags: -I${includedir} -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
|
|
@ -1,11 +0,0 @@
|
|||
prefix=/home/santi/lms/ImageMagick-6.8.3-1/bin
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include/ImageMagick
|
||||
|
||||
Name: Wand
|
||||
Version: 6.8.3
|
||||
Description: MagickWand - C API for ImageMagick (ABI Q16)
|
||||
Requires: ImageMagick
|
||||
Libs: -L${libdir} -lMagickWand-6.Q16 -lMagickCore-6.Q16
|
||||
Cflags: -I${includedir} -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
|
File diff suppressed because it is too large
Load diff
|
@ -1,103 +0,0 @@
|
|||
Before we get to the text of the license, lets just review what the license says in simple terms:
|
||||
|
||||
It allows you to:
|
||||
|
||||
* freely download and use ImageMagick software, in whole or in part, for personal, company internal, or commercial purposes;
|
||||
* use ImageMagick software in packages or distributions that you create;
|
||||
* link against a library under a different license;
|
||||
* link code under a different license against a library under this license;
|
||||
* merge code into a work under a different license;
|
||||
* extend patent grants to any code using code under this license;
|
||||
* and extend patent protection.
|
||||
|
||||
It forbids you to:
|
||||
|
||||
* redistribute any piece of ImageMagick-originated software without proper attribution;
|
||||
* use any marks owned by ImageMagick Studio LLC in any way that might state or imply that ImageMagick Studio LLC endorses your distribution;
|
||||
* use any marks owned by ImageMagick Studio LLC in any way that might state or imply that you created the ImageMagick software in question.
|
||||
|
||||
It requires you to:
|
||||
|
||||
* include a copy of the license in any redistribution you may make that includes ImageMagick software;
|
||||
* provide clear attribution to ImageMagick Studio LLC for any distributions that include ImageMagick software.
|
||||
|
||||
It does not require you to:
|
||||
|
||||
* include the source of the ImageMagick software itself, or of any modifications you may have made to it, in any redistribution you may assemble that includes it;
|
||||
* submit changes that you make to the software back to the ImageMagick Studio LLC (though such feedback is encouraged).
|
||||
|
||||
A few other clarifications include:
|
||||
|
||||
* ImageMagick is freely available without charge;
|
||||
* you may include ImageMagick on a DVD as long as you comply with the terms of the license;
|
||||
* you can give modified code away for free or sell it under the terms of the ImageMagick license or distribute the result under a different license, but you need to acknowledge the use of the ImageMagick software;
|
||||
* the license is compatible with the GPL V3.
|
||||
* when exporting the ImageMagick software, review its export classification.
|
||||
|
||||
Terms and Conditions for Use, Reproduction, and Distribution
|
||||
|
||||
The legally binding and authoritative terms and conditions for use, reproduction, and distribution of ImageMagick follow:
|
||||
|
||||
Copyright 1999-2013 ImageMagick Studio LLC, a non-profit organization dedicated to making software imaging solutions freely available.
|
||||
|
||||
1. Definitions.
|
||||
|
||||
License shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
Licensor shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
|
||||
|
||||
Legal Entity shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, control means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
You (or Your) shall mean an individual or Legal Entity exercising permissions granted by this License.
|
||||
|
||||
Source form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
|
||||
|
||||
Object form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
|
||||
|
||||
Work shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
|
||||
|
||||
Derivative Works shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
||||
|
||||
Contribution shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as Not a Contribution.
|
||||
|
||||
Contributor shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
|
||||
|
||||
* You must give any other recipients of the Work or Derivative Works a copy of this License; and
|
||||
* You must cause any modified files to carry prominent notices stating that You changed the files; and
|
||||
* You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
|
||||
* If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
|
||||
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
|
||||
|
||||
How to Apply the License to your Work
|
||||
|
||||
To apply the ImageMagick License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information (don't include the brackets). The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the ImageMagick License (the "License"); you may not use
|
||||
this file except in compliance with the License. You may obtain a copy
|
||||
of the License at
|
||||
|
||||
http://www.imagemagick.org/script/license.php
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
License for the specific language governing permissions and limitations
|
||||
under the License.
|
|
@ -1 +0,0 @@
|
|||
No news is good news.
|
|
@ -1,102 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE typemap [
|
||||
<!ELEMENT typemap (type)+>
|
||||
<!ELEMENT type (#PCDATA)>
|
||||
<!ELEMENT include (#PCDATA)>
|
||||
<!ATTLIST type name CDATA #REQUIRED>
|
||||
<!ATTLIST type fullname CDATA #IMPLIED>
|
||||
<!ATTLIST type family CDATA #IMPLIED>
|
||||
<!ATTLIST type foundry CDATA #IMPLIED>
|
||||
<!ATTLIST type weight CDATA #IMPLIED>
|
||||
<!ATTLIST type style CDATA #IMPLIED>
|
||||
<!ATTLIST type stretch CDATA #IMPLIED>
|
||||
<!ATTLIST type format CDATA #IMPLIED>
|
||||
<!ATTLIST type metrics CDATA #IMPLIED>
|
||||
<!ATTLIST type glyphs CDATA #REQUIRED>
|
||||
<!ATTLIST type version CDATA #IMPLIED>
|
||||
<!ATTLIST include file CDATA #REQUIRED>
|
||||
]>
|
||||
<typemap>
|
||||
<type name="Arial" fullname="Arial" family="Arial" weight="400" style="normal" stretch="normal" glyphs="arial.ttf"/>
|
||||
<type name="Arial-Black" fullname="Arial Black" family="Arial" weight="900" style="normal" stretch="normal" glyphs="ariblk.ttf"/>
|
||||
<type name="Arial-Bold" fullname="Arial Bold" family="Arial" weight="700" style="normal" stretch="normal" glyphs="arialbd.ttf"/>
|
||||
<type name="Arial-Bold-Italic" fullname="Arial Bold Italic" family="Arial" weight="700" style="italic" stretch="normal" glyphs="arialbi.ttf"/>
|
||||
<type name="Arial-Italic" fullname="Arial Italic" family="Arial" weight="400" style="italic" stretch="normal" glyphs="ariali.ttf"/>
|
||||
<type name="Arial-Narrow" fullname="Arial Narrow" family="Arial Narrow" weight="400" style="normal" stretch="condensed" glyphs="arialn.ttf"/>
|
||||
<type name="Arial-Narrow-Bold" fullname="Arial Narrow Bold" family="Arial Narrow" weight="700" style="normal" stretch="condensed" glyphs="arialnb.ttf"/>
|
||||
<type name="Arial-Narrow-Bold-Italic" fullname="Arial Narrow Bold Italic" family="Arial Narrow" weight="700" style="italic" stretch="condensed" glyphs="arialnbi.ttf"/>
|
||||
<type name="Arial-Narrow-Italic" fullname="Arial Narrow Italic" family="Arial Narrow" weight="400" style="italic" stretch="condensed" glyphs="arnari.ttf"/>
|
||||
<type name="Arial-Narrow-Special-G1" fullname="Arial Narrow Special G1" family="Arial Narrow Special G1" weight="400" style="normal" stretch="condensed" glyphs="msgeonr1.ttf"/>
|
||||
<type name="Arial-Narrow-Special-G1-Bold" fullname="Arial Narrow Special G1 Bold" family="Arial Narrow Special G1" weight="700" style="normal" stretch="condensed" glyphs="msgeonb1.ttf"/>
|
||||
<type name="Arial-Narrow-Special-G1-Italic" fullname="Arial Narrow Special G1 Italic" family="Arial Narrow Special G1" weight="400" style="italic" stretch="condensed" glyphs="msgeoni1.ttf"/>
|
||||
<type name="Arial-Narrow-Special-G2" fullname="Arial Narrow Special G2" family="Arial Narrow Special G2" weight="400" style="normal" stretch="condensed" glyphs="msgeonr2.ttf"/>
|
||||
<type name="Arial-Narrow-Special-G2-Bold" fullname="Arial Narrow Special G2 Bold" family="Arial Narrow Special G2" weight="700" style="Narrow" stretch="normal" glyphs="msgeonb2.ttf"/>
|
||||
<type name="Arial-Narrow-Special-G2-Italic" fullname="Arial Narrow Special G2 Italic" family="Arial Narrow Special G2" weight="400" style="italic" stretch="condensed" glyphs="msgeoni2.ttf"/>
|
||||
<type name="Arial-Rounded-MT-Bold" fullname="Arial Rounded MT Bold" family="Arial Rounded MT" weight="700" style="normal" stretch="normal" glyphs="arlrdbd.ttf"/>
|
||||
<type name="Arial-Special-G1" fullname="Arial Special G1" family="Arial Special G1" weight="400" style="normal" stretch="normal" glyphs="msgeor1.ttf"/>
|
||||
<type name="Arial-Special-G1-Bold" fullname="Arial Special G1 Bold" family="Arial Special G1" weight="700" style="normal" stretch="normal" glyphs="msgeoab1.ttf"/>
|
||||
<type name="Arial-Special-G1-Bold-Italic" fullname="Arial Special G1 Bold Italic" family="Arial Special G1" weight="700" style="italic" stretch="normal" glyphs="msgeoax1.ttf"/>
|
||||
<type name="Arial-Special-G1-Italic" fullname="Arial Special G1 Italic" family="Arial Special G1" weight="400" style="italic" stretch="normal" glyphs="msgeoai1.ttf"/>
|
||||
<type name="Arial-Special-G2" fullname="Arial Special G2" family="Arial Special G2" weight="400" style="normal" stretch="normal" glyphs="msgeoar2.ttf"/>
|
||||
<type name="Arial-Special-G2-Bold" fullname="Arial Special G2 Bold" family="Arial Special G2" weight="700" style="normal" stretch="normal" glyphs="msgeoab2.ttf"/>
|
||||
<type name="Arial-Special-G2-Bold-Italic" fullname="Arial Special G2 Bold Italic" family="Arial Special G2" weight="700" style="italic" stretch="normal" glyphs="msgeoax2.ttf"/>
|
||||
<type name="Arial-Special-G2-Italic" fullname="Arial Special G2 Italic" family="Arial Special G2" weight="400" style="italic" stretch="normal" glyphs="msgeoai2.ttf"/>
|
||||
<type name="Bookman-Old-Style" fullname="Bookman Old Style" family="Bookman Old Style" weight="400" style="normal" stretch="normal" glyphs="bkmnos.ttf"/>
|
||||
<type name="Bookman-Old-Style-Bold" fullname="Bookman Old Style Bold" family="Bookman Old Style" weight="700" style="normal" stretch="normal" glyphs="bookosb.ttf"/>
|
||||
<type name="Bookman-Old-Style-Bold-Italic" fullname="Bookman Old Style Bold Italic" family="Bookman Old Style" weight="400" style="italic" stretch="normal" glyphs="bookosbi.ttf"/>
|
||||
<type name="Bookman-Old-Style-Italic" fullname="Bookman Old Style Italic" family="Bookman Old Style" weight="400" style="italic" stretch="normal" glyphs="boookosi.ttf"/>
|
||||
<type name="Century-Schoolbook" fullname="Century Schoolbook" family="Century Schoolbook" weight="400" style="normal" stretch="normal" glyphs="censcbk.ttf"/>
|
||||
<type name="Century-Schoolbook-Bold" fullname="Century Schoolbook Bold" family="Century Schoolbook" weight="700" style="normal" stretch="normal" glyphs="schlbkb.ttf"/>
|
||||
<type name="Century-Schoolbook-Bold-Italic" fullname="Century Schoolbook Bold Italic" family="Century Schoolbook" weight="700" style="italic" stretch="normal" glyphs="schlbkbi.ttf"/>
|
||||
<type name="Century-Schoolbook-Italic" fullname="Century Schoolbook Italic" family="Century Schoolbook" weight="400" style="italic" stretch="normal" glyphs="schlbki.ttf"/>
|
||||
<type name="Comic-Sans-MS" fullname="Comic Sans MS" family="Comic Sans MS" weight="400" style="normal" stretch="normal" glyphs="comic.ttf"/>
|
||||
<type name="Comic-Sans-MS-Bold" fullname="Comic Sans MS Bold" family="Comic Sans MS" weight="700" style="normal" stretch="normal" glyphs="comicbd.ttf"/>
|
||||
<type name="Courier-New" fullname="Courier New" family="Courier New" weight="400" style="normal" stretch="normal" glyphs="cour.ttf"/>
|
||||
<type name="Courier-New-Bold" fullname="Courier New Bold" family="Courier New" weight="700" style="normal" stretch="normal" glyphs="courbd.ttf"/>
|
||||
<type name="Courier-New-Bold-Italic" fullname="Courier New Bold Italic" family="Courier New" weight="700" style="italic" stretch="normal" glyphs="courbi.ttf"/>
|
||||
<type name="Courier-New-Italic" fullname="Courier New Italic" family="Courier New" weight="400" style="italic" stretch="normal" glyphs="couri.ttf"/>
|
||||
<type name="Garamond" fullname="Garamond" family="Garamond" weight="400" style="normal" stretch="normal" glyphs="gara.ttf"/>
|
||||
<type name="Garamond-Bold" fullname="Garamond Bold" family="Garamond" weight="700" style="normal" stretch="normal" glyphs="garabd.ttf"/>
|
||||
<type name="Garamond-Italic" fullname="Garamond Italic" family="Garamond" weight="400" style="italic" stretch="normal" glyphs="Italic"/>
|
||||
<type name="Gill-Sans-MT-Ext-Condensed-Bold" fullname="Gill Sans MT Ext Condensed Bold" family="Gill Sans MT" weight="700" style="normal" stretch="extra-condensed" glyphs="glsnecb.ttf"/>
|
||||
<type name="Impact" fullname="Impact" family="Impact" weight="400" style="normal" stretch="normal" glyphs="impact.ttf"/>
|
||||
<type name="Lucida-Blackletter" fullname="Lucida Blackletter" family="Lucida Blackletter" weight="400" style="normal" stretch="normal" glyphs="lblack.ttf"/>
|
||||
<type name="Lucida-Bright" fullname="Lucida Bright" family="Lucida Bright" weight="400" style="normal" stretch="normal" glyphs="lbrite.ttf"/>
|
||||
<type name="Lucida-Bright-Demibold" fullname="Lucida Bright Demibold" family="Lucida Bright" weight="600" style="normal" stretch="normal" glyphs="lbrited.ttf"/>
|
||||
<type name="Lucida-Bright-Demibold-Italic" fullname="Lucida Bright Demibold Italic" family="Lucida Bright" weight="600" style="italic" stretch="normal" glyphs="lbritedi.ttf"/>
|
||||
<type name="Lucida-Bright-Italic" fullname="Lucida Bright Italic" family="Lucida Bright" weight="400" style="italic" stretch="normal" glyphs="lbritei.ttf"/>
|
||||
<type name="Lucida-Caligraphy-Italic" fullname="Lucida Caligraphy Italic" family="Lucida Caligraphy" weight="400" style="italic" stretch="normal" glyphs="lcalig.ttf"/>
|
||||
<type name="Lucida-Console, Lucida-Console" fullname="Lucida Console, Lucida Console" family="Regular" weight="400" style="lucon.ttf" stretch="normal" glyphs=""/>
|
||||
<type name="Lucida-Fax-Demibold" fullname="Lucida Fax Demibold" family="Lucida Fax" weight="600" style="normal" stretch="normal" glyphs="lfaxd.ttf"/>
|
||||
<type name="Lucida-Fax-Demibold-Italic" fullname="Lucida Fax Demibold Italic" family="Lucida Fax" weight="600" style="italic" stretch="normal" glyphs="lfaxdi.ttf"/>
|
||||
<type name="Lucida-Fax-Italic" fullname="Lucida Fax Italic" family="Lucida Fax" weight="400" style="italic" stretch="normal" glyphs="lfaxi.ttf"/>
|
||||
<type name="Lucida-Fax-Regular" fullname="Lucida Fax Regular" family="Lucida Fax" weight="400" style="normal" stretch="normal" glyphs="lfax.ttf"/>
|
||||
<type name="Lucida-Handwriting-Italic" fullname="Lucida Handwriting Italic" family="Lucida Handwriting" weight="400" style="italic" stretch="normal" glyphs="lhandw.ttf"/>
|
||||
<type name="Lucida-Sans-Demibold-Italic" fullname="Lucida Sans Demibold Italic" family="Lucida Sans" weight="600" style="italic" stretch="normal" glyphs="lsansdi.ttf"/>
|
||||
<type name="Lucida-Sans-Demibold-Roman" fullname="Lucida Sans Demibold Roman" family="Lucida Sans Demibold" weight="400" style="normal" stretch="normal" glyphs="lsansd.ttf"/>
|
||||
<type name="Lucida-Sans-Regular" fullname="Lucida Sans Regular" family="Lucida Sans" weight="400" style="normal" stretch="normal" glyphs="lsans.ttf"/>
|
||||
<type name="Lucida-Sans-Typewriter-Bold" fullname="Lucida Sans Typewriter Bold" family="Lucida Sans Typewriter" weight="700" style="normal" stretch="normal" glyphs="ltypeb.ttf"/>
|
||||
<type name="Lucida-Sans-Typewriter-Bold-Oblique" fullname="Lucida Sans Typewriter Bold Oblique" family="Lucida Sans Typewriter" weight="700" style="normal" stretch="normal" glyphs="ltypebo.ttf"/>
|
||||
<type name="Lucida-Sans-Typewriter-Oblique" fullname="Lucida Sans Typewriter Oblique" family="Lucida Sans Typewriter" weight="700" style="normal" stretch="normal" glyphs="ltypeo.ttf"/>
|
||||
<type name="Lucida-Sans-Typewriter-Regular" fullname="Lucida Sans Typewriter Regular" family="Lucida Sans Typewriter" weight="400" style="normal" stretch="normal" glyphs="ltype.ttf"/>
|
||||
<type name="MS-Sans-Serif" fullname="MS Sans Serif" family="MS Sans Serif" weight="400" style="normal" stretch="normal" glyphs="sseriff.ttf"/>
|
||||
<type name="MS-Serif" fullname="MS Serif" family="MS Serif" weight="400" style="normal" stretch="normal" glyphs="seriff.ttf"/>
|
||||
<type name="Modern" fullname="Modern" family="Modern" weight="400" style="normal" stretch="normal" glyphs="modern.ttf"/>
|
||||
<type name="Monotype-Corsiva" fullname="Monotype Corsiva" family="Monotype Corsiva" weight="400" style="normal" stretch="normal" glyphs="mtcorsva.ttf"/>
|
||||
<type name="Small-Fonts" fullname="Small Fonts" family="Small Fonts" weight="400" style="normal" stretch="normal" glyphs="smallf.ttf"/>
|
||||
<type name="Symbol" fullname="Symbol" family="Symbol" weight="400" style="normal" stretch="normal" glyphs="symbol.ttf" encoding="AppleRoman"/>
|
||||
<type name="Tahoma" fullname="Tahoma" family="Tahoma" weight="400" style="normal" stretch="normal" glyphs="tahoma.ttf"/>
|
||||
<type name="Tahoma-Bold" fullname="Tahoma Bold" family="Tahoma" weight="700" style="normal" stretch="normal" glyphs="tahomabd.ttf"/>
|
||||
<type name="Times-New-Roman" fullname="Times New Roman" family="Times New Roman" weight="400" style="normal" stretch="normal" glyphs="times.ttf"/>
|
||||
<type name="Times-New-Roman-Bold" fullname="Times New Roman Bold" family="Times New Roman" weight="700" style="normal" stretch="normal" glyphs="timesbd.ttf"/>
|
||||
<type name="Times-New-Roman-Bold-Italic" fullname="Times New Roman Bold Italic" family="Times New Roman" weight="700" style="italic" stretch="normal" glyphs="timesbi.ttf"/>
|
||||
<type name="Times-New-Roman-Italic" fullname="Times New Roman Italic" family="Times New Roman" weight="400" style="italic" stretch="normal" glyphs="timesi.ttf"/>
|
||||
<type name="Times-New-Roman-MT-Extra-Bold" fullname="Times New Roman MT Extra Bold" family="Times New Roman MT" weight="800" style="normal" stretch="normal" glyphs="timnreb.ttf"/>
|
||||
<type name="Verdana" fullname="Verdana" family="Verdana" weight="400" style="normal" stretch="normal" glyphs="verdana.ttf"/>
|
||||
<type name="Verdana-Bold" fullname="Verdana Bold" family="Verdana" weight="700" style="normal" stretch="normal" glyphs="verdanab.ttf"/>
|
||||
<type name="Verdana-Bold-Italic" fullname="Verdana Bold Italic" family="Verdana" weight="700" style="italic" stretch="normal" glyphs="verdanaz.ttf"/>
|
||||
<type name="Verdana-Italic" fullname="Verdana Italic" family="Verdana" weight="400" style="italic" stretch="normal" glyphs="verdanai.ttf"/>
|
||||
<type name="Wingdings" fullname="Wingdings" family="Wingdings" weight="400" style="normal" stretch="normal" glyphs="wingding.ttf" encoding="AppleRoman"/>
|
||||
<type name="Wingdings-2" fullname="Wingdings 2" family="Wingdings 2" weight="400" style="normal" stretch="normal" glyphs="wingdng2.ttf" encoding="AppleRoman"/>
|
||||
<type name="Wingdings-3" fullname="Wingdings 3" family="Wingdings 3" weight="400" style="normal" stretch="normal" glyphs="wingdng3.ttf" encoding="AppleRoman"/>
|
||||
</typemap>
|
|
@ -1,75 +0,0 @@
|
|||
.TH ImageMagick 1 "Date: 2009/01/10 01:00:00" "ImageMagick"
|
||||
.SH NAME
|
||||
ImageMagick \- is a free software suite for the creation, modification and display of bitmap images.
|
||||
.SH SYNOPSIS
|
||||
\fBconvert\fP \fIinput-file\fP [\fIoptions\fP] \fIoutput-file\fP
|
||||
.SH OVERVIEW
|
||||
|
||||
ImageMagick\[rg], is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats (about 100) including GIF, JPEG, JPEG-2000, PNG, PDF, PhotoCD, TIFF, and DPX. Use ImageMagick to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and B\\['e]zier curves.
|
||||
|
||||
ImageMagick is free software delivered as a ready-to-run binary distribution or as source code that you can freely use, copy, modify, and distribute. Its license is compatible with the GPL. It runs on all major operating systems.
|
||||
|
||||
The functionality of ImageMagick is typically utilized from the command line or you can use the features from programs written in your favorite programming language. Choose from these interfaces: MagickCore (C), MagickWand (C), ChMagick (Ch), Magick++ (C++), JMagick (Java), L-Magick (Lisp), PascalMagick (Pascal), PerlMagick (Perl), MagickWand for PHP (PHP), PythonMagick (Python), RMagick (Ruby), or TclMagick (Tcl/TK). With a language interface, use ImageMagick to modify or create images automagically and dynamically.
|
||||
|
||||
ImageMagick includes a number of command-line utilities for manipulating images. Most of you are probably accustom to editing images one at a time with a graphical user interface (GUI) with such programs as gimp or Photoshop. However, a GUI is not always convenient. Suppose you want to process an image dynamically from a web script or you want to apply the same operations to many images or repeat a specific operation at different times to the same or different image. For these types of operations, the command-line image processing utility is appropriate.
|
||||
|
||||
In the paragraphs below, find a short description for each command-line tool.Cl
|
||||
ick on the program name to get details on the program usage and a list of comman
|
||||
d-line options that alters how the program performs. If you are just getting acq
|
||||
uainted with ImageMagick, start at the top of the list, the convert program, and
|
||||
work your way down. Also be sure to peruse Anthony Thyssen's tutorial on how to
|
||||
use ImageMagick utilities to convert, compose, or edit images from the command-
|
||||
line.
|
||||
.TP
|
||||
.B convert
|
||||
|
||||
convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more.
|
||||
.TP
|
||||
.B identify
|
||||
|
||||
describes the format and characteristics of one or more image files.
|
||||
.TP
|
||||
.B mogrify
|
||||
|
||||
resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. Mogrify overwrites the original image file, whereas, convert writes to a different image file.
|
||||
.TP
|
||||
.B composite
|
||||
|
||||
overlaps one image over another.
|
||||
.TP
|
||||
.B montage
|
||||
|
||||
create a composite image by combining several separate images. The images are tiled on the composite image optionally adorned with a border, frame, image name, and more.
|
||||
.TP
|
||||
.B compare
|
||||
|
||||
mathematically and visually annotate the difference between an image and its reconstruction..
|
||||
|
||||
.TP
|
||||
.B stream
|
||||
|
||||
is a lightweight tool to stream one or more pixel components of the image or portion of the image to your choice of storage formats. It writes the pixel components as they are read from the input image a row at a time making stream desirable when working with large images or when you require raw pixel components.
|
||||
|
||||
.TP
|
||||
.B display
|
||||
|
||||
displays an image or image sequence on any X server.
|
||||
.TP
|
||||
.B animate
|
||||
|
||||
animates an image sequence on any X server.
|
||||
.TP
|
||||
.B import
|
||||
|
||||
saves any visible window on an X server and outputs it as an image file. You can capture a single window, the entire screen, or any rectangular portion of the screen.
|
||||
.TP
|
||||
.B conjure
|
||||
|
||||
interprets and executes scripts written in the Magick Scripting Language (MSL).
|
||||
.PP
|
||||
For more information about the ImageMagick, point your browser to file:///home/santi/lms/ImageMagick-6.8.3-1/bin/share/doc/ImageMagick-6.8.3/index.html or http://www.imagemagick.org/.
|
||||
.SH SEE ALSO
|
||||
convert(1), identify(1), composite(1), montage(1), compare(1), display(1), animate(1), import(1), conjure(1), quantize(5), miff(4)
|
||||
|
||||
.SH COPYRIGHT
|
||||
\fBCopyright (C) 1999-2013 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file:///home/santi/lms/ImageMagick-6.8.3-1/bin/share/doc/ImageMagick-6.8.3/www/license.html or http://www.imagemagick.org/script/license.php\fP
|
|
@ -1,99 +0,0 @@
|
|||
.ad l
|
||||
.nh
|
||||
.TH Magick++-Config 1 "2 May 2002" "ImageMagick"
|
||||
.SH NAME
|
||||
Magick++-config \- get information about the installed version of Magick++
|
||||
.SH SYNOPSIS
|
||||
.B Magick++-config
|
||||
.B [--cppflags]
|
||||
.B [--cxxflags]
|
||||
.B [--exec-prefix]
|
||||
.B [--ldflags]
|
||||
.B [--libs]
|
||||
.B [--prefix]
|
||||
.B [--version]
|
||||
.SH DESCRIPTION
|
||||
.B Magick++-config
|
||||
prints the compiler and linker flags required to compile and link programs
|
||||
that use the
|
||||
.BR ImageMagick
|
||||
C++ Application Programmer Interface (known as
|
||||
.BR Magick++
|
||||
).
|
||||
.SH EXAMPLES
|
||||
To print the version of the installed distribution of
|
||||
.BR Magick++ ,
|
||||
use:
|
||||
|
||||
.nf
|
||||
Magick++-config \-\-version
|
||||
.fi
|
||||
|
||||
To compile a program that calls the
|
||||
.BR ImageMagick
|
||||
C++ Application Programmer Interface, use:
|
||||
|
||||
.nf
|
||||
c++ `Magick++-config \-\-cxxflags \-\-cppflags \-\-ldflags \-\-libs` program.cpp
|
||||
.fi
|
||||
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.B \-\-cppflags
|
||||
Print the preprocessor flags that are needed to find the
|
||||
.B ImageMagick
|
||||
C and C++ include files and defines to ensures that the ImageMagick data structures match between
|
||||
your program and the installed libraries.
|
||||
.TP
|
||||
.B \-\-cxxflags
|
||||
Print the compiler flags that were used to compile
|
||||
.BR libMagick++ .
|
||||
.TP
|
||||
.B \-\-exec-prefix
|
||||
Print the directory under which target specific binaries and executables are installed.
|
||||
.TP
|
||||
.B \-\-ldflags
|
||||
Print the linker flags that are needed to link with the
|
||||
.B libMagick++
|
||||
library.
|
||||
.TP
|
||||
.B \-\-libs
|
||||
Print the linker flags that are needed to link a program with
|
||||
.BR libMagick++ .
|
||||
.TP
|
||||
.B \-\-prefix
|
||||
Print the directory under which the package is installed.
|
||||
.TP
|
||||
.B \-\-version
|
||||
Print the version of the
|
||||
.B ImageMagick
|
||||
distribution to standard output.
|
||||
.SH COPYRIGHT
|
||||
Copyright (C) 2000 ImageMagick Studio LLC, a non-profit organization dedicated
|
||||
to making software imaging solutions freely available.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files ("ImageMagick"),
|
||||
to deal in ImageMagick without restriction, including without limitation
|
||||
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
and/or sell copies of ImageMagick, and to permit persons to whom the
|
||||
ImageMagick is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of ImageMagick.
|
||||
|
||||
The software is provided "as is", without warranty of any kind, express or
|
||||
implied, including but not limited to the warranties of merchantability,
|
||||
fitness for a particular purpose and noninfringement. In no event shall
|
||||
ImageMagick Studio be liable for any claim, damages or other liability,
|
||||
whether in an action of contract, tort or otherwise, arising from, out of
|
||||
or in connection with ImageMagick or the use or other dealings in
|
||||
ImageMagick.
|
||||
|
||||
Except as contained in this notice, the name of the ImageMagick Studio
|
||||
shall not be used in advertising or otherwise to promote the sale, use or
|
||||
other dealings in ImageMagick without prior written authorization from the
|
||||
ImageMagick Studio.
|
||||
.SH AUTHORS
|
||||
Bob Friesenhahn, ImageMagick Studio
|
||||
|
|
@ -1,96 +0,0 @@
|
|||
.TH animate 1 "Date: 2009/01/10 01:00:00" "ImageMagick"
|
||||
.SH NAME
|
||||
animate \- animates an image or image sequence on any X server.
|
||||
.SH SYNOPSIS
|
||||
.TP
|
||||
\fBanimate\fP [\fIoptions\fP] \fIinput-file\fP
|
||||
.SH OVERVIEW
|
||||
The \fBanimate\fP program is a member of the ImageMagick(1) suite of tools. Use it to animate an image or image sequence on any X server.
|
||||
|
||||
For more information about the animate command, point your browser to file:///home/santi/lms/ImageMagick-6.8.3-1/bin/share/doc/ImageMagick-6.8.3/www/animate.html or http://www.imagemagick.org/script/animate.php.
|
||||
.SH DESCRIPTION
|
||||
Image Settings:
|
||||
\-authenticate value decrypt image with this password
|
||||
\-backdrop display image centered on a backdrop
|
||||
\-channel type apply option to select image channels
|
||||
\-colormap type Shared or Private
|
||||
\-colorspace type alternate image colorspace
|
||||
\-decipher filename convert cipher pixels to plain pixels
|
||||
\-define format:option
|
||||
define one or more image format options
|
||||
\-delay value display the next image after pausing
|
||||
\-density geometry horizontal and vertical density of the image
|
||||
\-depth value image depth
|
||||
\-display server display image to this X server
|
||||
\-dispose method layer disposal method
|
||||
\-dither method apply error diffusion to image
|
||||
\-format "string" output formatted image characteristics
|
||||
\-gamma value level of gamma correction
|
||||
\-geometry geometry preferred size and location of the Image window
|
||||
\-gravity type horizontal and vertical backdrop placement
|
||||
\-identify identify the format and characteristics of the image
|
||||
\-immutable displayed image cannot be modified
|
||||
\-interlace type type of image interlacing scheme
|
||||
\-interpolate method pixel color interpolation method
|
||||
\-limit type value pixel cache resource limit
|
||||
\-loop iterations loop images then exit
|
||||
\-matte store matte channel if the image has one
|
||||
\-map type display image using this Standard Colormap
|
||||
\-monitor monitor progress
|
||||
\-pause seconds to pause before reanimating
|
||||
\-page geometry size and location of an image canvas (setting)
|
||||
\-quantize colorspace reduce colors in this colorspace
|
||||
\-quiet suppress all warning messages
|
||||
\-regard-warnings pay attention to warning messages
|
||||
\-remote command execute a command in an remote display process
|
||||
\-sampling-factor geometry
|
||||
horizontal and vertical sampling factor
|
||||
\-scenes range image scene range
|
||||
\-seed value seed a new sequence of pseudo-random numbers
|
||||
\-set attribute value set an image attribute
|
||||
\-size geometry width and height of image
|
||||
\-support factor resize support: > 1.0 is blurry, < 1.0 is sharp
|
||||
\-transparent-color color
|
||||
transparent color
|
||||
\-treedepth value color tree depth
|
||||
\-verbose print detailed information about the image
|
||||
\-visual type display image using this visual type
|
||||
\-virtual-pixel method
|
||||
virtual pixel access method
|
||||
\-window id display image to background of this window
|
||||
|
||||
Image Operators:
|
||||
\-colors value preferred number of colors in the image
|
||||
\-crop geometry preferred size and location of the cropped image
|
||||
\-extract geometry extract area from image
|
||||
\-monochrome transform image to black and white
|
||||
\-repage geometry size and location of an image canvas (operator)
|
||||
\-resample geometry change the resolution of an image
|
||||
\-resize geometry resize the image
|
||||
\-rotate degrees apply Paeth rotation to the image
|
||||
\-strip strip image of all profiles and comments
|
||||
\-trim trim image edges
|
||||
|
||||
Image Sequence Operators:
|
||||
\-coalesce merge a sequence of images
|
||||
\-flatten flatten a sequence of images
|
||||
|
||||
Miscellaneous Options:
|
||||
\-debug events display copious debugging information
|
||||
\-help print program options
|
||||
\-log format format of debugging information
|
||||
\-list type print a list of supported option arguments
|
||||
\-version print version information
|
||||
|
||||
In addition to those listed above, you can specify these standard X resources as command line options: \-background, \-bordercolor, \-borderwidth, \-font, \-foreground, \-iconGeometry, \-iconic, \-name, \-mattecolor, \-shared-memory, or \-title.
|
||||
|
||||
By default, the image format of `file' is determined by its magic number. To specify a particular image format, precede the filename with an image format name and a colon (i.e. ps:image) or specify the image type as the filename suffix (i.e. image.ps). Specify 'file' as '-' for standard input or output.
|
||||
|
||||
Buttons:
|
||||
1 press to map or unmap the Command widget
|
||||
.SH SEE ALSO
|
||||
ImageMagick(1)
|
||||
|
||||
.SH COPYRIGHT
|
||||
|
||||
\fBCopyright (C) 1999-2013 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file:///home/santi/lms/ImageMagick-6.8.3-1/bin/share/doc/ImageMagick-6.8.3/www/license.html or http://www.imagemagick.org/script/license.php\fP
|
|
@ -1,69 +0,0 @@
|
|||
.TH compare 1 "Date: 2009/01/10 01:00:00" "ImageMagick"
|
||||
.SH NAME
|
||||
compare \- mathematically and visually annotate the difference between an image and its reconstruction.
|
||||
.SH SYNOPSIS
|
||||
.TP
|
||||
\fBcompare\fP \fIinput-file\fP \fIinput-file\fP [\fIoptions\fP] \fIoutput-file\fP
|
||||
.SH OVERVIEW
|
||||
The \fBcompare\fP program is a member of the ImageMagick(1) suite of tools. Use it to mathematically and visually annotate the difference between an image and its reconstruction.
|
||||
|
||||
For more information about the compare command, point your browser to file:///home/santi/lms/ImageMagick-6.8.3-1/bin/share/doc/ImageMagick-6.8.3/www/compare.html or http://www.imagemagick.org/script/compare.php.
|
||||
.SH DESCRIPTION
|
||||
Image Settings:
|
||||
\-authenticate value decrypt image with this password
|
||||
\-channel type apply option to select image channels
|
||||
\-colorspace type alternate image colorspace
|
||||
\-compose operator set image composite operator
|
||||
\-compress type type of pixel compression when writing the image
|
||||
\-decipher filename convert cipher pixels to plain pixels
|
||||
\-define format:option
|
||||
define one or more image format options
|
||||
\-density geometry horizontal and vertical density of the image
|
||||
\-depth value image depth
|
||||
\-encipher filename convert plain pixels to cipher pixels
|
||||
\-extract geometry extract area from image
|
||||
\-format "string" output formatted image characteristics
|
||||
\-fuzz distance colors within this distance are considered equal
|
||||
\-identify identify the format and characteristics of the image
|
||||
\-interlace type type of image interlacing scheme
|
||||
\-highlight-color color
|
||||
emphasize pixel differences with this color
|
||||
\-limit type value pixel cache resource limit
|
||||
\-lowlight-color color
|
||||
de-emphasize pixel differences with this color
|
||||
\-metric type measure differences between images with this metric
|
||||
\-monitor monitor progress
|
||||
\-profile filename add, delete, or apply an image profile
|
||||
\-quality value JPEG/MIFF/PNG compression level
|
||||
\-quiet suppress all warning messages
|
||||
\-quantize colorspace reduce colors in this colorspace
|
||||
\-regard-warnings pay attention to warning messages
|
||||
\-sampling-factor geometry
|
||||
horizontal and vertical sampling factor
|
||||
\-seed value seed a new sequence of pseudo-random numbers
|
||||
\-set attribute value set an image attribute
|
||||
\-size geometry width and height of image
|
||||
\-subimage-search search for subimage
|
||||
\-synchronize synchronize image to storage device
|
||||
\-taint declare the image as modified
|
||||
\-transparent-color color
|
||||
transparent color
|
||||
\-type type image type
|
||||
\-verbose print detailed information about the image
|
||||
\-virtual-pixel method
|
||||
virtual pixel access method
|
||||
|
||||
Miscellaneous Options:
|
||||
\-debug events display copious debugging information
|
||||
\-help print program options
|
||||
\-log format format of debugging information
|
||||
\-list type print a list of supported option arguments
|
||||
\-version print version information
|
||||
|
||||
By default, the image format of `file' is determined by its magic number. To specify a particular image format, precede the filename with an image format name and a colon (i.e. ps:image) or specify the image type as the filename suffix (i.e. image.ps). Specify 'file' as '-' for standard input or output.
|
||||
.SH SEE ALSO
|
||||
ImageMagick(1)
|
||||
|
||||
.SH COPYRIGHT
|
||||
|
||||
\fBCopyright (C) 1999-2013 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file:///home/santi/lms/ImageMagick-6.8.3-1/bin/share/doc/ImageMagick-6.8.3/www/license.html or http://www.imagemagick.org/script/license.php\fP
|
|
@ -1,106 +0,0 @@
|
|||
.TH composite 1 "Date: 2009/01/10 01:00:00" "ImageMagick"
|
||||
.SH NAME
|
||||
composite \- overlaps one image over another.
|
||||
.SH SYNOPSIS
|
||||
.TP
|
||||
\fBcomposite\fP \fB[\fP \fIoptions\fP \fB... ]\fP \fIchange-file base-file\fP \fB[\fP \fImask-file\fP \fB]\fP \fIoutput-image\fP
|
||||
.SH OVERVIEW
|
||||
The \fBcomposite\fP program is a member of the ImageMagick(1) suite of tools. Use it to overlap one image over another.
|
||||
|
||||
For more information about the composite command, point your browser to file:///home/santi/lms/ImageMagick-6.8.3-1/bin/share/doc/ImageMagick-6.8.3/www/composite.html or http://www.imagemagick.org/script/composite.php.
|
||||
.SH DESCRIPTION
|
||||
Image Settings:
|
||||
\-affine matrix affine transform matrix
|
||||
\-authenticate value decrypt image with this password
|
||||
\-blue-primary point chromaticity blue primary point
|
||||
\-channel type apply option to select image channels
|
||||
\-colorspace type alternate image colorspace
|
||||
\-comment string annotate image with comment
|
||||
\-compose operator composite operator
|
||||
\-compress type type of pixel compression when writing the image
|
||||
\-decipher filename convert cipher pixels to plain pixels
|
||||
\-define format:option
|
||||
define one or more image format options
|
||||
\-depth value image depth
|
||||
\-density geometry horizontal and vertical density of the image
|
||||
\-display server get image or font from this X server
|
||||
\-dispose method layer disposal method
|
||||
\-dither method apply error diffusion to image
|
||||
\-encipher filename convert plain pixels to cipher pixels
|
||||
\-encoding type text encoding type
|
||||
\-endian type endianness (MSB or LSB) of the image
|
||||
\-filter type use this filter when resizing an image
|
||||
\-font name render text with this font
|
||||
\-format "string" output formatted image characteristics
|
||||
\-gravity type which direction to gravitate towards
|
||||
\-green-primary point chromaticity green primary point
|
||||
\-interlace type type of image interlacing scheme
|
||||
\-interpolate method pixel color interpolation method
|
||||
\-label string assign a label to an image
|
||||
\-limit type value pixel cache resource limit
|
||||
\-matte store matte channel if the image has one
|
||||
\-monitor monitor progress
|
||||
\-page geometry size and location of an image canvas (setting)
|
||||
\-pointsize value font point size
|
||||
\-quality value JPEG/MIFF/PNG compression level
|
||||
\-quiet suppress all warning messages
|
||||
\-red-primary point chromaticity red primary point
|
||||
\-regard-warnings pay attention to warning messages
|
||||
\-sampling-factor geometry
|
||||
horizontal and vertical sampling factor
|
||||
\-scene value image scene number
|
||||
\-seed value seed a new sequence of pseudo-random numbers
|
||||
\-size geometry width and height of image
|
||||
\-support factor resize support: > 1.0 is blurry, < 1.0 is sharp
|
||||
\-synchronize synchronize image to storage device
|
||||
\-taint declare the image as modified
|
||||
\-transparent-color color
|
||||
transparent color
|
||||
\-treedepth value color tree depth
|
||||
\-tile repeat composite operation across and down image
|
||||
\-units type the units of image resolution
|
||||
\-verbose print detailed information about the image
|
||||
\-virtual-pixel method
|
||||
virtual pixel access method
|
||||
\-white-point point chromaticity white point
|
||||
|
||||
Image Operators:
|
||||
\-blend geometry blend images
|
||||
\-colors value preferred number of colors in the image
|
||||
\-displace geometry shift image pixels defined by a displacement map
|
||||
\-dissolve value dissolve the two images a given percent
|
||||
\-extract geometry extract area from image
|
||||
\-geometry geometry location of the composite image
|
||||
\-identify identify the format and characteristics of the image
|
||||
\-monochrome transform image to black and white
|
||||
\-negate replace each pixel with its complementary color
|
||||
\-profile filename add ICM or IPTC information profile to image
|
||||
\-quantize colorspace reduce colors in this colorspace
|
||||
\-repage geometry size and location of an image canvas (operator)
|
||||
\-rotate degrees apply Paeth rotation to the image
|
||||
\-resize geometry resize the image
|
||||
\-sharpen geometry sharpen the image
|
||||
\-stegano offset hide watermark within an image
|
||||
\-stereo combine two image to create a stereo anaglyph
|
||||
\-strip strip image of all profiles and comments
|
||||
\-thumbnail geometry create a thumbnail of the image
|
||||
\-transform affine transform image
|
||||
\-type type image type
|
||||
\-unsharp geometry sharpen the image
|
||||
\-watermark geometry percent brightness and saturation of a watermark
|
||||
\-write filename write images to this file
|
||||
|
||||
Miscellaneous Options:
|
||||
\-debug events display copious debugging information
|
||||
\-help print program options
|
||||
\-log format format of debugging information
|
||||
\-list type print a list of supported option arguments
|
||||
\-version print version information
|
||||
|
||||
By default, the image format of `file' is determined by its magic number. To specify a particular image format, precede the filename with an image format name and a colon (i.e. ps:image) or specify the image type as the filename suffix (i.e. image.ps). Specify 'file' as '-' for standard input or output.
|
||||
.SH SEE ALSO
|
||||
ImageMagick(1)
|
||||
|
||||
.SH COPYRIGHT
|
||||
|
||||
\fBCopyright (C) 1999-2013 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file:///home/santi/lms/ImageMagick-6.8.3-1/bin/share/doc/ImageMagick-6.8.3/www/license.html or http://www.imagemagick.org/script/license.php\fP
|
|
@ -1,34 +0,0 @@
|
|||
.TH conjure 1 "Date: 2009/01/10 01:00:00" "ImageMagick"
|
||||
.SH NAME
|
||||
conjure \- interprets and executes scripts written in the Magick Scripting Language (MSL).
|
||||
.SH SYNOPSIS
|
||||
.TP
|
||||
\fBconjure\fP [\fIoptions\fP] \fIscript.msl\fP
|
||||
.SH OVERVIEW
|
||||
The \fBconjure\fP program is a member of the ImageMagick(1) suite of tools. Use it to process a Magick Scripting Language (MSL) script. The Magick scripting language (MSL) will primarily benefit those that want to accomplish custom image processing tasks but do not wish to program, or those that do not have access to a Perl interpreter or a compiler.
|
||||
|
||||
For more information about the conjure command, point your browser to file:///home/santi/lms/ImageMagick-6.8.3-1/bin/share/doc/ImageMagick-6.8.3/www/conjure.html or http://www.imagemagick.org/script/conjure.php.
|
||||
.SH DESCRIPTION
|
||||
Image Settings:
|
||||
\-monitor monitor progress
|
||||
\-quiet suppress all warning messages
|
||||
\-regard-warnings pay attention to warning messages
|
||||
\-seed value seed a new sequence of pseudo-random numbers
|
||||
\-verbose print detailed information about the image
|
||||
|
||||
Miscellaneous Options:
|
||||
\-debug events display copious debugging information
|
||||
\-help print program options
|
||||
\-log format format of debugging information
|
||||
\-list type print a list of supported option arguments
|
||||
\-version print version information
|
||||
|
||||
In additiion, define any key value pairs required by your script. For example,
|
||||
|
||||
conjure \-size 100x100 \-color blue \-foo bar script.msl
|
||||
.SH SEE ALSO
|
||||
ImageMagick(1)
|
||||
|
||||
.SH COPYRIGHT
|
||||
|
||||
\fBCopyright (C) 1999-2013 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file:///home/santi/lms/ImageMagick-6.8.3-1/bin/share/doc/ImageMagick-6.8.3/www/license.html or http://www.imagemagick.org/script/license.php\fP
|
|
@ -1,276 +0,0 @@
|
|||
.TH convert 1 "Date: 2009/01/10 01:00:00" "ImageMagick"
|
||||
.SH NAME
|
||||
convert \- convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more.
|
||||
.SH SYNOPSIS
|
||||
.TP
|
||||
\fBconvert\fP [\fIinput-option\fP] \fIinput-file\fP [\fIoutput-option\fP] \fIoutput-file\fP
|
||||
.SH OVERVIEW
|
||||
The \fBconvert\fP program is a member of the ImageMagick(1) suite of tools. Use it to convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more.
|
||||
|
||||
For more information about the convert command, point your browser to file:///home/santi/lms/ImageMagick-6.8.3-1/bin/share/doc/ImageMagick-6.8.3/www/convert.html or http://www.imagemagick.org/script/convert.php.
|
||||
.SH DESCRIPTION
|
||||
Image Settings:
|
||||
\-adjoin join images into a single multi-image file
|
||||
\-affine matrix affine transform matrix
|
||||
\-antialias remove pixel-aliasing
|
||||
\-authenticate value decrypt image with this password
|
||||
\-background color background color
|
||||
\-bias value add bias when convolving an image
|
||||
\-black-point-compensation
|
||||
use black point compensation
|
||||
\-blue-primary point chromaticity blue primary point
|
||||
\-bordercolor color border color
|
||||
\-caption string assign a caption to an image
|
||||
\-cdl filename color correct with a color decision list
|
||||
\-channel type apply option to select image channels
|
||||
\-colors value preferred number of colors in the image
|
||||
\-colorspace type alternate image colorspace
|
||||
\-comment string annotate image with comment
|
||||
\-compose operator set image composite operator
|
||||
\-compress type type of pixel compression when writing the image
|
||||
\-decipher filename convert cipher pixels to plain pixels
|
||||
\-define format:option
|
||||
define one or more image format options
|
||||
\-delay value display the next image after pausing
|
||||
\-density geometry horizontal and vertical density of the image
|
||||
\-depth value image depth
|
||||
\-direction type render text right-to-left or left-to-right
|
||||
\-display server get image or font from this X server
|
||||
\-dispose method layer disposal method
|
||||
\-dither method apply error diffusion to image
|
||||
\-encipher filename convert plain pixels to cipher pixels
|
||||
\-encoding type text encoding type
|
||||
\-endian type endianness (MSB or LSB) of the image
|
||||
\-family name render text with this font family
|
||||
\-features distance analyze image features (e.g. contrast, correlation)
|
||||
\-fill color color to use when filling a graphic primitive
|
||||
\-filter type use this filter when resizing an image
|
||||
\-flatten flatten a sequence of images
|
||||
\-font name render text with this font
|
||||
\-format "string" output formatted image characteristics
|
||||
\-fuzz distance colors within this distance are considered equal
|
||||
\-gravity type horizontal and vertical text placement
|
||||
\-green-primary point chromaticity green primary point
|
||||
\-intent type type of rendering intent when managing the image color
|
||||
\-interlace type type of image interlacing scheme
|
||||
\-interpolate method pixel color interpolation method
|
||||
\-kerning value set the space between two letters
|
||||
\-label string assign a label to an image
|
||||
\-limit type value pixel cache resource limit
|
||||
\-loop iterations add Netscape loop extension to your GIF animation
|
||||
\-mask filename associate a mask with the image
|
||||
\-matte store matte channel if the image has one
|
||||
\-mattecolor color frame color
|
||||
\-monitor monitor progress
|
||||
\-orient type image orientation
|
||||
\-origin geometry image origin
|
||||
\-page geometry size and location of an image canvas (setting)
|
||||
\-ping efficiently determine image attributes
|
||||
\-pointsize value font point size
|
||||
\-preview type image preview type
|
||||
\-quality value JPEG/MIFF/PNG compression level
|
||||
\-quiet suppress all warning messages
|
||||
\-red-primary point chromaticity red primary point
|
||||
\-regard-warnings pay attention to warning messages
|
||||
\-sampling-factor geometry
|
||||
horizontal and vertical sampling factor
|
||||
\-scene value image scene number
|
||||
\-seed value seed a new sequence of pseudo-random numbers
|
||||
\-size geometry width and height of image
|
||||
\-statistic type geometry
|
||||
replace each pixel with corresponding statistic from the neighborhood
|
||||
\-stretch type render text with this font stretch
|
||||
\-stroke color graphic primitive stroke color
|
||||
\-strokewidth value graphic primitive stroke width
|
||||
\-style type render text with this font style
|
||||
\-support factor resize support: > 1.0 is blurry, < 1.0 is sharp
|
||||
\-synchronize synchronize image to storage device
|
||||
\-taint declare the image as modified
|
||||
\-texture filename name of texture to tile onto the image background
|
||||
\-tile-offset geometry
|
||||
tile offset
|
||||
\-treedepth value color tree depth
|
||||
\-transparent-color color
|
||||
transparent color
|
||||
\-undercolor color annotation bounding box color
|
||||
\-units type the units of image resolution
|
||||
\-verbose print detailed information about the image
|
||||
\-view FlashPix viewing transforms
|
||||
\-virtual-pixel method
|
||||
virtual pixel access method
|
||||
\-weight type render text with this font weight
|
||||
\-white-point point chromaticity white point
|
||||
|
||||
Image Operators:
|
||||
\-adaptive-blur geometry
|
||||
adaptively blur pixels; decrease effect near edges
|
||||
\-adaptive-resize geometry
|
||||
adaptively resize image with data dependent triangulation
|
||||
\-adaptive-sharpen geometry
|
||||
adaptively sharpen pixels; increase effect near edges
|
||||
\-annotate geometry text
|
||||
annotate the image with text
|
||||
\-auto-orient automatically orient image
|
||||
\-black-threshold value
|
||||
force all pixels below the threshold into black
|
||||
\-blur geometry reduce image noise and reduce detail levels
|
||||
\-border geometry surround image with a border of color
|
||||
\-charcoal radius simulate a charcoal drawing
|
||||
\-chop geometry remove pixels from the image interior
|
||||
\-clamp keep pixel values in range (0-QuantumRange)
|
||||
\-clip clip along the first path from the 8BIM profile
|
||||
\-clip-mask filename associate a clip mask with the image
|
||||
\-clip-path id clip along a named path from the 8BIM profile
|
||||
\-colorize value colorize the image with the fill color
|
||||
\-color-matrix matrix apply color correction to the image
|
||||
\-contrast enhance or reduce the image contrast
|
||||
\-contrast-stretch geometry
|
||||
improve contrast by `stretching' the intensity range
|
||||
\-convolve coefficients
|
||||
apply a convolution kernel to the image
|
||||
\-cycle amount cycle the image colormap
|
||||
\-despeckle reduce the speckles within an image
|
||||
\-draw string annotate the image with a graphic primitive
|
||||
\-edge radius apply a filter to detect edges in the image
|
||||
\-emboss radius emboss an image
|
||||
\-enhance apply a digital filter to enhance a noisy image
|
||||
\-equalize perform histogram equalization to an image
|
||||
\-evaluate operator value
|
||||
evaluate an arithmetic, relational, or logical expression
|
||||
\-extent geometry set the image size
|
||||
\-extract geometry extract area from image
|
||||
\-fft implements the discrete Fourier transform (DFT)
|
||||
\-flip flip image vertically
|
||||
\-floodfill geometry color
|
||||
floodfill the image with color
|
||||
\-flop flop image horizontally
|
||||
\-frame geometry surround image with an ornamental border
|
||||
\-function name apply a function to the image
|
||||
\-gamma value level of gamma correction
|
||||
\-gaussian-blur geometry
|
||||
reduce image noise and reduce detail levels
|
||||
\-geometry geometry preferred size or location of the image
|
||||
\-identify identify the format and characteristics of the image
|
||||
\-ift implements the inverse discrete Fourier transform (DFT)
|
||||
\-implode amount implode image pixels about the center
|
||||
\-lat geometry local adaptive thresholding
|
||||
\-layers method optimize or compare image layers
|
||||
\-level value adjust the level of image contrast
|
||||
\-linear-stretch geometry
|
||||
improve contrast by `stretching with saturation' the intensity range
|
||||
\-median geometry apply a median filter to the image
|
||||
\-mode geometry make each pixel the 'predominant color' of the neighborhood
|
||||
\-modulate value vary the brightness, saturation, and hue
|
||||
\-monochrome transform image to black and white
|
||||
\-morphology method kernel
|
||||
apply a morphology method to the image
|
||||
\-motion-blur geometry
|
||||
simulate motion blur
|
||||
\-negate replace each pixel with its complementary color
|
||||
\-noise geometry add or reduce noise in an image
|
||||
\-normalize transform image to span the full range of colors
|
||||
\-opaque color change this color to the fill color
|
||||
\-ordered-dither NxN
|
||||
add a noise pattern to the image with specific amplitudes
|
||||
\-paint radius simulate an oil painting
|
||||
\-perceptible epsilon
|
||||
pixel value less than |epsilon| become epsilon or -epsilon
|
||||
\-polaroid angle simulate a Polaroid picture
|
||||
\-posterize levels reduce the image to a limited number of color levels
|
||||
\-print string interpret string and print to console
|
||||
\-profile filename add, delete, or apply an image profile
|
||||
\-quantize colorspace reduce colors in this colorspace
|
||||
\-radial-blur angle radial blur the image
|
||||
\-raise value lighten/darken image edges to create a 3-D effect
|
||||
\-random-threshold low,high
|
||||
random threshold the image
|
||||
\-region geometry apply options to a portion of the image
|
||||
\-render render vector graphics
|
||||
\-repage geometry size and location of an image canvas
|
||||
\-resample geometry change the resolution of an image
|
||||
\-resize geometry resize the image
|
||||
\-roll geometry roll an image vertically or horizontally
|
||||
\-rotate degrees apply Paeth rotation to the image
|
||||
\-sample geometry scale image with pixel sampling
|
||||
\-scale geometry scale the image
|
||||
\-segment values segment an image
|
||||
\-selective-blur geometry
|
||||
selectively blur pixels within a contrast threshold
|
||||
\-sepia-tone threshold
|
||||
simulate a sepia-toned photo
|
||||
\-set property value set an image property
|
||||
\-shade degrees shade the image using a distant light source
|
||||
\-shadow geometry simulate an image shadow
|
||||
\-sharpen geometry sharpen the image
|
||||
\-shave geometry shave pixels from the image edges
|
||||
\-shear geometry slide one edge of the image along the X or Y axis
|
||||
\-sigmoidal-contrast geometry
|
||||
lightness rescaling using sigmoidal contrast enhancement
|
||||
\-sketch geometry simulate a pencil sketch
|
||||
\-solarize threshold negate all pixels above the threshold level
|
||||
\-splice geometry splice the background color into the image
|
||||
\-spread amount displace image pixels by a random amount
|
||||
\-strip strip image of all profiles and comments
|
||||
\-swirl degrees swirl image pixels about the center
|
||||
\-threshold value threshold the image
|
||||
\-thumbnail geometry create a thumbnail of the image
|
||||
\-tile filename tile image when filling a graphic primitive
|
||||
\-tint value tint the image with the fill color
|
||||
\-transform affine transform image
|
||||
\-transparent color make this color transparent within the image
|
||||
\-transpose flip image vertically and rotate 90 degrees
|
||||
\-transverse flop image horizontally and rotate 270 degrees
|
||||
\-trim trim image edges
|
||||
\-type type image type
|
||||
\-unique-colors discard all but one of any pixel color
|
||||
\-unsharp geometry sharpen the image
|
||||
\-vignette geometry soften the edges of the image in vignette style
|
||||
\-wave geometry alter an image along a sine wave
|
||||
\-white-threshold value
|
||||
force all pixels above the threshold into white
|
||||
|
||||
Image Sequence Operators:
|
||||
\-affinity filename transform image colors to match this set of colors
|
||||
\-append append an image sequence top to bottom (use +append for left to right)
|
||||
\-clut apply a color lookup table to the image
|
||||
\-coalesce merge a sequence of images
|
||||
\-combine combine a sequence of images
|
||||
\-composite composite image
|
||||
\-crop geometry cut out a rectangular region of the image
|
||||
\-deconstruct break down an image sequence into constituent parts
|
||||
\-evaluate-sequence operator
|
||||
evaluate an arithmetic, relational, or logical expression
|
||||
\-flatten flatten a sequence of images
|
||||
\-fx expression apply mathematical expression to an image channel(s)
|
||||
\-hald-clut apply a Hald color lookup table to the image
|
||||
\-morph value morph an image sequence
|
||||
\-mosaic create a mosaic from an image sequence
|
||||
\-poly terms build a polynomial from the image sequence and the corresponding terms (coefficients and degree pairs)
|
||||
\-process arguments process the image with a custom image filter
|
||||
\-separate separate an image channel into a grayscale image
|
||||
\-smush geometry smush an image sequence together
|
||||
\-write filename write images to this file
|
||||
|
||||
Image Stack Operators:
|
||||
\-clone indexes clone an image
|
||||
\-delete indexes delete the image from the image sequence
|
||||
\-duplicate count,indexes
|
||||
duplicate an image one or more times
|
||||
\-insert index insert last image into the image sequence
|
||||
\-swap indexes swap two images in the image sequence
|
||||
|
||||
Miscellaneous Options:
|
||||
\-debug events display copious debugging information
|
||||
\-help print program options
|
||||
\-log format format of debugging information
|
||||
\-list type print a list of supported option arguments
|
||||
\-version print version information
|
||||
|
||||
Use any setting or operator as an \fIoutput-option\fP. Only a limited number of setting are \fIinput-option\fP. They include: \-antialias, \-caption, \-density, \-define, \-encoding, \-font, \-pointsize, \-size, and \-texture as well as any of the miscellaneous options.
|
||||
|
||||
By default, the image format of `file' is determined by its magic number. To specify a particular image format, precede the filename with an image format name and a colon (i.e. ps:image) or specify the image type as the filename suffix (i.e. image.ps). Specify 'file' as '-' for standard input or output.
|
||||
.SH SEE ALSO
|
||||
ImageMagick(1)
|
||||
|
||||
.SH COPYRIGHT
|
||||
\fBCopyright (C) 1999-2013 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file:///home/santi/lms/ImageMagick-6.8.3-1/bin/share/doc/ImageMagick-6.8.3/www/license.html or http://www.imagemagick.org/script/license.php\fP
|
|
@ -1,132 +0,0 @@
|
|||
.TH display 1 "Date: 2009/01/10 01:00:00" "ImageMagick"
|
||||
.SH NAME
|
||||
display \- displays an image or image sequence on any X server.
|
||||
.SH SYNOPSIS
|
||||
.TP
|
||||
\fBdisplay\fP [\fIoptions\fP] \fIinput-file\fP
|
||||
.SH OVERVIEW
|
||||
The \fBdisplay\fP program is a member of the ImageMagick(1) suite of tools. Use it to display an image or image sequence on any X server.
|
||||
|
||||
For more information about the display command, point your browser to file:///home/santi/lms/ImageMagick-6.8.3-1/bin/share/doc/ImageMagick-6.8.3/www/display.html or http://www.imagemagick.org/script/display.php.
|
||||
.SH DESCRIPTION
|
||||
Image Settings:
|
||||
\-antialias remove pixel-aliasing
|
||||
\-authenticate value decrypt image with this password
|
||||
\-backdrop display image centered on a backdrop
|
||||
\-channel type apply option to select image channels
|
||||
\-colormap type Shared or Private
|
||||
\-colorspace type alternate image colorspace
|
||||
\-comment string annotate image with comment
|
||||
\-compress type type of pixel compression when writing the image
|
||||
\-decipher filename convert cipher pixels to plain pixels
|
||||
\-define format:option
|
||||
define one or more image format options
|
||||
\-delay value display the next image after pausing
|
||||
\-density geometry horizontal and vertical density of the image
|
||||
\-depth value image depth
|
||||
\-display server display image to this X server
|
||||
\-dispose method layer disposal method
|
||||
\-dither method apply error diffusion to image
|
||||
\-endian type endianness (MSB or LSB) of the image
|
||||
\-equalize perform histogram equalization to an image
|
||||
\-filter type use this filter when resizing an image
|
||||
\-format "string" output formatted image characteristics
|
||||
\-fuzz distance colors within this distance are considered equal
|
||||
\-geometry geometry preferred size and location of the Image window
|
||||
\-gravity type horizontal and vertical backdrop placement
|
||||
\-identify identify the format and characteristics of the image
|
||||
\-immutable displayed image cannot be modified
|
||||
\-interlace type type of image interlacing scheme
|
||||
\-interpolate method pixel color interpolation method
|
||||
\-label string assign a label to an image
|
||||
\-limit type value pixel cache resource limit
|
||||
\-loop iterations loop images then exit
|
||||
\-map type display image using this Standard Colormap
|
||||
\-matte store matte channel if the image has one
|
||||
\-monitor monitor progress
|
||||
\-page geometry size and location of an image canvas
|
||||
\-profile filename add, delete, or apply an image profile
|
||||
\-quality value JPEG/MIFF/PNG compression level
|
||||
\-quantize colorspace reduce colors in this colorspace
|
||||
\-quiet suppress all warning messages
|
||||
\-regard-warnings pay attention to warning messages
|
||||
\-remote command execute a command in an remote display process
|
||||
\-repage geometry size and location of an image canvas (operator)
|
||||
\-sampling-factor geometry
|
||||
horizontal and vertical sampling factor
|
||||
\-scenes range image scene range
|
||||
\-seed value seed a new sequence of pseudo-random numbers
|
||||
\-set property value set an image property
|
||||
\-size geometry width and height of image
|
||||
\-support factor resize support: > 1.0 is blurry, < 1.0 is sharp
|
||||
\-texture filename name of texture to tile onto the image background
|
||||
\-transparent-color color
|
||||
transparent color
|
||||
\-treedepth value color tree depth
|
||||
\-update seconds detect when image file is modified and redisplay
|
||||
\-verbose print detailed information about the image
|
||||
\-visual type display image using this visual type
|
||||
\-virtual-pixel method
|
||||
virtual pixel access method
|
||||
\-window id display image to background of this window
|
||||
\-window-group id exit program when this window id is destroyed
|
||||
\-write filename write image to a file
|
||||
|
||||
Image Operators:
|
||||
\-auto-orient automatically orient image
|
||||
\-border geometry surround image with a border of color
|
||||
\-clip clip along the first path from the 8BIM profile
|
||||
\-clip-path id clip along a named path from the 8BIM profile
|
||||
\-colors value preferred number of colors in the image
|
||||
\-contrast enhance or reduce the image contrast
|
||||
\-crop geometry preferred size and location of the cropped image
|
||||
\-despeckle reduce the speckles within an image
|
||||
\-edge factor apply a filter to detect edges in the image
|
||||
\-enhance apply a digital filter to enhance a noisy image
|
||||
\-extract geometry extract area from image
|
||||
\-flip flip image in the vertical direction
|
||||
\-flop flop image in the horizontal direction
|
||||
\-frame geometry surround image with an ornamental border
|
||||
\-gamma value level of gamma correction
|
||||
\-monochrome transform image to black and white
|
||||
\-negate replace each pixel with its complementary color
|
||||
\-raise value lighten/darken image edges to create a 3-D effect
|
||||
\-resample geometry change the resolution of an image
|
||||
\-resize geometry resize the image
|
||||
\-roll geometry roll an image vertically or horizontally
|
||||
\-rotate degrees apply Paeth rotation to the image
|
||||
\-sample geometry scale image with pixel sampling
|
||||
\-segment value segment an image
|
||||
\-sharpen geometry sharpen the image
|
||||
\-strip strip image of all profiles and comments
|
||||
\-trim trim image edges
|
||||
|
||||
Image Sequence Operators:
|
||||
\-coalesce merge a sequence of images
|
||||
\-flatten flatten a sequence of images
|
||||
|
||||
Miscellaneous Options:
|
||||
\-debug events display copious debugging information
|
||||
\-help print program options
|
||||
\-log format format of debugging information
|
||||
\-list type print a list of supported option arguments
|
||||
\-version print version information
|
||||
|
||||
In addition to those listed above, you can specify these standard X resources as command line options: \-background, \-bordercolor, \-borderwidth, \-font, \-foreground, \-iconGeometry, \-iconic, \-mattecolor, \-name, \-shared-memory, \-usePixmap, or \-title.
|
||||
|
||||
By default, the image format of `file' is determined by its magic number. To specify a particular image format, precede the filename with an image format name and a colon (i.e. ps:image) or specify the image type as the filename suffix (i.e. image.ps). Specify 'file' as '-' for standard input or output.
|
||||
|
||||
Buttons:
|
||||
1 press to map or unmap the Command widget
|
||||
2 press and drag to magnify a region of an image
|
||||
3 press to load an image from a visual image directory
|
||||
.SH NOTE
|
||||
The display program defaults to the X screen resolution. To display vector formats at their intended size, override the default resolution:
|
||||
|
||||
display -density 72 drawing.svg
|
||||
.SH SEE ALSO
|
||||
ImageMagick(1)
|
||||
|
||||
.SH COPYRIGHT
|
||||
|
||||
\fBCopyright (C) 1999-2013 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file:///home/santi/lms/ImageMagick-6.8.3-1/bin/share/doc/ImageMagick-6.8.3/www/license.html or http://www.imagemagick.org/script/license.php\fP
|
|
@ -1,68 +0,0 @@
|
|||
.TH identify 1 "Date: 2009/01/10 01:00:00" "ImageMagick"
|
||||
.SH NAME
|
||||
identify \- describes the format and characteristics of one or more image files.
|
||||
.SH SYNOPSIS
|
||||
.TP
|
||||
\fBidentify\fP [\fIoptions\fP] \fIinput-file\fP
|
||||
.SH OVERVIEW
|
||||
The \fBidentify\fP program is a member of the ImageMagick(1) suite of tools. It describes the format and characteristics of one or more image files. It also reports if an image is incomplete or corrupt. The information returned includes the image number, the file name, the width and height of the image, whether the image is colormapped or not, the number of colors in the image (by default off use \fI-define unique=true\fP option), the number of bytes in the image, the format of the image (JPEG, PNM, etc.), and finally the number of seconds it took to read and process the image. Many more attributes are available with the verbose option.
|
||||
|
||||
For more information about the identify command, point your browser to file:///home/santi/lms/ImageMagick-6.8.3-1/bin/share/doc/ImageMagick-6.8.3/www/identify.html or http://www.imagemagick.org/script/identify.php.
|
||||
.SH DESCRIPTION
|
||||
Image Settings:
|
||||
\-antialias remove pixel-aliasing
|
||||
\-authenticate value decrypt image with this password
|
||||
\-channel type apply option to select image channels
|
||||
\-crop geometry cut out a rectangular region of the image
|
||||
\-define format:option
|
||||
define one or more image format options
|
||||
\-define unique=true return the number of unique colors in the image
|
||||
\-density geometry horizontal and vertical density of the image
|
||||
\-depth value image depth
|
||||
\-endian type endianness (MSB or LSB) of the image
|
||||
\-extract geometry extract area from image
|
||||
\-features distance analyze image features (e.g. contrast, correlation)
|
||||
\-format "string" output formatted image characteristics
|
||||
\-fuzz distance colors within this distance are considered equal
|
||||
\-interlace type type of image interlacing scheme
|
||||
\-interpolate method pixel color interpolation method
|
||||
\-limit type value pixel cache resource limit
|
||||
\-list type Color, Configure, Delegate, Format, Magic, Module,
|
||||
Resource, or Type
|
||||
\-matte store matte channel if the image has one
|
||||
\-monitor monitor progress
|
||||
\-ping efficiently determine image attributes
|
||||
\-quiet suppress all warning messages
|
||||
\-regard-warnings pay attention to warning messages
|
||||
\-sampling-factor geometry
|
||||
horizontal and vertical sampling factor
|
||||
\-seed value seed a new sequence of pseudo-random numbers
|
||||
\-set attribute value set an image attribute
|
||||
\-size geometry width and height of image
|
||||
\-strip strip image of all profiles and comments
|
||||
\-unique display the number of unique colors in the image
|
||||
\-units type the units of image resolution
|
||||
\-verbose print detailed information about the image
|
||||
\-virtual-pixel method
|
||||
virtual pixel access method
|
||||
|
||||
Image Operators:
|
||||
\-negate replace each pixel with its complementary color
|
||||
|
||||
Miscellaneous Options:
|
||||
\-debug events display copious debugging information
|
||||
\-help print program options
|
||||
\-log format format of debugging information
|
||||
\-list type print a list of supported option arguments
|
||||
\-version print version information
|
||||
|
||||
By default, the image format of `file' is determined by its magic number. To specify a particular image format, precede the filename with an image format name and a colon (i.e. ps:image) or specify the image type as the filename suffix (i.e. image.ps). Specify 'file' as '-' for standard input or output.
|
||||
.SH NOTE
|
||||
Although some options appear to modify the file to be identified, the identify command is strictly \fBread only\fP. For instance, the crop option crops the in-memory image and then describes the result.
|
||||
|
||||
.SH SEE ALSO
|
||||
ImageMagick(1)
|
||||
|
||||
.SH COPYRIGHT
|
||||
|
||||
\fBCopyright (C) 1999-2013 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file:///home/santi/lms/ImageMagick-6.8.3-1/bin/share/doc/ImageMagick-6.8.3/www/license.html or http://www.imagemagick.org/script/license.php\fP
|
|
@ -1,97 +0,0 @@
|
|||
.TH import 1 "Date: 2009/01/10 01:00:00" "ImageMagick"
|
||||
.SH NAME
|
||||
import \- saves any visible window on an X server and outputs it as an image file. You can capture a single window, the entire screen, or any rectangular portion of the screen.
|
||||
.SH SYNOPSIS
|
||||
.TP
|
||||
\fBimport\fP [\fIoptions\fP] \fIoutput-file\fP
|
||||
.SH OVERVIEW
|
||||
The \fBimport\fP program is a member of the ImageMagick(1) suite of tools. Use it to capture some or all of an X server screen and save the image to a file.
|
||||
|
||||
For more information about the import command, point your browser to file:///home/santi/lms/ImageMagick-6.8.3-1/bin/share/doc/ImageMagick-6.8.3/www/import.html or http://www.imagemagick.org/script/import.php.
|
||||
.SH DESCRIPTION
|
||||
Image Settings:
|
||||
\-adjoin join images into a single multi-image file
|
||||
\-border include window border in the output image
|
||||
\-channel type apply option to select image channels
|
||||
\-colorspace type alternate image colorspace
|
||||
\-comment string annotate image with comment
|
||||
\-compress type type of pixel compression when writing the image
|
||||
\-define format:option
|
||||
define one or more image format options
|
||||
\-density geometry horizontal and vertical density of the image
|
||||
\-depth value image depth
|
||||
\-descend obtain image by descending window hierarchy
|
||||
\-display server X server to contact
|
||||
\-dispose method layer disposal method
|
||||
\-dither method apply error diffusion to image
|
||||
\-delay value display the next image after pausing
|
||||
\-encipher filename convert plain pixels to cipher pixels
|
||||
\-endian type endianness (MSB or LSB) of the image
|
||||
\-encoding type text encoding type
|
||||
\-format "string" output formatted image characteristics
|
||||
\-frame include window manager frame
|
||||
\-gravity direction which direction to gravitate towards
|
||||
\-identify identify the format and characteristics of the image
|
||||
\-interlace type None, Line, Plane, or Partition
|
||||
\-interpolate method pixel color interpolation method
|
||||
\-label string assign a label to an image
|
||||
\-limit type value Area, Disk, Map, or Memory resource limit
|
||||
\-monitor monitor progress
|
||||
\-page geometry size and location of an image canvas
|
||||
\-pause value seconds delay between snapshots
|
||||
\-pointsize value font point size
|
||||
\-quality value JPEG/MIFF/PNG compression level
|
||||
\-quiet suppress all warning messages
|
||||
\-regard-warnings pay attention to warning messages
|
||||
\-sampling-factor geometry
|
||||
horizontal and vertical sampling factor
|
||||
\-scene value image scene number
|
||||
\-screen select image from root window
|
||||
\-seed value seed a new sequence of pseudo-random numbers
|
||||
\-set property value set an image property
|
||||
\-silent operate silently, i.e. don't ring any bells
|
||||
\-snaps value number of screen snapshots
|
||||
\-support factor resize support: > 1.0 is blurry, < 1.0 is sharp
|
||||
\-synchronize synchronize image to storage device
|
||||
\-taint declare the image as modified
|
||||
\-transparent-color color
|
||||
transparent color
|
||||
\-treedepth value color tree depth
|
||||
\-verbose print detailed information about the image
|
||||
\-virtual-pixel method
|
||||
Constant, Edge, Mirror, or Tile
|
||||
\-window id select window with this id or name
|
||||
|
||||
Image Operators:
|
||||
\-annotate geometry text
|
||||
annotate the image with text
|
||||
\-colors value preferred number of colors in the image
|
||||
\-crop geometry preferred size and location of the cropped image
|
||||
\-geometry geometry preferred size or location of the image
|
||||
\-help print program options
|
||||
\-monochrome transform image to black and white
|
||||
\-negate replace each pixel with its complementary color
|
||||
\-repage geometry size and location of an image canvas
|
||||
\-quantize colorspace reduce colors in this colorspace
|
||||
\-resize geometry resize the image
|
||||
\-rotate degrees apply Paeth rotation to the image
|
||||
\-strip strip image of all profiles and comments
|
||||
\-thumbnail geometry create a thumbnail of the image
|
||||
\-transparent color make this color transparent within the image
|
||||
\-trim trim image edges
|
||||
\-type type image type
|
||||
|
||||
Miscellaneous Options:
|
||||
\-debug events display copious debugging information
|
||||
\-help print program options
|
||||
\-log format format of debugging information
|
||||
\-list type print a list of supported option arguments
|
||||
\-version print version information
|
||||
|
||||
By default, 'file' is written in the MIFF image format. To specify a particular image format, precede the filename with an image format name and a colon (i.e. ps:image) or specify the image type as the filename suffix (i.e. image.ps). Specify 'file' as '-' for standard input or output.
|
||||
.SH SEE ALSO
|
||||
ImageMagick(1)
|
||||
|
||||
.SH COPYRIGHT
|
||||
|
||||
\fBCopyright (C) 1999-2013 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file:///home/santi/lms/ImageMagick-6.8.3-1/bin/share/doc/ImageMagick-6.8.3/www/license.html or http://www.imagemagick.org/script/license.php\fP
|
|
@ -1,276 +0,0 @@
|
|||
.TH mogrify 1 "Date: 2009/01/10 01:00:00" "ImageMagick"
|
||||
.SH NAME
|
||||
mogrify \- resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. Mogrify overwrites the original image file, whereas, convert(1) writes to a different image file.
|
||||
.SH SYNOPSIS
|
||||
.TP
|
||||
\fBmogrify\fP [\fIoptions\fP] \fIinput-file\fP
|
||||
.SH OVERVIEW
|
||||
The \fBmogrify\fP program is a member of the ImageMagick(1) suite of tools. Use it to resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. This tool is similar to convert(1) except the original image file is overwritten with any changes you request.
|
||||
|
||||
For more information about the mogrify command, point your browser to file:///home/santi/lms/ImageMagick-6.8.3-1/bin/share/doc/ImageMagick-6.8.3/www/mogrify.html or http://www.imagemagick.org/script/mogrify.php.
|
||||
.SH DESCRIPTION
|
||||
Image Settings:
|
||||
\-adjoin join images into a single multi-image file
|
||||
\-affine matrix affine transform matrix
|
||||
\-antialias remove pixel-aliasing
|
||||
\-authenticate value decrypt image with this password
|
||||
\-background color background color
|
||||
\-bias value add bias when convolving an image
|
||||
\-black-point-compensation
|
||||
use black point compensation
|
||||
\-blue-primary point chromaticity blue primary point
|
||||
\-bordercolor color border color
|
||||
\-caption string assign a caption to an image
|
||||
\-cdl filename color correct with a color decision list
|
||||
\-channel type apply option to select image channels
|
||||
\-colors value preferred number of colors in the image
|
||||
\-colorspace type alternate image colorspace
|
||||
\-comment string annotate image with comment
|
||||
\-compose operator set image composite operator
|
||||
\-compress type type of pixel compression when writing the image
|
||||
\-decipher filename convert cipher pixels to plain pixels
|
||||
\-define format:option
|
||||
define one or more image format options
|
||||
\-delay value display the next image after pausing
|
||||
\-density geometry horizontal and vertical density of the image
|
||||
\-depth value image depth
|
||||
\-direction type render text right-to-left or left-to-right
|
||||
\-display server get image or font from this X server
|
||||
\-dispose method layer disposal method
|
||||
\-dither method apply error diffusion to image
|
||||
\-encipher filename convert plain pixels to cipher pixels
|
||||
\-encoding type text encoding type
|
||||
\-endian type endianness (MSB or LSB) of the image
|
||||
\-family name render text with this font family
|
||||
\-features distance analyze image features (e.g. contrast, correlation)
|
||||
\-fill color color to use when filling a graphic primitive
|
||||
\-filter type use this filter when resizing an image
|
||||
\-flatten flatten a sequence of images
|
||||
\-font name render text with this font
|
||||
\-format type image format type
|
||||
\-function name apply a function to the image
|
||||
\-fuzz distance colors within this distance are considered equal
|
||||
\-gravity type horizontal and vertical text placement
|
||||
\-green-primary point chromaticity green primary point
|
||||
\-intent type type of rendering intent when managing the image color
|
||||
\-interlace type type of image interlacing scheme
|
||||
\-interpolate method pixel color interpolation method
|
||||
\-kerning value set the space between two letters
|
||||
\-label string assign a label to an image
|
||||
\-limit type value pixel cache resource limit
|
||||
\-loop iterations add Netscape loop extension to your GIF animation
|
||||
\-mask filename associate a mask with the image
|
||||
\-matte store matte channel if the image has one
|
||||
\-mattecolor color frame color
|
||||
\-monitor monitor progress
|
||||
\-morphology method kernel
|
||||
apply a morphology method to the image
|
||||
\-orient type image orientation
|
||||
\-origin geometry image origin
|
||||
\-page geometry size and location of an image canvas (setting)
|
||||
\-path path write images to this path on disk
|
||||
\-ping efficiently determine image attributes
|
||||
\-pointsize value font point size
|
||||
\-preview type image preview type
|
||||
\-quality value JPEG/MIFF/PNG compression level
|
||||
\-quiet suppress all warning messages
|
||||
\-red-primary point chromaticity red primary point
|
||||
\-regard-warnings pay attention to warning messages
|
||||
\-sampling-factor geometry
|
||||
horizontal and vertical sampling factor
|
||||
\-scene value image scene number
|
||||
\-seed value seed a new sequence of pseudo-random numbers
|
||||
\-size geometry width and height of image
|
||||
\-stretch type render text with this font stretch
|
||||
\-stroke color graphic primitive stroke color
|
||||
\-strokewidth value graphic primitive stroke width
|
||||
\-style type render text with this font style
|
||||
\-support factor resize support: > 1.0 is blurry, < 1.0 is sharp
|
||||
\-synchronize synchronize image to storage device
|
||||
\-taint declare the image as modified
|
||||
\-texture filename name of texture to tile onto the image background
|
||||
\-tile-offset geometry
|
||||
tile offset
|
||||
\-treedepth value color tree depth
|
||||
\-transparent-color color
|
||||
transparent color
|
||||
\-undercolor color annotation bounding box color
|
||||
\-units type the units of image resolution
|
||||
\-verbose print detailed information about the image
|
||||
\-view FlashPix viewing transforms
|
||||
\-virtual-pixel method
|
||||
virtual pixel access method
|
||||
\-weight type render text with this font weight
|
||||
\-white-point point chromaticity white point
|
||||
|
||||
Image Operators:
|
||||
\-adaptive-blur geometry
|
||||
adaptively blur pixels; decrease effect near edges
|
||||
\-adaptive-resize geometry
|
||||
adaptively resize image with data dependent triangulation
|
||||
\-adaptive-sharpen geometry
|
||||
adaptively sharpen pixels; increase effect near edges
|
||||
\-annotate geometry text
|
||||
annotate the image with text
|
||||
\-auto-orient automatically orient image
|
||||
\-black-threshold value
|
||||
force all pixels below the threshold into black
|
||||
\-blur geometry reduce image noise and reduce detail levels
|
||||
\-border geometry surround image with a border of color
|
||||
\-charcoal radius simulate a charcoal drawing
|
||||
\-chop geometry remove pixels from the image interior
|
||||
\-clamp keep pixel values in range (0-QuantumRange)
|
||||
\-clip clip along the first path from the 8BIM profile
|
||||
\-clip-mask filename associate a clip mask with the image
|
||||
\-clip-path id clip along a named path from the 8BIM profile
|
||||
\-colorize value colorize the image with the fill color
|
||||
\-color-matrix matrix apply color correction to the image
|
||||
\-contrast enhance or reduce the image contrast
|
||||
\-contrast-stretch geometry
|
||||
improve contrast by `stretching' the intensity range
|
||||
\-convolve coefficients
|
||||
apply a convolution kernel to the image
|
||||
\-cycle amount cycle the image colormap
|
||||
\-despeckle reduce the speckles within an image
|
||||
\-draw string annotate the image with a graphic primitive
|
||||
\-edge radius apply a filter to detect edges in the image
|
||||
\-emboss radius emboss an image
|
||||
\-enhance apply a digital filter to enhance a noisy image
|
||||
\-equalize perform histogram equalization to an image
|
||||
\-evaluate operator value
|
||||
evaluate an arithmetic, relational, or logical expression
|
||||
\-extent geometry set the image size
|
||||
\-extract geometry extract area from image
|
||||
\-fft implements the discrete Fourier transform (DFT)
|
||||
\-flip flip image vertically
|
||||
\-floodfill geometry color
|
||||
floodfill the image with color
|
||||
\-flop flop image horizontally
|
||||
\-frame geometry surround image with an ornamental border
|
||||
\-gamma value level of gamma correction
|
||||
\-gaussian-blur geometry
|
||||
reduce image noise and reduce detail levels
|
||||
\-geometry geometry preferred size or location of the image
|
||||
\-ift implements the inverse discrete Fourier transform (DFT)
|
||||
\-help print program options
|
||||
\-identify identify the format and characteristics of the image
|
||||
\-implode amount implode image pixels about the center
|
||||
\-lat geometry local adaptive thresholding
|
||||
\-layers method optimize or compare image layers
|
||||
\-level value adjust the level of image contrast
|
||||
\-linear-stretch geometry
|
||||
improve contrast by `stretching with saturation' the intensity range
|
||||
\-median geometry apply a median filter to the image
|
||||
\-mode geometry make each pixel the 'predominant color' of the neighborhood
|
||||
\-modulate value vary the brightness, saturation, and hue
|
||||
\-monochrome transform image to black and white
|
||||
\-motion-blur geometry
|
||||
simulate motion blur
|
||||
\-negate replace each pixel with its complementary color
|
||||
\-noise geometry add or reduce noise in an image
|
||||
\-normalize transform image to span the full range of colors
|
||||
\-opaque color change this color to the fill color
|
||||
\-ordered-dither NxN
|
||||
add a noise pattern to the image with specific amplitudes
|
||||
\-paint radius simulate an oil painting
|
||||
\-perceptible epsilon
|
||||
pixel value less than |epsilon| become epsilon or -epsilon
|
||||
\-polaroid angle simulate a Polaroid picture
|
||||
\-posterize levels reduce the image to a limited number of color levels
|
||||
\-print string interpret string and print to console
|
||||
\-profile filename add, delete, or apply an image profile
|
||||
\-quantize colorspace reduce colors in this colorspace
|
||||
\-radial-blur angle radial blur the image
|
||||
\-raise value lighten/darken image edges to create a 3-D effect
|
||||
\-random-threshold low,high
|
||||
random threshold the image
|
||||
\-region geometry apply options to a portion of the image
|
||||
\-render render vector graphics
|
||||
\-repage geometry size and location of an image canvas
|
||||
\-resample geometry change the resolution of an image
|
||||
\-resize geometry resize the image
|
||||
\-roll geometry roll an image vertically or horizontally
|
||||
\-rotate degrees apply Paeth rotation to the image
|
||||
\-sample geometry scale image with pixel sampling
|
||||
\-scale geometry scale the image
|
||||
\-segment values segment an image
|
||||
\-selective-blur geometry
|
||||
selectively blur pixels within a contrast threshold
|
||||
\-sepia-tone threshold
|
||||
simulate a sepia-toned photo
|
||||
\-set property value set an image property
|
||||
\-shade degrees shade the image using a distant light source
|
||||
\-shadow geometry simulate an image shadow
|
||||
\-sharpen geometry sharpen the image
|
||||
\-shave geometry shave pixels from the image edges
|
||||
\-shear geometry slide one edge of the image along the X or Y axis
|
||||
\-sigmoidal-contrast geometry
|
||||
lightness rescaling using sigmoidal contrast enhancement
|
||||
\-sketch geometry simulate a pencil sketch
|
||||
\-solarize threshold negate all pixels above the threshold level
|
||||
\-splice geometry splice the background color into the image
|
||||
\-spread amount displace image pixels by a random amount
|
||||
\-statistic type geometry
|
||||
replace each pixel with corresponding statistic from the neighborhood
|
||||
\-strip strip image of all profiles and comments
|
||||
\-swirl degrees swirl image pixels about the center
|
||||
\-threshold value threshold the image
|
||||
\-thumbnail geometry create a thumbnail of the image
|
||||
\-tile filename tile image when filling a graphic primitive
|
||||
\-tint value tint the image with the fill color
|
||||
\-transform affine transform image
|
||||
\-transparent color make this color transparent within the image
|
||||
\-transpose flip image vertically and rotate 90 degrees
|
||||
\-transverse flop image horizontally and rotate 270 degrees
|
||||
\-trim trim image edges
|
||||
\-type type image type
|
||||
\-unique-colors discard all but one of any pixel color
|
||||
\-unsharp geometry sharpen the image
|
||||
\-vignette geometry soften the edges of the image in vignette style
|
||||
\-wave geometry alter an image along a sine wave
|
||||
\-white-threshold value
|
||||
force all pixels above the threshold into white
|
||||
|
||||
Image Sequence Operators:
|
||||
\-affinity filename transform image colors to match this set of colors
|
||||
\-append append an image sequence top to botto (use +append for left to right)
|
||||
\-clut apply a color lookup table to the image
|
||||
\-coalesce merge a sequence of images
|
||||
\-combine combine a sequence of images
|
||||
\-composite composite image
|
||||
\-crop geometry cut out a rectangular region of the image
|
||||
\-deconstruct break down an image sequence into constituent parts
|
||||
\-evaluate-sequence operator
|
||||
evaluate an arithmetic, relational, or logical expression
|
||||
\-flatten flatten a sequence of images
|
||||
\-fx expression apply mathematical expression to an image channel(s)
|
||||
\-hald-clut apply a Hald color lookup table to the image
|
||||
\-morph value morph an image sequence
|
||||
\-mosaic create a mosaic from an image sequence
|
||||
\-poly terms build a polynomial from the image sequence and the corresponding terms (coefficients and degree pairs)
|
||||
\-process arguments process the image with a custom image filter
|
||||
\-separate separate an image channel into a grayscale image
|
||||
\-smush geometry smush an image sequence together
|
||||
\-write filename write images to this file
|
||||
|
||||
Image Stack Operators:
|
||||
\-delete indexes delete the image from the image sequence
|
||||
\-duplicate count,indexes
|
||||
duplicate an image one or more times
|
||||
\-insert index insert last image into the image sequence
|
||||
\-swap indexes swap two images in the image sequence
|
||||
|
||||
Miscellaneous Options:
|
||||
\-debug events display copious debugging information
|
||||
\-help print program options
|
||||
\-log format format of debugging information
|
||||
\-list type print a list of supported option arguments
|
||||
\-version print version information
|
||||
|
||||
By default, the image format of `file' is determined by its magic number. To specify a particular image format, precede the filename with an image format name and a colon (i.e. ps:image) or specify the image type as the filename suffix (i.e. image.ps). Specify 'file' as '-' for standard input or output.
|
||||
.SH SEE ALSO
|
||||
ImageMagick(1)
|
||||
|
||||
.SH COPYRIGHT
|
||||
|
||||
\fBCopyright (C) 1999-2013 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file:///home/santi/lms/ImageMagick-6.8.3-1/bin/share/doc/ImageMagick-6.8.3/www/license.html or http://www.imagemagick.org/script/license.php\fP
|
|
@ -1,134 +0,0 @@
|
|||
.TH montage 1 "Date: 2009/01/10 01:00:00" "ImageMagick"
|
||||
.SH NAME
|
||||
montage \- create a composite image by combining several separate images. The images are tiled on the composite image optionally adorned with a border, frame, image name, and more.
|
||||
.SH SYNOPSIS
|
||||
.TP
|
||||
\fBmontage\fP \fIinput-file[s]\fP [\fIoptions\fP] \fIoutput-file\fP
|
||||
.SH OVERVIEW
|
||||
The \fBmontage\fP program is a member of the ImageMagick(1) suite of tools. Use it to create a composite image by combining several separate images. The images are tiled on the composite image optionally adorned with a border, frame, image name, and more.
|
||||
|
||||
For more information about the montage command, point your browser to file:///home/santi/lms/ImageMagick-6.8.3-1/bin/share/doc/ImageMagick-6.8.3/www/montage.html or http://www.imagemagick.org/script/montage.php.
|
||||
.SH DESCRIPTION
|
||||
Image Settings:
|
||||
\-adjoin join images into a single multi-image file
|
||||
\-affine matrix affine transform matrix
|
||||
\-authenticate value decrypt image with this password
|
||||
\-blue-primary point chromaticity blue primary point
|
||||
\-bordercolor color border color
|
||||
\-channel type apply option to select image channels
|
||||
\-colors value preferred number of colors in the image
|
||||
\-colorspace type alternate image colorsapce
|
||||
\-comment string annotate image with comment
|
||||
\-compose operator composite operator
|
||||
\-compress type type of pixel compression when writing the image
|
||||
\-define format:option
|
||||
define one or more image format options
|
||||
\-density geometry horizontal and vertical density of the image
|
||||
\-depth value image depth
|
||||
\-display server query font from this X server
|
||||
\-dispose method layer disposal method
|
||||
\-dither method apply error diffusion to image
|
||||
\-draw string annotate the image with a graphic primitive
|
||||
\-encoding type text encoding type
|
||||
\-endian type endianness (MSB or LSB) of the image
|
||||
\-extract geometry extract area from image
|
||||
\-fill color color to use when filling a graphic primitive
|
||||
\-filter type use this filter when resizing an image
|
||||
\-font name render text with this font
|
||||
\-format "string" output formatted image characteristics
|
||||
\-gamma value level of gamma correction
|
||||
\-geometry geometry preferred tile and border sizes
|
||||
\-gravity direction which direction to gravitate towards
|
||||
\-green-primary point chromaticity green primary point
|
||||
\-identify identify the format and characteristics of the image
|
||||
\-interlace type type of image interlacing scheme
|
||||
\-interpolate method pixel color interpolation method
|
||||
\-kerning value set the space between two letters
|
||||
\-label string assign a label to an image
|
||||
\-limit type value pixel cache resource limit
|
||||
\-matte store matte channel if the image has one
|
||||
\-mattecolor color frame color
|
||||
\-mode type framing style
|
||||
\-monitor monitor progress
|
||||
\-page geometry size and location of an image canvas (setting)
|
||||
\-pointsize value font point size
|
||||
\-profile filename add, delete, or apply an image profile
|
||||
\-quality value JPEG/MIFF/PNG compression level
|
||||
\-quantize colorspace reduce colors in this colorspace
|
||||
\-quiet suppress all warning messages
|
||||
\-red-primary point chromaticity red primary point
|
||||
\-regard-warnings pay attention to warning messages
|
||||
\-sampling-factor geometry
|
||||
horizontal and vertical sampling factor
|
||||
\-scenes range image scene range
|
||||
\-seed value seed a new sequence of pseudo-random numbers
|
||||
\-set attribute value set an image attribute
|
||||
\-shadow add a shadow beneath a tile to simulate depth
|
||||
\-size geometry width and height of image
|
||||
\-stroke color color to use when stroking a graphic primitive
|
||||
\-support factor resize support: > 1.0 is blurry, < 1.0 is sharp
|
||||
\-synchronize synchronize image to storage device
|
||||
\-texture filename name of texture to tile onto the image background
|
||||
\-thumbnail geometry create a thumbnail of the image
|
||||
\-tile geometry number of tiles per row and column
|
||||
\-title string decorate the montage image with a title
|
||||
\-transparent-color color
|
||||
transparent color
|
||||
\-treedepth value color tree depth
|
||||
\-trim trim image edges
|
||||
\-units type the units of image resolution
|
||||
\-verbose print detailed information about the image
|
||||
\-virtual-pixel method
|
||||
virtual pixel access method
|
||||
\-white-point point chromaticity white point
|
||||
|
||||
Image Operators:
|
||||
\-adaptive-sharpen geometry
|
||||
adaptively sharpen pixels; increase effect near edges
|
||||
\-annotate geometry text
|
||||
annotate the image with text
|
||||
\-blur geometry reduce image noise and reduce detail levels
|
||||
\-border geometry surround image with a border of color
|
||||
\-crop geometry preferred size and location of the cropped image
|
||||
\-flatten flatten a sequence of images
|
||||
\-flip flip image in the vertical direction
|
||||
\-flop flop image in the horizontal direction
|
||||
\-frame geometry surround image with an ornamental border
|
||||
\-monochrome transform image to black and white
|
||||
\-polaroid angle simulate a Polaroid picture
|
||||
\-repage geometry size and location of an image canvas (operator)
|
||||
\-resize geometry resize the image
|
||||
\-rotate degrees apply Paeth rotation to the image
|
||||
\-strip strip image of all profiles and comments
|
||||
\-transform affine transform image
|
||||
\-transparent color make this color transparent within the image
|
||||
\-type type image type
|
||||
\-unsharp geometry sharpen the image
|
||||
|
||||
Image Sequence Operators:
|
||||
\-coalesce merge a sequence of images
|
||||
|
||||
Image Stack Operators:
|
||||
\-clone indexes clone an image
|
||||
\-delete indexes delete the image from the image sequence
|
||||
\-duplicate count,indexes
|
||||
duplicate an image one or more times
|
||||
\-insert index insert last image into the image sequence
|
||||
\-swap indexes swap two images in the image sequence
|
||||
|
||||
Miscellaneous Options:
|
||||
\-debug events display copious debugging information
|
||||
\-help print program options
|
||||
\-log format format of debugging information
|
||||
\-list type print a list of supported option arguments
|
||||
\-version print version information
|
||||
|
||||
In addition to those listed above, you can specify these standard X resources as command line options: \-background, \-bordercolor, \-borderwidth, \-font, \-mattecolor, or \-title.
|
||||
|
||||
By default, the image format of `file' is determined by its magic number. To specify a particular image format, precede the filename with an image format name and a colon (i.e. ps:image) or specify the image type as the filename suffix (i.e. image.ps). Specify 'file' as '-' for standard input or output.
|
||||
.SH SEE ALSO
|
||||
ImageMagick(1)
|
||||
|
||||
.SH COPYRIGHT
|
||||
|
||||
\fBCopyright (C) 1999-2013 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file:///home/santi/lms/ImageMagick-6.8.3-1/bin/share/doc/ImageMagick-6.8.3/www/license.html or http://www.imagemagick.org/script/license.php\fP
|
|
@ -1,57 +0,0 @@
|
|||
.TH stream 1 "Date: 2009/01/10 01:00:00" "ImageMagick"
|
||||
.SH NAME
|
||||
stream \- a lightweight tool to stream one or more pixel components of the image or portion of the image to your choice of storage formats.
|
||||
.SH SYNOPSIS
|
||||
.TP
|
||||
\fBstream\fP [\fIoptions\fP] \fIinput-file\fP \fIoutput-file\fP
|
||||
.SH OVERVIEW
|
||||
\fBStream\fP is a lightweight tool to stream one or more pixel components of the image or portion of the image to your choice of storage formats. It writes the pixel components as they are read from the input image a row at a time making \fBstream\fP desirable when working with large images or when you require raw pixel components.
|
||||
|
||||
For more information about the stream command, point your browser to file:///home/santi/lms/ImageMagick-6.8.3-1/bin/share/doc/ImageMagick-6.8.3/www/stream.html or http://www.imagemagick.org/script/stream.php.
|
||||
.SH DESCRIPTION
|
||||
Image Settings:
|
||||
\-authenticate value decrypt image with this password
|
||||
\-channel type apply option to select image channels
|
||||
\-colorspace type alternate image colorspace
|
||||
\-compress type type of pixel compression when writing the image
|
||||
\-define format:option
|
||||
define one or more image format options
|
||||
\-density geometry horizontal and vertical density of the image
|
||||
\-depth value image depth
|
||||
\-extract geometry extract area from image
|
||||
\-identify identify the format and characteristics of the image
|
||||
\-interlace type type of image interlacing scheme
|
||||
\-interpolate method pixel color interpolation method
|
||||
\-limit type value pixel cache resource limit
|
||||
\-map components one or more pixel components
|
||||
\-monitor monitor progress
|
||||
\-quantize colorspace reduce colors in this colorspace
|
||||
\-quiet suppress all warning messages
|
||||
\-regard-warnings pay attention to warning messages
|
||||
\-sampling-factor geometry
|
||||
horizontal and vertical sampling factor
|
||||
\-seed value seed a new sequence of pseudo-random numbers
|
||||
\-set attribute value set an image attribute
|
||||
\-size geometry width and height of image
|
||||
\-storage-type type pixel storage type
|
||||
\-synchronize synchronize image to storage device
|
||||
\-transparent-color color
|
||||
transparent color
|
||||
\-verbose print detailed information about the image
|
||||
\-virtual-pixel method
|
||||
virtual pixel access method
|
||||
|
||||
Miscellaneous Options:
|
||||
\-debug events display copious debugging information
|
||||
\-help print program options
|
||||
\-log format format of debugging information
|
||||
\-list type print a list of supported option arguments
|
||||
\-version print version information
|
||||
|
||||
By default, the image format of `file' is determined by its magic number. To specify a particular image format, precede the filename with an image format name and a colon (i.e. ps:image) or specify the image type as the filename suffix (i.e. image.ps). Specify 'file' as '-' for standard input or output.
|
||||
.SH SEE ALSO
|
||||
ImageMagick(1)
|
||||
|
||||
.SH COPYRIGHT
|
||||
|
||||
\fBCopyright (C) 1999-2013 ImageMagick Studio LLC. Additional copyrights and licenses apply to this software, see file:///home/santi/lms/ImageMagick-6.8.3-1/bin/share/doc/ImageMagick-6.8.3/www/license.html or http://www.imagemagick.org/script/license.php\fP
|
|
@ -1,22 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE codermap [
|
||||
<!ELEMENT codermap (coder)*>
|
||||
<!ELEMENT coder (#PCDATA)>
|
||||
<!ATTLIST coder magick CDATA #REQUIRED>
|
||||
<!ATTLIST coder name CDATA #REQUIRED>
|
||||
]>
|
||||
<!--
|
||||
Associate an image format with the specified coder module.
|
||||
|
||||
ImageMagick has a number of coder modules to support the reading and/or
|
||||
writing of an image format (e.g. JPEG). Some coder modules support more
|
||||
than one associated image format and the mapping between an associated
|
||||
format and its respective coder module is defined in this configuration
|
||||
file. For example, the PNG coder module not only supports the PNG image
|
||||
format, but the JNG and MNG formats as well.
|
||||
-->
|
||||
<codermap>
|
||||
<!-- <coder magick="GIF87" name="GIF"/> -->
|
||||
<!-- <coder magick="JPG" name="JPEG"/> -->
|
||||
<!-- <coder magick="PGM" name="PNM"/> -->
|
||||
</codermap>
|
|
@ -1,28 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE colormap [
|
||||
<!ELEMENT colormap (color)+>
|
||||
<!ELEMENT color (#PCDATA)>
|
||||
<!ATTLIST color name CDATA "0">
|
||||
<!ATTLIST color color CDATA "rgb(0,0,0)">
|
||||
<!ATTLIST color compliance CDATA "SVG">
|
||||
]>
|
||||
<!--
|
||||
Associate a color name with its red, green, blue, and alpha intensities.
|
||||
|
||||
A number of methods and options require a color parameter. It is often
|
||||
convenient to refer to a color by name (e.g. white) rather than by hex
|
||||
value (e.g. #fff). This file maps a color name to its equivalent red,
|
||||
green, blue, and alpha intensities (e.g. for white, red = 255, green =
|
||||
255, blue = 255, and alpha = 0).
|
||||
-->
|
||||
<colormap>
|
||||
<!-- <color name="none" color="rgba(0,0,0,0)" compliance="SVG, XPM"/> -->
|
||||
<!-- <color name="black" color="rgb(0,0,0)" compliance="SVG, X11, XPM"/> -->
|
||||
<!-- <color name="red" color="rgb(255,0,0)" compliance="SVG, X11, XPM"/> -->
|
||||
<!-- <color name="magenta" color="rgb(255,0,255)" compliance="SVG, X11, XPM"/> -->
|
||||
<!-- <color name="green" color="rgb(0,128,0)" compliance="SVG"/> -->
|
||||
<!-- <color name="cyan" color="rgb(0,255,255)" compliance="SVG, X11, XPM"/> -->
|
||||
<!-- <color name="blue" color="rgb(0,0,255)" compliance="SVG, X11, XPM"/> -->
|
||||
<!-- <color name="yellow" color="rgb(255,255,0)" compliance="SVG, X11, XPM"/> -->
|
||||
<!-- <color name="white" color="rgb(255,255,255)" compliance="SVG, X11"/> -->
|
||||
</colormap>
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -1,47 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE localemap [
|
||||
<!ELEMENT localemap (include)+>
|
||||
<!ELEMENT include (#PCDATA)>
|
||||
<!ATTLIST include locale CDATA #REQUIRED>
|
||||
<!ATTLIST include file CDATA #REQUIRED>
|
||||
]>
|
||||
<localemap>
|
||||
<include locale="no_NO.ISO-8859-1" file="bokmal.xml"/>
|
||||
<include locale="ca_ES.ISO-8859-1" file="catalan.xml"/>
|
||||
<include locale="hr_HR.ISO-8859-2" file="croatian.xml"/>
|
||||
<include locale="cs_CZ.ISO-8859-2" file="czech.xml"/>
|
||||
<include locale="da_DK.ISO-8859-1" file="danish.xml"/>
|
||||
<include locale="de_DE.ISO-8859-1" file="deutsch.xml"/>
|
||||
<include locale="nl_NL.ISO-8859-1" file="dutch.xml"/>
|
||||
<include locale="C" file="english.xml"/>
|
||||
<include locale="et_EE.ISO-8859-1" file="estonian.xml"/>
|
||||
<include locale="fi_FI.ISO-8859-1" file="finnish.xml"/>
|
||||
<include locale="fr_FR.ISO-8859-1" file="francais.xml"/>
|
||||
<include locale="fr_FR.ISO-8859-1" file="francais.xml"/>
|
||||
<include locale="fr_FR.UTF-8" file="francais.xml"/>
|
||||
<include locale="gl_ES.ISO-8859-1" file="galego.xml"/>
|
||||
<include locale="gl_ES.ISO-8859-1" file="galician.xml"/>
|
||||
<include locale="de_DE.ISO-8859-1" file="german.xml"/>
|
||||
<include locale="el_GR.ISO-8859-7" file="greek.xml"/>
|
||||
<include locale="en_US.UTF-8" file="english.xml"/>
|
||||
<include locale="iw_IL.ISO-8859-8" file="hebrew.xml"/>
|
||||
<include locale="hr_HR.ISO-8859-2" file="hrvatski.xml"/>
|
||||
<include locale="hu_HU.ISO-8859-2" file="hungarian.xml"/>
|
||||
<include locale="is_IS.ISO-8859-1" file="icelandic.xml"/>
|
||||
<include locale="it_IT.ISO-8859-1" file="italian.xml"/>
|
||||
<include locale="ja_JP.eucJP" file="japanese.xml"/>
|
||||
<include locale="ko_KR.eucKR" file="korean.xml"/>
|
||||
<include locale="lt_LT.ISO-8859-13" file="lithuanian.xml"/>
|
||||
<include locale="no_NO.ISO-8859-1" file="norwegian.xml"/>
|
||||
<include locale="nn_NO.ISO-8859-1" file="nynorsk.xml"/>
|
||||
<include locale="pl_PL.ISO-8859-2" file="polish.xml"/>
|
||||
<include locale="pt_PT.ISO-8859-1" file="portuguese.xml"/>
|
||||
<include locale="ro_RO.ISO-8859-2" file="romanian.xml"/>
|
||||
<include locale="ru_RU.ISO-8859-5" file="russian.xml"/>
|
||||
<include locale="sk_SK.ISO-8859-2" file="slovak.xml"/>
|
||||
<include locale="sl_SI.ISO-8859-2" file="slovene.xml"/>
|
||||
<include locale="es_ES.ISO-8859-1" file="spanish.xml"/>
|
||||
<include locale="sv_SE.ISO-8859-1" file="swedish.xml"/>
|
||||
<include locale="th_TH.TIS-620" file="thai.xml"/>
|
||||
<include locale="tr_TR.ISO-8859-9" file="turkish.xml"/>
|
||||
</localemap>
|
|
@ -1,40 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE logmap [
|
||||
<!ELEMENT logmap (log)+>
|
||||
<!ELEMENT log (#PCDATA)>
|
||||
<!ATTLIST log events CDATA #IMPLIED>
|
||||
<!ATTLIST log output CDATA #IMPLIED>
|
||||
<!ATTLIST log filename CDATA #IMPLIED>
|
||||
<!ATTLIST log generations CDATA #IMPLIED>
|
||||
<!ATTLIST log limit CDATA #IMPLIED>
|
||||
<!ATTLIST log format CDATA #IMPLIED>
|
||||
]>
|
||||
<!--
|
||||
The format of the log is defined by embedding special format characters:
|
||||
|
||||
%c client
|
||||
%d domain
|
||||
%e event
|
||||
%f function
|
||||
%g generation
|
||||
%i thread id
|
||||
%l line
|
||||
%m module
|
||||
%n log name
|
||||
%p process id
|
||||
%r real CPU time
|
||||
%t wall clock time
|
||||
%u user CPU time
|
||||
%v version
|
||||
%% percent sign
|
||||
\n newline
|
||||
\r carriage return
|
||||
-->
|
||||
<logmap>
|
||||
<log events="None"/>
|
||||
<log output="console"/>
|
||||
<log filename="Magick-%g.log"/>
|
||||
<log generations="3"/>
|
||||
<log limit="2000"/>
|
||||
<log format="%t %r %u %v %d %c[%p]: %m/%f/%l/%d\n %e"/>
|
||||
</logmap>
|
|
@ -1,23 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE magicmap [
|
||||
<!ELEMENT magicmap (magic)+>
|
||||
<!ELEMENT magic (#PCDATA)>
|
||||
<!ATTLIST magic name CDATA #REQUIRED>
|
||||
<!ATTLIST magic offset CDATA "0">
|
||||
<!ATTLIST magic target CDATA #REQUIRED>
|
||||
]>
|
||||
<!--
|
||||
Associate an image format with a unique identifier.
|
||||
|
||||
Many image formats have identifiers that uniquely identify a particular
|
||||
image format. For example, the GIF image format always begins with GIF8
|
||||
as the first 4 characters of the image. ImageMagick uses this information
|
||||
to quickly determine the type of image it is dealing with when it reads
|
||||
an image.
|
||||
-->
|
||||
<magicmap>
|
||||
<!-- <magic name="GIF" offset="0" target="GIF8"/> -->
|
||||
<!-- <magic name="JPEG" offset="0" target="\377\330\377"/> -->
|
||||
<!-- <magic name="PNG" offset="0" target="\211PNG\r\n\032\n"/> -->
|
||||
<!-- <magic name="TIFF" offset="0" target="\115\115\000\052"/> -->
|
||||
</magicmap>
|
File diff suppressed because it is too large
Load diff
|
@ -1,59 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE policymap [
|
||||
<!ELEMENT policymap (policy)+>
|
||||
<!ELEMENT policy (#PCDATA)>
|
||||
<!ATTLIST policy domain (delegate|coder|filter|path|resource) #IMPLIED>
|
||||
<!ATTLIST policy name CDATA #IMPLIED>
|
||||
<!ATTLIST policy rights CDATA #IMPLIED>
|
||||
<!ATTLIST policy pattern CDATA #IMPLIED>
|
||||
<!ATTLIST policy value CDATA #IMPLIED>
|
||||
]>
|
||||
<!--
|
||||
Configure ImageMagick policies.
|
||||
|
||||
Domains include system, delegate, coder, filter, path, or resource.
|
||||
|
||||
Rights include none, read, write, and execute. Use | to combine them,
|
||||
for example: "read | write" to permit read from, or write to, a path.
|
||||
|
||||
Use a glob expression as a pattern.
|
||||
|
||||
Suppose we do not want users to process MPEG video images:
|
||||
|
||||
<policy domain="delegate" rights="none" pattern="mpeg:decode" />
|
||||
|
||||
Here we do not want users reading images from HTTP:
|
||||
|
||||
<policy domain="coder" rights="none" pattern="HTTP" />
|
||||
|
||||
Lets prevent users from executing any image filters:
|
||||
|
||||
<policy domain="filter" rights="none" pattern="*" />
|
||||
|
||||
The /repository file system is restricted to read only. We use a glob
|
||||
expression to match all paths that start with /repository:
|
||||
|
||||
<policy domain="path" rights="read" pattern="/repository/*" />
|
||||
|
||||
Any large image is cached to disk rather than memory:
|
||||
|
||||
<policy domain="resource" name="area" value="1GB"/>
|
||||
|
||||
Define arguments for the memory, map, area, and disk resources with
|
||||
SI prefixes (.e.g 100MB). In addition, resource policies are maximums for
|
||||
each instance of ImageMagick (e.g. policy memory limit 1GB, -limit 2GB
|
||||
exceeds policy maximum so memory limit is 1GB).
|
||||
-->
|
||||
<policymap>
|
||||
<!-- <policy domain="resource" name="temporary-path" value="/tmp"/> -->
|
||||
<!-- <policy domain="resource" name="memory" value="2GiB"/> -->
|
||||
<!-- <policy domain="resource" name="map" value="4GiB"/> -->
|
||||
<!-- <policy domain="resource" name="area" value="1GB"/> -->
|
||||
<!-- <policy domain="resource" name="disk" value="16EB"/> -->
|
||||
<!-- <policy domain="resource" name="file" value="768"/> -->
|
||||
<!-- <policy domain="resource" name="thread" value="4"/> -->
|
||||
<!-- <policy domain="resource" name="throttle" value="0"/> -->
|
||||
<!-- <policy domain="resource" name="time" value="3600"/> -->
|
||||
<!-- <policy domain="system" name="precision" value="6"/> -->
|
||||
<policy domain="cache" name="shared-secret" value="passphrase"/>
|
||||
</policymap>
|
|
@ -1,43 +0,0 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!DOCTYPE quantization-tables [
|
||||
<!ELEMENT quantization-tables (table)+>
|
||||
<!ELEMENT table (description , levels)>
|
||||
<!ELEMENT description (CDATA)>
|
||||
<!ELEMENT levels (CDATA)>
|
||||
<!ATTLIST table slot ID #REQUIRED>
|
||||
<!ATTLIST levels width CDATA #REQUIRED>
|
||||
<!ATTLIST levels height CDATA #REQUIRED>
|
||||
<!ATTLIST levels divisor CDATA #REQUIRED>
|
||||
]>
|
||||
<!--
|
||||
JPEG quantization tables.
|
||||
-->
|
||||
<quantization-tables>
|
||||
<table slot="0" alias="luminance">
|
||||
<description>Luminance Quantization Table</description>
|
||||
<levels width="8" height="8" divisor="1">
|
||||
16, 12, 14, 17, 22, 30, 45, 72,
|
||||
12, 13, 14, 17, 22, 31, 46, 74,
|
||||
14, 14, 16, 19, 25, 35, 52, 83,
|
||||
17, 17, 19, 23, 30, 41, 62, 100,
|
||||
22, 22, 25, 30, 39, 54, 80, 129,
|
||||
30, 31, 35, 41, 54, 74, 111, 178,
|
||||
45, 46, 52, 62, 80, 111, 166, 267,
|
||||
72, 74, 83, 100, 129, 178, 267, 428
|
||||
</levels>
|
||||
</table>
|
||||
|
||||
<table slot="1" alias="chrominance">
|
||||
<description>Chrominance Quantization Table</description>
|
||||
<levels width="8" height="8" divisor="1">
|
||||
17, 18, 22, 31, 50, 92, 193, 465,
|
||||
18, 19, 24, 33, 54, 98, 207, 498,
|
||||
22, 24, 29, 41, 66, 120, 253, 609,
|
||||
31, 33, 41, 57, 92, 169, 355, 854,
|
||||
50, 54, 66, 92, 148, 271, 570, 1370,
|
||||
92, 98, 120, 169, 271, 498, 1046, 2516,
|
||||
193, 207, 253, 355, 570, 1046, 2198, 5289,
|
||||
465, 498, 609, 854, 1370, 2516, 5289, 12725
|
||||
</levels>
|
||||
</table>
|
||||
</quantization-tables>
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue