debian/0000775000000000000000000000000012275313035007171 5ustar debian/clean0000664000000000000000000000013612275255061010202 0ustar src/doc/openimageio.pdf src/doc/*.aux src/doc/*.out src/doc/*.toc src/doc/*.idx src/doc/*.log debian/openimageio-tools.install0000664000000000000000000000001012275255061014206 0ustar usr/bin debian/openimageio-tools.manpages0000664000000000000000000000002412275255061014340 0ustar debian/manpages/*.1 debian/copyright0000664000000000000000000001737112275255061011141 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: OpenImageIO Upstream-Contact: Larry Gritz Source: http://www.openimageio.org/ Files: debian/* Copyright: 2011, IRIE Shinsuke 2012, Matteo F. Vescovi License: BSD-3-Clause Files: site/spi/include/tiff.h Copyright: 1988-1997, Sam Leffler and the other authors and contributors 1991-1997, Silicon Graphics, Inc. and the other authors and contributors License: BSD-3-Clause Files: src/* testsuite/* site/spi/include/spi_ns.h Copyright: 2008-2011, Larry Gritz and the other authors and contributors License: BSD-3-Clause Files: src/include/argparse.h src/include/hash.h src/include/filter.h src/include/fmath.h src/jpeg.imageio/jpegoutput.cpp src/jpeg.imageio/jpeginput.cpp src/libutil/argparse.cpp src/libutil/filter.cpp Copyright: 2004, NVIDIA Corp and the other authors and contributors 2008, Larry Gritz and the other authors and contributors License: BSD-3-Clause Files: src/include/pystring.h src/libutil/pystring.cpp Copyright: 2008, Sony Pictures Imageworks and the other authors and contributors License: BSD-3-Clause Files: src/cineon.imageio/libcineon/* Copyright: 2010, Patrick A. Palmer, Leszek Godlewski and the other authors and contributors License: BSD-3-Clause Files: src/dpx.imageio/libdpx/* Copyright: 2009, Patrick A. Palmer and the other authors and contributors License: BSD-3-Clause Files: src/include/pugiconfig.hpp src/include/pugixml.hpp src/libutil/pugixml.cpp Copyright: 2003, Kristen Wegner and the other authors and contributors 2006-2010, Arseny Kapoulkine and the other authors and contributors License: Expat Files: src/dds.imageio/squish/* Copyright: 2006, Simon Brown and the other authors and contributors 2007, Ignacio Castano and the other authors and contributors License: Expat Files: src/ptex.imageio/ptex/* Copyright: 2009, Disney Enterprises, Inc. and the other authors and contributors License: BSD-2-Clause Files: src/include/tbb/* src/libutil/tbb_misc.cpp Copyright: 2005-2009, Intel Corporation and the other authors and contributors License: GPL-2 Files: src/doc/algorithm.sty Copyright: 1994, Peter Williams License: LGPL-2.1 License: BSD-3-Clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: BSD-2-Clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: Expat Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd . Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software 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 the Software. . 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 THE AUTHORS OR COPYRIGHT HOLDERS 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 THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. License: GPL-2 This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. License: LGPL-2.1 This style file is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This style file is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this style file; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. . On Debian systems, the full text of the GNU Lesser General Public License version 2 can be found in the file `/usr/share/common-licenses/LGPL-2.1'. debian/source/0000775000000000000000000000000012275255061010475 5ustar debian/source/format0000664000000000000000000000001412275255061011703 0ustar 3.0 (quilt) debian/libopenimageio-dev.doc-base0000664000000000000000000000023112275255061014327 0ustar Document: openimageio Title: Debian OpenImageIO Manual Section: Programming/C++ Format: PDF Files: /usr/share/doc/libopenimageio-dev/openimageio.pdf.gz debian/changelog0000664000000000000000000002012212275313035011040 0ustar openimageio (1.3.12~dfsg0-1ubuntu1) trusty; urgency=low * Merge from Debian unstable. Remaining changes: - 0099-as-needed-fix.patch: Move -latomic to the right part of the link line to resolve FTBFS with as-needed on -latomic arches like powerpc. - 0099-libOpenImageIO-underlinked.patch: Link libOpenImageIO with -ldl. -- Adam Conrad Fri, 07 Feb 2014 18:54:12 -0700 openimageio (1.3.12~dfsg0-1) unstable; urgency=medium * New upstream release - debian/patches/: patchset updated - 0005-Fix_FTBFS_due_to_OpenEXR.patch dropped (applied upstream) * debian/copyright: license issue fixed (Closes: #737986) * debian/watch: exclude dev releases -- Matteo F. Vescovi Fri, 07 Feb 2014 16:07:26 +0100 openimageio (1.3.11~dfsg0-1) unstable; urgency=low * New upstream release - debian/patches/: patchset refreshed against v1.3.11 - 0002-Fix_IlmBase_issue.patch refreshed - 0005-Fix_FTBFS_due_to_OpenEXR.patch added - debian/rules: --sourcedirectory parameter dropped * debian/control: Uploader e-mail address updated * debian/control: S-V bump 3.9.4 => 3.9.5 (no changes needed) * debian/control: OpenColorIO support enabled (Closes: #721001) * debian/: SONAME bump 1.2 => 1.3 - control: "libopenimageio1.2" => "libopenimageio1.3" - libopenimageio1.2.install => libopenimageio1.3.install -- Matteo F. Vescovi Thu, 23 Jan 2014 09:27:38 +0100 openimageio (1.2.3~dfsg0-1ubuntu2) trusty; urgency=medium * No change rebuild against glew 1.10. -- Dimitri John Ledkov Thu, 02 Jan 2014 13:23:11 +0000 openimageio (1.2.3~dfsg0-1ubuntu1) trusty; urgency=medium * 0099-as-needed-fix.patch: Move -latomic to the right part of the link line to resolve FTBFS with as-needed on -latomic arches like powerpc. * 0099-libOpenImageIO-underlinked.patch: Link libOpenImageIO with -ldl. -- Adam Conrad Thu, 19 Dec 2013 19:06:30 -0700 openimageio (1.2.3~dfsg0-1) unstable; urgency=low * New upstream release -- Matteo F. Vescovi Tue, 05 Nov 2013 09:36:03 +0100 openimageio (1.2.2~dfsg0-1) unstable; urgency=low * New upstream release - debian/patches/: patchset updated - 0005-Fix_compiler_error_on_mips.patch dropped (applied upstream) -- Matteo F. Vescovi Thu, 03 Oct 2013 16:17:55 +0200 openimageio (1.2.1~dfsg0-3) unstable; urgency=low * debian/patches/: patchset updated - 0005-Fix_compiler_error_on_mips.patch added -- Matteo F. Vescovi Wed, 14 Aug 2013 12:16:34 +0200 openimageio (1.2.1~dfsg0-2) unstable; urgency=low * Upload to unstable * debian/manpages/: manpages updated (Closes: #719264) -- Matteo F. Vescovi Mon, 12 Aug 2013 10:01:05 +0200 openimageio (1.2.1~dfsg0-1) experimental; urgency=low * New upstream release - debian/patches/: patchset updated - 0001-Fix_docs_generation.patch refreshed - 0005-Fix_FTBFS_due_to_bit_range_convert_issue.patch dropped since applied upstream -- Matteo F. Vescovi Wed, 07 Aug 2013 10:01:24 +0200 openimageio (1.2.0~dfsg0-2) experimental; urgency=low * debian/patches/: patchset updated - 0005-Fix_FTBFS_due_to_bit_range_convert_issue.patch added Thanks to Larry Gritz (upstream devel) for the hint. -- Matteo F. Vescovi Tue, 16 Jul 2013 17:16:16 +0200 openimageio (1.2.0~dfsg0-1) experimental; urgency=low * New upstream release -- Matteo F. Vescovi Wed, 10 Jul 2013 10:18:29 +0200 openimageio (1.2.0~beta2~dfsg0-1) experimental; urgency=low * New upstream beta release -- Matteo F. Vescovi Fri, 05 Jul 2013 11:58:46 +0200 openimageio (1.2.0~beta1~dfsg0-1) experimental; urgency=low * New upstream beta release - debian/: SONAME bump 1.1 => 1.2 - debian/patches/: patchset updated - 0004-Fix_pause_issue.patch dropped (applied upstream) - 0005-Fix_FTBFS_on_atomic_operations.patch renamed to #0004 -- Matteo F. Vescovi Fri, 28 Jun 2013 10:17:26 +0200 openimageio (1.1.13~dfsg0-1) unstable; urgency=low * New upstream release -- Matteo F. Vescovi Wed, 26 Jun 2013 09:18:27 +0200 openimageio (1.1.12~dfsg0-1) unstable; urgency=low * New upstream release - debian/: +dsfgX => ~dfsgX repack renaming - debian/watch: "+" => "~" mangle options updated * debian/repack.sh: missing "gzip" filetype added * debian/control: build-dependencies updated - libboost-python-dev added - libfreetype6-dev added - libjpeg-dev removed - libopencv-dev added - libopenjpeg-dev added -- Matteo F. Vescovi Mon, 24 Jun 2013 11:42:16 +0200 openimageio (1.1.11+dfsg0-1) unstable; urgency=low * New upstream release -- Matteo F. Vescovi Fri, 31 May 2013 10:47:52 +0200 openimageio (1.1.10+dfsg0-3) unstable; urgency=low * debian/: FTBFS on atomic operations fixed - debian/control: b-dep on g++-4.7 was bumped to g++-4.8 - debian/rules: variables about g++ updated consequently - debian/patches/0005-Fix_FTBFS_on_atomic_operations.patch: added to adjust upstream source code using __atomic* instead of deprecated __sync* Thanks to Roland Stigge for the patch (Closes: #708929) -- Matteo F. Vescovi Tue, 21 May 2013 16:06:46 +0200 openimageio (1.1.10+dfsg0-2) unstable; urgency=low * Upload to unstable -- Matteo F. Vescovi Wed, 15 May 2013 17:48:52 +0200 openimageio (1.1.10+dfsg0-1) experimental; urgency=low * New upstream release -- Matteo F. Vescovi Tue, 23 Apr 2013 09:39:57 +0200 openimageio (1.1.9+dfsg0-1) experimental; urgency=low * New upstream release -- Matteo F. Vescovi Mon, 08 Apr 2013 11:35:10 +0200 openimageio (1.1.8+dfsg0-1) experimental; urgency=low * New upstream release - debian/patches/: 0005-Fix_SHA1_issue.patch dropped since it has been applied upstream -- Matteo F. Vescovi Wed, 20 Mar 2013 14:46:14 +0100 openimageio (1.1.3+dfsg0-1) experimental; urgency=low * New upstream release + debian/: by-arch symbols files re-worked * debian/control: new g++ b-dep to fix FTBFS (Closes: #687612) * debian/watch: source path updated. Thanks to Bart Martens (bartm) for the hint * debian/control: libtiff-dev b-dep fixed * debian/libopenimageio-dev.docs: README entry removed * debian/patches/: #0002 patch dropped (applied upstream) * debian/patches/: new #0002 and #0003 added. Thanks to Pino Toscano (pino) for the huge help * debian/patches/: #0004 added to fix "pause" issue. Thanks to Luca Falavigna (dktrkranz) for the hint. * debian/control: b-dep modified from gcc-4.7 to g++-4.7 * debian/rules: set export vars for gcc and g++ compilers * debian/patches/: #0005 added to fix SHA1 issue * debian/control: libilmbase-dev b-dep removed * debian/: SONAME bump (1.0 => 1.1) * debian/control: S-V 3.9.3 => 3.9.4 (no changes needed) -- Matteo F. Vescovi Thu, 10 Jan 2013 14:23:02 +0100 openimageio (1.0.5+dfsg0-1) unstable; urgency=low * New upstream release + debian/: symbols files added * debian/: updated manpages moved to "manpages" sub-dir. Thanks to IRIE Shinsuke for the updated manpages (Closes: #673504) * debian/patches/: #0002 added to fix FTBFS on Hurd. Thanks to Pino Toscano (pino) for the hint -- Matteo F. Vescovi Tue, 05 Jun 2012 10:50:52 +0200 openimageio (1.0.3+dfsg0-1) unstable; urgency=low * New upstream release * debian/patches/: + #0001/#0002 (doc generation) merged Thanks to David Paleino (dapal) for the hint * debian/rules: TBB support disabled * debian/: 8 => 9 dh bump -- Matteo F. Vescovi Wed, 18 Apr 2012 14:45:11 +0200 openimageio (1.0.0+dfsg0-1) unstable; urgency=low * Initial release (Closes: #660984) -- Matteo F. Vescovi Sat, 10 Mar 2012 10:39:11 +0100 debian/compat0000664000000000000000000000000212275255061010373 0ustar 9 debian/rules0000775000000000000000000000152112275255061010254 0ustar #!/usr/bin/make -f export DH_OPTIONS export REPACK_SH=$(CURDIR)/debian/repack.sh export CC=gcc-4.8 export CXX=g++-4.8 INSTDIR=debian/tmp ifeq ($(DEB_HOST_ARCH_CPU),amd64) export DEB_CXXFLAGS_MAINT_APPEND := -fPIC endif export DEB_LDFLAGS_MAINT_APPEND := -latomic %: dh $@ --buildsystem=cmake \ --builddirectory=build \ --parallel override_dh_auto_configure: dh_auto_configure -- \ -DCMAKE_SKIP_RPATH=ON \ -DUSE_FIELD3D=OFF \ -DUSE_PYTHON=OFF \ -DUSE_TBB=OFF override_dh_auto_build: $(MAKE) -C $(CURDIR)/src/doc/ dh_auto_build override_dh_auto_install: dh_auto_install \ --buildsystem=cmake \ --destdir=$(INSTDIR) override_dh_auto_test: override_dh_install: rm -f debian/tmp/usr/share/doc/openimageio/CHANGES rm -f debian/tmp/usr/share/doc/openimageio/LICENSE dh_install get-orig-source: uscan --force-download debian/repack.local0000664000000000000000000000005112275255061011452 0ustar SUFFIX=~dfsg0 rm src/doc/openimageio.pdf debian/control0000664000000000000000000001645512275306766010624 0ustar Source: openimageio Section: libs Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian PhotoTools Maintainers Uploaders: Matteo F. Vescovi Build-Depends: cmake, debhelper (>= 9), g++-4.8, libboost-filesystem-dev, libboost-python-dev, libboost-regex-dev, libboost-system-dev, libboost-thread-dev, libfreetype6-dev, libglew-dev, libopencolorio-dev [!hurd-i386], libopencv-dev, libopenexr-dev, libopenjpeg-dev, libpng-dev, libqt4-opengl-dev, libtiff-dev, # documentation texlive-latex-base, latex2html, txt2man Standards-Version: 3.9.5 Homepage: http://www.openimageio.org/ Vcs-Git: git://anonscm.debian.org/pkg-phototools/openimageio.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-phototools/openimageio.git Package: libopenimageio1.3 Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: Library for reading and writing images - runtime OpenImageIO is a library for reading and writing images, and a bunch of related classes, utilities, and applications. Main features include: . * Extremely simple but powerful ImageInput and ImageOutput APIs for reading and writing 2D images that is format agnostic -- that is, a "client app" doesn't need to know the details about any particular image file formats. Specific formats are implemented by DLL/DSO plugins. . * Format plugins for TIFF, JPEG/JFIF, OpenEXR, PNG, HDR/RGBE, Targa, JPEG-2000, DPX, Cineon, FITS, BMP, ICO, RMan Zfile, Softimage PIC, DDS, SGI, PNM/PPM/PGM/PBM, Field3d, WebP. More coming! The plugins are really good at understanding all the strange corners of the image formats, and are very careful about preserving image metadata (including Exif, GPS, and IPTC data). . * An ImageCache class that transparently manages a cache so that it can access truly vast amounts of image data (thousands of image files totaling hundreds of GB) very efficiently using only a tiny amount (tens of megabytes at most) of runtime memory. Additionally, a TextureSystem class provides filtered MIP-map texture lookups, atop the nice caching behavior of ImageCache. . * Several image tools based on these classes, including iinfo (print detailed info about images), iconvert (convert among formats, data types, or modify metadata), idiff (compare images),igrep (search images for matching metadata). Because these tools are based on ImageInput/ImageOutput, they work with any image formats for which ImageIO plugins are available. . * A really nice image viewer, iv, also based on OpenImageIO classes (and so will work with any formats for which plugins are available). . * Supported on Linux, OS X, and Windows. . * All available under the BSD license, so you may modify it and use it in both open source or proprietary apps. . This package contains the runtime library for building programs that use libOpenImageIO. Package: libopenimageio-dev Section: libdevel Architecture: any Depends: libopenimageio1.3 (= ${binary:Version}), ${misc:Depends} Description: Library for reading and writing images - development OpenImageIO is a library for reading and writing images, and a bunch of related classes, utilities, and applications. Main features include: . * Extremely simple but powerful ImageInput and ImageOutput APIs for reading and writing 2D images that is format agnostic -- that is, a "client app" doesn't need to know the details about any particular image file formats. Specific formats are implemented by DLL/DSO plugins. . * Format plugins for TIFF, JPEG/JFIF, OpenEXR, PNG, HDR/RGBE, Targa, JPEG-2000, DPX, Cineon, FITS, BMP, ICO, RMan Zfile, Softimage PIC, DDS, SGI, PNM/PPM/PGM/PBM, Field3d, WebP. More coming! The plugins are really good at understanding all the strange corners of the image formats, and are very careful about preserving image metadata (including Exif, GPS, and IPTC data). . * An ImageCache class that transparently manages a cache so that it can access truly vast amounts of image data (thousands of image files totaling hundreds of GB) very efficiently using only a tiny amount (tens of megabytes at most) of runtime memory. Additionally, a TextureSystem class provides filtered MIP-map texture lookups, atop the nice caching behavior of ImageCache. . * Several image tools based on these classes, including iinfo (print detailed info about images), iconvert (convert among formats, data types, or modify metadata), idiff (compare images),igrep (search images for matching metadata). Because these tools are based on ImageInput/ImageOutput, they work with any image formats for which ImageIO plugins are available. . * A really nice image viewer, iv, also based on OpenImageIO classes (and so will work with any formats for which plugins are available). . * Supported on Linux, OS X, and Windows. . * All available under the BSD license, so you may modify it and use it in both open source or proprietary apps. . This package contains the static library and headers for building programs that use libOpenImageIO. Package: openimageio-tools Section: graphics Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: Library for reading and writing images - command line tools OpenImageIO is a library for reading and writing images, and a bunch of related classes, utilities, and applications. Main features include: . * Extremely simple but powerful ImageInput and ImageOutput APIs for reading and writing 2D images that is format agnostic -- that is, a "client app" doesn't need to know the details about any particular image file formats. Specific formats are implemented by DLL/DSO plugins. . * Format plugins for TIFF, JPEG/JFIF, OpenEXR, PNG, HDR/RGBE, Targa, JPEG-2000, DPX, Cineon, FITS, BMP, ICO, RMan Zfile, Softimage PIC, DDS, SGI, PNM/PPM/PGM/PBM, Field3d, WebP. More coming! The plugins are really good at understanding all the strange corners of the image formats, and are very careful about preserving image metadata (including Exif, GPS, and IPTC data). . * An ImageCache class that transparently manages a cache so that it can access truly vast amounts of image data (thousands of image files totaling hundreds of GB) very efficiently using only a tiny amount (tens of megabytes at most) of runtime memory. Additionally, a TextureSystem class provides filtered MIP-map texture lookups, atop the nice caching behavior of ImageCache. . * Several image tools based on these classes, including iinfo (print detailed info about images), iconvert (convert among formats, data types, or modify metadata), idiff (compare images),igrep (search images for matching metadata). Because these tools are based on ImageInput/ImageOutput, they work with any image formats for which ImageIO plugins are available. . * A really nice image viewer, iv, also based on OpenImageIO classes (and so will work with any formats for which plugins are available). . * Supported on Linux, OS X, and Windows. . * All available under the BSD license, so you may modify it and use it in both open source or proprietary apps. . This package contains command line tools, including iv image viewer. debian/libopenimageio-dev.install0000664000000000000000000000012712275255061014324 0ustar usr/include usr/lib/lib*.so src/doc/openimageio.pdf /usr/share/doc/libopenimageio-dev/ debian/libopenimageio1.3.install0000664000000000000000000000002212267724422013767 0ustar usr/lib/lib*.so.* debian/manpages/0000775000000000000000000000000012275255061010770 5ustar debian/manpages/oiiotool.10000664000000000000000000002276212275255061012720 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH OIIOTOOL 1 "Aug 10, 2013" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME oiiotool \- the OIIO Swiss Army Knife .SH SYNOPSIS .B oiiotool .RI [ filename | option | action ]... .SH DESCRIPTION .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. The \fBoiiotool\fP program will read images (from any file format for which an ImageInput plugin can be found), perform various operations on them, and write images (in any format for which an ImageOutput plugin can be found). .PP The oiiotool utility is invoked as follows: .B oiiotool .RI args oiiotool maintains an image stack, with the top image in the stack also called the current image. The stack begins containing no images. .PP oiiotool arguments consist of image names, or commands. When an image name is encountered, that image is pushed on the stack and becomes the new current image. .PP Most other commands either alter the current image (replacing it with the alteration), or in some cases will pull more than one image off the stack (such as the current image and the next item on the stack) and then push a new image. .PP For a complete description, see .IR /usr/share/doc/openimageio-doc/openimageio.pdf.gz . .SH OPTIONS .SS Options (general): .TP .B \-\-help Print help message .TP .B \-v Verbose status messages .TP .B \-q Quiet mode (turn verbose off) .TP .B \-\-runstats Print runtime statistics .TP .B \-a Do operations on all subimages/miplevels .TP .B \-\-info Print resolution and metadata on all inputs .TP .BI \-\-metamatch\ %s Regex: which metadata is printed with -info -v .TP .BI \-\-no\-metamatch\ %s Regex: which metadata is excluded with -info -v .TP .B \-\-stats Print pixel statistics on all inputs .TP .B \-\-hash Print SHA-1 hash of each input image .TP .BI \-\-colorcount\ %s Count of how many pixels have the given color (argument: color;color;...) (optional args: eps=color) .TP .BI \-\-rangecheck\ %s\ %s Count of how many pixels are outside the low and high color arguments (each is a comma-separated color value list) .TP .B \-\-no\-clobber Do not overwrite existing files .TP .BI \-\-threads\ %d Number of threads (default 0 == #cores) .TP .BI \-\-frames\ %s Frame range for '#' wildcards .TP .BI \-\-framepadding\ %d Frame number padding digits .SS Commands that write images: .TP .BI \-o\ %s Output the current image to the named file .SS Options that affect subsequent image output: .TP .BI \-d\ %s \&'-d TYPE' sets the output data format of all channels, '-d CHAN=TYPE' overrides a single named channel (multiple -d args are allowed). .br Data types include: uint8, sint8, uint10, uint12, uint16, sint16, half, float, double .TP .B \-\-scanline Output scanline images .TP .BI \-\-tile\ %d\ %d Output tiled images (tilewidth, tileheight) .TP .BI \-\-compression\ %s Set the compression method .TP .BI \-\-quality\ %d Set the compression quality, 1-100 .TP .BI \-\-planarconfig\ %s Force planarconfig (contig, separate, default) .TP .B \-\-adjust\-time Adjust file times to match DateTime metadata .TP .B \-\-noautocrop Do not automatically crop images whose formats don't support separate pixel data and full/display windows .TP .B \-\-autotrim Automatically trim black borders upon output to file formats that support separate pixel data and full/display windows .SS Options that change current image metadata (but not pixel values): .TP .BI \-\-attrib\ %s\ %s Sets metadata attribute (name, value) .TP .BI \-\-sattrib\ %s\ %s Sets string metadata attribute (name, value) .TP .BI \-\-caption\ %s Sets caption (ImageDescription metadata) .TP .BI \-\-keyword\ %s Add a keyword .TP .B \-\-clear\-keywords Clear all keywords .TP .BI \-\-orientation\ %d Set the assumed orientation .TP .B \-\-rotcw Rotate orientation 90 deg clockwise .TP .B \-\-rotccw Rotate orientation 90 deg counter-clockwise .TP .B \-\-rot180 Rotate orientation 180 deg .TP .BI \-\-origin\ %s Set the pixel data window origin (e.g. +20+10) .TP .BI \-\-fullsize\ %s Set the display window (e.g., 1920x1080, 1024x768+100+0, -20-30) .TP .B \-\-fullpixels Set the 'full' image range to be the pixel data window .TP .BI \-\-chnames\ %s Set the channel names (comma-separated) .SS Options that affect subsequent actions: .TP .BI \-\-fail\ %g Failure threshold difference (0.000001) .TP .BI \-\-failpercent\ %g Allow this percentage of failures in diff (0) .TP .BI \-\-hardfail\ %g Fail diff if any one pixel exceeds this error (infinity) .TP .BI \-\-warn\ %g Warning threshold difference (0.00001) .TP .BI \-\-warnpercent\ %g Allow this percentage of warnings in diff (0) .TP .BI \-\-hardwarn\ %g Warn if any one pixel difference exceeds this error (infinity) .SS Actions: .TP .BI \-\-create\ %s\ %d Create a blank image (args: geom, channels) .TP .BI \-\-pattern\ %s\ %s\ %d Create a patterned image (args: pattern, geom, channels) .TP .BI \-\-kernel\ %s\ %s Create a centered convolution kernel (args: name, geom) .TP .B \-\-capture Capture an image (options: camera=%d) .TP .B \-\-diff Print report on the difference of two images (modified by --fail, --failpercent, --hardfail, --warn, --warnpercent --hardwarn) .TP .B \-\-add Add two images .TP .B \-\-sub Subtract two images .TP .B \-\-abs Take the absolute value of the image pixels .TP .B \-\-mul Multiply two images .TP .BI \-\-cmul\ %s Multiply the image values by a scalar or per-channel constants (e.g.: 0.5 or 1,1.25,0.5) .TP .BI \-\-cadd\ %s Add to all channels a scalar or per-channel constants (e.g.: 0.5 or 1,1.25,0.5) .TP .B \-\-chsum Turn into 1-channel image by summing channels (options: weight=r,g,...) .TP .BI \-\-paste\ %s Paste fg over bg at the given position (e.g., +100+50) .TP .BI \-\-mosaic\ %s Assemble images into a mosaic (arg: WxH; options: pad=0) .TP .B \-\-over \&'Over' composite of two images .TP .B \-\-zover Depth composite two images with Z channels (options: zeroisinf=%d) .TP .BI \-\-histogram\ %s\ %d Histogram one channel (options: cumulative=0) .TP .B \-\-flip Flip the image vertically (top<->bottom) .TP .B \-\-flop Flop the image horizontally (left<->right) .TP .B \-\-flipflop Flip and flop the image (180 degree rotation) .TP .B \-\-transpose Transpose the image .TP .BI \-\-cshift\ %s Circular shift the image (e.g.: +20-10) .TP .BI \-\-crop\ %s Set pixel data resolution and offset, cropping or padding if necessary (WxH+X+Y or xmin,ymin,xmax,ymax) .TP .B \-\-croptofull Crop or pad to make pixel data region match the "full" region .TP .BI \-\-resample\ %s Resample (640x480, 50%) .TP .BI \-\-resize\ %s Resize (640x480, 50%) (optional args: filter=%s) .TP .BI \-\-fit\ %s Resize to fit within a window size (optional args: filter=%s, pad=%d) .TP .B \-\-convolve Convolve with a kernel .TP .BI \-\-blur\ %s Blur the image (arg: WxH; options: kernel=name) .TP .B \-\-unsharp Unsharp mask (options: kernel=gaussian, width=3, contrast=1, threshold=0) .TP .B \-\-fft Take the FFT of the image .TP .B \-\-ifft Take the inverse FFT of the image .TP .BI \-\-fixnan\ %s Fix NaN/Inf values in the image (options: none, black, box3) .TP .B \-\-fillholes Fill in holes (where alpha is not 1) .TP .BI \-\-fill\ %s Fill a region (options: color=) .TP .B \-\-clamp Clamp values (options: min=..., max=..., clampalpha=0) .TP .B \-\-rangecompress Compress the range of pixel values > 1 with a log scale (options: luma=0|1) .TP .B \-\-rangeexpand Un-rangecompress pixel values > 1 (options: luma=0|1) .TP .BI \-\-text\ %s Render text into the current image (options: x=, y=, size=, color=) .SS Image stack manipulation: .TP .BI \-\-ch\ %s Select or shuffle channels (e.g., "R,G,B", "B,G,R", "2,3,4") .TP .B \-\-chappend Append the channels of the last two images .TP .B \-\-unmip Discard all but the top level of a MIPmap .TP .BI \-\-selectmip\ %d Select just one MIP level (0 = highest res) .TP .BI \-\-subimage\ %d Select just one subimage .TP .B \-\-pop Throw away the current image .TP .B \-\-dup Duplicate the current image (push a copy onto the stack) .TP .B \-\-swap Swap the top two images on the stack. .SS Color management: .TP .BI \-\-iscolorspace\ %s Set the assumed color space (without altering pixels) .TP .BI \-\-tocolorspace\ %s Convert the current image's pixels to a named color space .TP .BI \-\-colorconvert\ %s\ %s Convert pixels from 'src' to 'dst' color space (without regard to its previous interpretation) .TP .BI \-\-ociolook\ %s Apply the named OCIO look (optional args: from=, to=, inverse=, key=, value=) .TP .B \-\-unpremult Divide all color channels of the current image by the alpha to "un-premultiply" .TP .B \-\-premult Multiply all color channels of the current image by the alpha .PP Known color spaces: "linear", "sRGB", "Rec709" .SH SEE ALSO .BR iconvert (1), .BR idiff (1), .BR igrep (1), .BR iinfo (1), .BR iv (1), .BR maketx (1). .SH AUTHOR OpenImageIO was written by Larry Gritz and the other authors and contributors. .PP This manual page was written by IRIE Shinsuke , for the Debian project (and may be used by others). debian/manpages/iv.10000664000000000000000000000301512275255061011467 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH IV 1 "Dec 11, 2012" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME iv \- image viewer .SH SYNOPSIS .B iv .RI [ options ] " files" ... .SH DESCRIPTION .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. The \fBiv\fP program is a great interactive image viewer. Because iv is built on top on OpenImageIO, it can display images of any formats readable by ImageInput plugins on hand. .SH OPTIONS .TP .B \-\-help Print help message .TP .B \-v Verbose status messages .TP .B \-F Foreground mode .SH SEE ALSO .BR iconvert (1), .BR idiff (1), .BR igrep (1), .BR iinfo (1), .BR maketx (1), .BR oiiotool (1). .SH AUTHOR OpenImageIO was written by Larry Gritz and the other authors and contributors. .PP This manual page was written by IRIE Shinsuke , for the Debian project (and may be used by others). debian/manpages/igrep.10000664000000000000000000000467412275255061012173 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH IGREP 1 "Dec 11, 2012" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME igrep \- search images for matching metadata .SH SYNOPSIS .B igrep .RI [ options ] " pattern files" ... .SH DESCRIPTION .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. The \fBigrep\fP utility is invoked as follows: .B igrep .RI [ options ] " pattern filename" ... Where pattern is a POSIX.2 regular expression (just like the Unix/Linux \fBgrep\fP(1) command), and filename (and any following names) specify images or directories that should be searched. An image file will "match" if any of its metadata contains values contain substring that are recognized regular expression. The image files may be of any format recognized by OpenImageIO (i.e., for which ImageInput plugins are available). .PP Example: .nf $ igrep Jack *.jpg bar.jpg: Keywords = Carly; Jack foo.jpg: Keywords = Jack test7.jpg: ImageDescription = Jack on vacation .fi .PP For a complete description, see .IR /usr/share/doc/openimageio-doc/openimageio.pdf.gz . .SH OPTIONS .TP .B \-\-help Print help message .TP .B \-i Ignore upper/lower case distinctions .TP .B \-v Invert match (select non-matching files) .TP .B \-E Pattern is an extended regular expression .TP .B \-f Match against file name as well as metadata .TP .B \-l List the matching files (no detail) .TP .B \-r Recurse into directories .TP .B \-d Print directories (when recursive) .TP .B \-a Search all subimages of each file .SH SEE ALSO .BR iconvert (1), .BR idiff (1), .BR iinfo (1), .BR iv (1), .BR maketx (1), .BR oiiotool (1). .SH AUTHOR OpenImageIO was written by Larry Gritz and the other authors and contributors. .PP This manual page was written by IRIE Shinsuke , for the Debian project (and may be used by others). debian/manpages/iprocess.10000664000000000000000000000347712275255061012714 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH IPROCESS 1 "May 19, 2012" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME iprocess \- simple image processing operations .SH SYNOPSIS .B iprocess .RI [ options ] " inputfiles" ... " -o outputfile" .SH DESCRIPTION .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. \fBiprocess\fP is a program for simple image processing operations. .SH OPTIONS .TP .B \-\-help Print help message .TP .BI \-o\ %s Set output filename .SS Image operations: .TP .BI \-\-add Add two images .TP .BI \-\-crop\ %d\ %d\ %d\ %d Crop an image (xmin, xmax, ymin, ymax) .TP .BI \-\-flip Flip the Image (upside-down) .TP .BI \-\-flop Flop the Image (left/right mirror) .SS Output options: .TP .BI \-\-filter\ %s\ %f Set the filter to use for resize .TP .BI \-\-resize\ %d\ %d Resize the image to x by y pixels .SH SEE ALSO .BR iconvert (1), .BR idiff (1), .BR igrep (1), .BR iinfo (1), .BR iv (1), .BR maketx (1), .BR oiiotool (1). .SH AUTHOR OpenImageIO was written by Larry Gritz and the other authors and contributors. .PP This manual page was written by IRIE Shinsuke , for the Debian project (and may be used by others). debian/manpages/iinfo.10000664000000000000000000000453312275255061012163 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH IINFO 1 "Dec 11, 2012" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME iinfo \- print information about images .SH SYNOPSIS .B iinfo .RI [ options ] " files" ... .SH DESCRIPTION .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. The \fBiinfo\fP utility is invoked as follows: .B iinfo .RI [ options ] " filename" ... Where filename (and any following strings) names the image file(s) whose information should be printed. The image files may be of any format recognized by OpenImageIO (i.e., for which ImageInput plugins are available). .PP In its most basic usage, it simply prints the resolution, number of channels, pixel data type, and file format type of each of the files listed: .nf $ iinfo img_6019m.jpg grid.tif lenna.png img_6019m.jpg : 1024 x 683, 3 channel, uint8 jpeg grid.tif : 512 x 512, 3 channel, uint8 tiff lenna.png : 120 x 120, 4 channel, uint8 png .fi .PP For a complete description, see .IR /usr/share/doc/openimageio-doc/openimageio.pdf.gz . .SH OPTIONS .TP .B \-\-help Print help message .TP .B \-v Verbose output .TP .BI \-m\ %s Metadata names to print (default: all) .TP .B \-f Prefix each line with the filename .TP .B \-s Sum the image sizes .TP .B \-a Print info about all subimages .TP .B \-\-hash Print SHA-1 hash of pixel values .TP .B \-\-stats Print image pixel statistics (data window) .SH SEE ALSO .BR iconvert (1), .BR idiff (1), .BR igrep (1), .BR iv (1), .BR maketx (1), .BR oiiotool (1). .SH AUTHOR OpenImageIO was written by Larry Gritz and the other authors and contributors. .PP This manual page was written by IRIE Shinsuke , for the Debian project (and may be used by others). debian/manpages/maketx.10000664000000000000000000001267512275255061012356 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH MAKETX 1 "Aug 10, 2013" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME maketx \- convert images to tiled, MIP-mapped textures .SH SYNOPSIS .B maketx .RI [ options ] " files" ... .SH DESCRIPTION .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. The \fBmaketx\fP program will read an image (from any file format for which an ImageInput plugin can be found) and then write it in a form in which it will have high performance when used by TextureSystem. This involves converting it to tiled (versus scanline) orientation, writing multiple subimages at different resolutions (MIP-map), and setting a variety of header or metadata fields appropriately for texture maps. .PP The maketx utility is invoked as follows: .B maketx .RI [ options ] " input" ... " -o output" Where input and output name the input image and desired output filename. The input files may be of any image format recognized by OpenImageIO (i.e., for which ImageInput plugins are available). The file format of the output image will be inferred from the file extension of the output filename (e.g., "foo.tif" will write a TIFF file). .PP For a complete description, see .IR /usr/share/doc/openimageio-doc/openimageio.pdf.gz . .SH OPTIONS .TP .B \-\-help Print help message .TP .B \-v Verbose status messages .TP .BI \-o\ %s Output filename .TP .B \-\-old Old mode .TP .BI \-\-threads\ %d Number of threads (default: #cores) .TP .B \-u Update mode .TP .BI \-\-format\ %s Specify output file format (default: guess from extension) .TP .BI \-\-nchannels\ %d Specify the number of output image channels. .TP .BI \-\-chnames\ %s Rename channels (comma-separated) .TP .BI \-d\ %s Set the output data format to one of: .br uint8, sint8, uint16, sint16, half, float .TP .BI \-\-tile\ %d\ %d Specify tile size .TP .B \-\-separate Use planarconfig separate (default: contiguous) .TP .BI \-\-compression\ %s Set the compression method (default = zip, if possible) .TP .BI \-\-fovcot\ %f Override the frame aspect ratio. Default is width/height. .TP .BI \-\-wrap\ %s Specify wrap mode (black, clamp, periodic, mirror) .TP .BI \-\-swrap\ %s Specific s wrap mode separately .TP .BI \-\-twrap\ %s Specific t wrap mode separately .TP .B \-\-resize Resize textures to power of 2 (default: no) .TP .B \-\-noresize Do not resize textures to power of 2 (deprecated) .TP .BI \-\-filter\ %s Select filter for resizing .br (choices: box triangle gaussian sharp-gaussian catrom blackman-harris sinc lanczos3 radial-lanczos3 mitchell bspline disk, default=box) .TP .B \-\-hicomp Compress HDR range before resize, expand after. .TP .B \-\-nomipmap Do not make multiple MIP-map levels .TP .B \-\-checknan Check for NaN/Inf values (abort if found) .TP .BI \-\-fixnan\ %s Attempt to fix NaN/Inf values in the image (options: none, black, box3) .TP .B \-\-fullpixels Set the 'full' image range to be the pixel data window .TP .BI \-\-Mcamera\ %f\ %f\ %f\ %f\ %f\ %f\ %f\ %f\ %f\ %f\ %f\ %f\ %f\ %f\ %f\ %f Set the camera matrix .TP .BI \-\-Mscreen\ %f\ %f\ %f\ %f\ %f\ %f\ %f\ %f\ %f\ %f\ %f\ %f\ %f\ %f\ %f\ %f Set the screen matrix .TP .B \-\-prman\-metadata Add prman specific metadata .TP .B \-\-constant\-color\-detect Create 1-tile textures from constant color inputs .TP .B \-\-monochrome\-detect Create 1-channel textures from monochrome inputs .TP .B \-\-opaque\-detect Drop alpha channel that is always 1.0 .TP .B \-\-ignore\-unassoc Ignore unassociated alpha tags in input (don't autoconvert) .TP .B \-\-stats Print runtime statistics .TP .BI \-\-mipimage\ %s Specify an individual MIP level .SS Basic modes (default is plain texture): .TP .B \-\-shadow Create shadow map .TP .B \-\-envlatl Create lat/long environment map .TP .B \-\-lightprobe Create lat/long environment map from a light probe .SS Color Management Options (OpenColorIO DISABLED) .TP .BI \-\-colorconvert\ %s\ %s Apply a color space conversion to the image. If the output color space is not the same bit depth as input color space, it is your responsibility to set the data format to the proper bit depth using the -d option. .br (choices: linear, sRGB, Rec709) .TP .B \-\-unpremult Unpremultiply before color conversion, then premultiply after the color conversion. You'll probably want to use this flag if your image contains an alpha channel. .SS Configuration Presets .TP .B \-\-prman Use PRMan-safe settings for tile size, planarconfig, and metadata. .TP .B \-\-oiio Use OIIO-optimized settings for tile size, planarconfig, metadata, and constant-color optimizations. .SH SEE ALSO .BR iconvert (1), .BR idiff (1), .BR igrep (1), .BR iinfo (1), .BR iv (1), .BR oiiotool (1). .SH AUTHOR OpenImageIO was written by Larry Gritz and the other authors and contributors. .PP This manual page was written by IRIE Shinsuke , for the Debian project (and may be used by others). debian/manpages/idiff.10000664000000000000000000000715712275255061012145 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH IDIFF 1 "Dec 11, 2012" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME idiff \- compare two images .SH SYNOPSIS .B idiff .RI [ options ] " image1 image2" .SH DESCRIPTION .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. The \fBidiff\fP utility is invoked as follows: .B idiff .RI [ options ] " image1 image2" Where input1 and input2 are the names of two image files that should be compared. They may be of any format recognized by OpenImageIO (i.e., for which image-reading plugins are available). .PP If the two input images are not the same resolutions, or do not have the same number of channels, the comparison will return FAILURE immediately and will not attempt to compare the pixels of the two images. If they are the same dimensions, the pixels of the two images will be compared, and a report will be printed including the mean and maximum error, how many pixels were above the warning and failure thresholds, and whether the result is PASS, WARNING, or FAILURE. For example: .nf $ idiff a.jpg b.jpg Comparing "a.jpg" and "b.jpg" Mean error = 0.00450079 RMS error = 0.00764215 Peak SNR = 42.3357 Max error = 0.254902 @ (700, 222, B) 574062 pixels (82.1%) over 1e-06 574062 pixels (82.1%) over 1e-06 FAILURE .fi The "mean error" is the average difference (per channel, per pixel). The "max error" is the largest difference in any pixel channel, and will point out on which pixel and channel it was found. It will also give a count of how many pixels were above the warning and failure thresholds. .PP The metadata of the two images (e.g., the comments) are not currently compared; only differences in pixel values are taken into consideration. .PP For a complete description, see .IR /usr/share/doc/openimageio-doc/openimageio.pdf.gz . .SH OPTIONS .TP .B \-\-help Print help message .TP .B \-v Verbose status messages .TP .B \-a Compare all subimages/miplevels .SS Thresholding and comparison options .TP .BI \-fail\ %g Failure threshold difference (0.000001) .TP .BI \-failpercent\ %g Allow this percentage of failures (0) .TP .BI \-hardfail\ %g Fail if any one pixel exceeds this error (infinity) .TP .BI \-warn\ %g Warning threshold difference (0.00001) .TP .BI \-warnpercent\ %g Allow this percentage of warnings (0) .TP .BI \-hardwarn\ %g Warn if any one pixel exceeds this error (infinity) .TP .B \-p Perform perceptual (rather than numeric) comparison .SS Difference image options .TP .BI \-o\ %s Output difference image .TP .B \-od Output image only if nonzero difference .TP .B \-abs Output image of absolute value, not signed difference .TP .BI \-scale\ %g Scale the output image by this factor .SH SEE ALSO .BR iconvert (1), .BR igrep (1), .BR iinfo (1), .BR iv (1), .BR maketx (1), .BR oiiotool (1). .SH AUTHOR OpenImageIO was written by Larry Gritz and the other authors and contributors. .PP This manual page was written by IRIE Shinsuke , for the Debian project (and may be used by others). debian/manpages/iconvert.10000664000000000000000000001017512275255061012707 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH ICONVERT 1 "Dec 11, 2012" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME iconvert \- copy images with format conversions and other alterations .SH SYNOPSIS .B iconvert .RI [ options ] " inputfile outputfile" .br .B iconvert .RI [ options ] " --inplace files" ... .SH DESCRIPTION .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. The \fBiconvert\fP program will read an image (from any file format for which an ImageInput plugin can be found) and then write the image to a new file (in any format for which an ImageOutput plugin can be found). In the process, iconvert can optionally change the file format or data format (for example, converting floating-point data to 8-bit integers), apply gamma correction, switch between tiled and scanline orientation, or alter or add certain metadata to the image. .PP The iconvert utility is invoked as follows: .B iconvert .RI [ options ] " input output" Where input and output name the input image and desired output filename. The image files may be of any format recognized by OpenImageIO (i.e., for which ImageInput plugins are available). The file format of the output image will be inferred from the file extension of the output filename (e.g., "foo.tif" will write a TIFF file). .PP Alternately, any number of files may be specified as follows: .B iconvert .RI [ options ] " --inplace file1 file2" ... When the \-\-inplace option is used, any number of file names >= 1 may be specified, and the image conversion commands are applied to each file in turn, with the output being saved under the original file name. This is useful for applying the same conversion to many files, or simply if you want to replace the input with the output rather than create a new file with a different name. .PP For a complete description, see .IR /usr/share/doc/openimageio-doc/openimageio.pdf.gz . .SH OPTIONS .TP .B \-\-help Print help message .TP .B \-v Verbose status messages .TP .BI \-\-threads\ %d Number of threads (default 0 = #cores) .TP .BI \-d\ %s Set the output data format to one of: .br uint8, sint8, uint10, uint12, uint16, sint16, half, float, double .TP .BI \-g\ %f Set gamma correction (default = 1) .TP .BI \-\-tile\ %d\ %d Output as a tiled image .TP .B \-\-scanline Output as a scanline image .TP .BI \-\-compression\ %s Set the compression method (default = same as input) .TP .BI \-\-quality\ %d Set the compression quality, 1-100 .TP .B \-\-no\-copy\-image Do not use ImageOutput copy_image functionality (dbg) .TP .B \-\-adjust\-time Adjust file times to match DateTime metadata .TP .BI \-\-caption\ %s Set caption (ImageDescription) .TP .BI \-\-keyword\ %s Add a keyword .TP .B \-\-clear\-keywords Clear keywords .TP .BI \-\-attrib\ %s\ %s Set a string attribute (name, value) .TP .BI \-\-orientation\ %d Set the orientation .TP .B \-\-rotcw Rotate 90 deg clockwise .TP .B \-\-rotccw Rotate 90 deg counter-clockwise .TP .B \-\-rot180 Rotate 180 deg .TP .B \-\-inplace Do operations in place on images .TP .B \-\-sRGB This file is in sRGB color space .TP .B \-\-separate Force planarconfig separate .TP .B \-\-contig Force planarconfig contig .TP .B \-\-no\-clobber Do no overwrite existing files .SH SEE ALSO .BR idiff (1), .BR igrep (1), .BR iinfo (1), .BR iv (1), .BR maketx (1), .BR oiiotool (1). .SH AUTHOR OpenImageIO was written by Larry Gritz and the other authors and contributors. .PP This manual page was written by IRIE Shinsuke , for the Debian project (and may be used by others). debian/libopenimageio-dev.docs0000664000000000000000000000002612275255061013604 0ustar CREDITS src/doc/CLA-* debian/watch0000664000000000000000000000021412275255061010223 0ustar version=3 opts="dversionmangle=s/\~dfsg.*//" \ https://github.com/OpenImageIO/oiio/tags .*/Release-(\d.*[^dev])\.(?:tgz|tar\.(?:gz|bz2|xz)) debian/repack.sh0000775000000000000000000000705612275255061011011 0ustar #!/bin/sh # see the repack.stub for how to use # TODO: provide example watch files and repack.locals # TODO: test suite. problems fixed that need to be tested: # * globbing # * whitespace and then comments in the MANIFEST # TODO: does / in weird places work? test suite too. # TODO: I actually broke stuff with the MANIFEST change not thinking.. # TODO: allow for a sepearate (and multiple) MANIFEST files, then # de-uglify libsyntax-highlight-engine-kate-perl. # TODO: have each mv and rm check that something actually changed, and # if not, die set -e set -u usage() { echo "Usage: repack.sh --upstream-version " exit 1 } if [ "$#" != "3" ]; then usage fi if [ "$1" != "--upstream-version" ]; then usage fi if [ ! -f "$3" ]; then if [ -n "$3" ]; then echo "$3 doesn't exist" fi usage fi VER="$2" FILE="$3" PKG=`dpkg-parsechangelog|grep ^Source:|sed 's/^Source: //'` SUFFIX="~dfsg" echo echo "Repackaging $FILE" echo DIR=`mktemp -d ./tmpRepackXXXXXX` DIR=$(readlink -f "$DIR") trap "/bin/rm -rf \"$DIR\"" QUIT INT EXIT # Create an extra directory to cope with rootless tarballs UP_BASE="$DIR/unpack" mkdir "$UP_BASE" tar xf "$FILE" -C "$UP_BASE" || unzip "$FILE" -d "$UP_BASE" if [ `ls -1 "$UP_BASE" | wc -l` -eq 1 ]; then # Tarball does contain a root directory UP_BASE="$UP_BASE/`ls -1 "$UP_BASE"`" fi RM_OPTS="-vrf" real_rm(){ /bin/rm "$@" } real_mv(){ /bin/mv "$@" } rm(){ set +f MYOLDPWD=$(pwd) cd "$UP_BASE" if [ "$MANIFEST" = "1" ]; then PERM=$(stat --format=%a "MANIFEST") chmod u+w "MANIFEST" fi for i in $@; do if [ "$MANIFEST" = "1" ]; then PATTERN="^$i" if [ -d "$i" ]; then if ! { echo "$PATTERN" | grep -q "/$" ; }; then PATTERN="${PATTERN}/" fi else PATTERN="${PATTERN}\s?" fi grep -Ev "$PATTERN" "MANIFEST" > "$DIR/MANIFEST" real_mv "$DIR/MANIFEST" "MANIFEST" fi real_rm "$RM_OPTS" "$i" done if [ "$MANIFEST" = "1" ]; then chmod $PERM "MANIFEST" fi cd $MYOLDPWD set -f } mv(){ set +f OLD=$(pwd) cd $UP_BASE real_mv "$@" cd $OLD if [ "$MANIFEST" = "1" ]; then echo "MANIFEST cannot be manipulated with mv yet, patches welcome" exit 1 fi set -f } # bump with incompatible changes REPACK_VERSION=3 requires_version(){ if [ $REPACK_VERSION -lt $1 ]; then echo "repack.sh is not up to date enough for this package. you need at least version $1, while this script is only version $REPACK_VERSION" exit 1 fi } MANIFEST=0 ## Remove stuff set -f MYORIGPWD=$(pwd) cd "$UP_BASE" . "$MYORIGPWD/debian/repack.local" cd $MYORIGPWD set +f ## End REPACK_DIR="$PKG-${VER}${SUFFIX}.orig" # DevRef ยง 6.7.8.2 DFSG_TAR="$(dirname $FILE)/${PKG}_${VER}${SUFFIX}.orig.tar" real_mv "$UP_BASE" "$DIR/$REPACK_DIR" # .gz or .bz2? FILETYPE=$(file --brief --mime-type --dereference "$FILE") case "$FILETYPE" in application/x-gzip|application/gzip|application/zip) C_PROGRAM="gzip" C_SUFFIX="gz" ;; application/x-bzip2) C_PROGRAM="bzip2" C_SUFFIX="bz2" ;; *) echo "E: Unknown filetype $FILETYPE" exit 1 ;; esac # Using a pipe hides tar errors! tar cfC "$DIR/repacked.tar" "$DIR" "$REPACK_DIR" $C_PROGRAM -9 < "$DIR/repacked.tar" > "$DIR/repacked.tar.$C_SUFFIX" real_mv "$DIR/repacked.tar.$C_SUFFIX" "$DFSG_TAR.$C_SUFFIX" echo "*** $DFSG_TAR.$C_SUFFIX ready" debian/gbp.conf0000664000000000000000000000003612275255061010613 0ustar [DEFAULT] pristine-tar = True debian/patches/0000775000000000000000000000000012275255061010624 5ustar debian/patches/0001-Fix_docs_generation.patch0000664000000000000000000000147712275255061016205 0ustar From: David Paleino Date: Wed, 4 Dec 2013 14:48:25 +0100 Subject: Fix_docs_generation --- src/doc/CMakeLists.txt | 1 - src/doc/Makefile | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/doc/CMakeLists.txt b/src/doc/CMakeLists.txt index 5e2e986..d754dfc 100644 --- a/src/doc/CMakeLists.txt +++ b/src/doc/CMakeLists.txt @@ -1,7 +1,6 @@ project(documentation) set (public_docs - openimageio.pdf "${OpenImageIO_SOURCE_DIR}/LICENSE" "${OpenImageIO_SOURCE_DIR}/CHANGES" ) diff --git a/src/doc/Makefile b/src/doc/Makefile index 7e75955..96afb13 100644 --- a/src/doc/Makefile +++ b/src/doc/Makefile @@ -5,7 +5,7 @@ all: openimageio.pdf # document making rule: use pdflatex -openimageio.pdf: *.tex *.aux +openimageio.pdf: *.tex ${PDFLATEX} openimageio.tex debian/patches/0004-Fix_FTBFS_on_atomic_operations.patch0000664000000000000000000000374012275255061020177 0ustar From: Roland Stigge Date: Wed, 4 Dec 2013 15:25:33 +0100 Subject: Fix_FTBFS_on_atomic_operations --- src/include/thread.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/include/thread.h b/src/include/thread.h index ecf3e66..1a927ea 100644 --- a/src/include/thread.h +++ b/src/include/thread.h @@ -223,7 +223,7 @@ atomic_exchange_and_add (volatile int *at, int x) #ifdef NOTHREADS int r = *at; *at += x; return r; #elif defined(USE_GCC_ATOMICS) - return __sync_fetch_and_add ((int *)at, x); + return __atomic_fetch_add ((int *)at, x, __ATOMIC_SEQ_CST); #elif USE_TBB atomic *a = (atomic *)at; return a->fetch_and_add (x); @@ -243,7 +243,7 @@ atomic_exchange_and_add (volatile long long *at, long long x) #ifdef NOTHREADS long long r = *at; *at += x; return r; #elif defined(USE_GCC_ATOMICS) - return __sync_fetch_and_add (at, x); + return __atomic_fetch_add (at, x, __ATOMIC_SEQ_CST); #elif USE_TBB atomic *a = (atomic *)at; return a->fetch_and_add (x); @@ -277,7 +277,7 @@ atomic_compare_and_exchange (volatile int *at, int compareval, int newval) return false; } #elif defined(USE_GCC_ATOMICS) - return __sync_bool_compare_and_swap (at, compareval, newval); + return __atomic_compare_exchange_n (at, &compareval, newval, false, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); #elif USE_TBB atomic *a = (atomic *)at; return a->compare_and_swap (newval, compareval) == newval; @@ -300,7 +300,7 @@ atomic_compare_and_exchange (volatile long long *at, long long compareval, long return false; } #elif defined(USE_GCC_ATOMICS) - return __sync_bool_compare_and_swap (at, compareval, newval); + return __atomic_compare_exchange_n (at, &compareval, newval, false, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); #elif USE_TBB atomic *a = (atomic *)at; return a->compare_and_swap (newval, compareval) == newval; debian/patches/0099-as-needed-fix.patch0000664000000000000000000000107612254723022014653 0ustar Description: Move -latomic to the right part of the link line Author: Adam Conrad --- openimageio-1.1.13~dfsg0.orig/src/libOpenImageIO/CMakeLists.txt +++ openimageio-1.1.13~dfsg0/src/libOpenImageIO/CMakeLists.txt @@ -207,7 +207,7 @@ else () endif () target_link_libraries (OpenImageIO ${VISIBILITY_COMMAND} ${VISIBILITY_MAP_COMMAND} - ${Boost_LIBRARIES}) + ${Boost_LIBRARIES} atomic) # Link against system TBB library if specified if (USE_TBB AND USE_EXTERNAL_TBB) debian/patches/0099-libOpenImageIO-underlinked.patch0000664000000000000000000000112712254725455017340 0ustar Description: Link libOpenImageIO with -ldl to resolve dlopen() Author: Adam Conrad --- openimageio-1.1.13~dfsg0.orig/src/libOpenImageIO/CMakeLists.txt +++ openimageio-1.1.13~dfsg0/src/libOpenImageIO/CMakeLists.txt @@ -207,7 +207,7 @@ else () endif () target_link_libraries (OpenImageIO ${VISIBILITY_COMMAND} ${VISIBILITY_MAP_COMMAND} - ${Boost_LIBRARIES} atomic) + ${Boost_LIBRARIES} atomic ${CMAKE_DL_LIBS}) # Link against system TBB library if specified if (USE_TBB AND USE_EXTERNAL_TBB) debian/patches/0003-Fix_multiarch_paths.patch0000664000000000000000000000237012275255061016224 0ustar From: "Matteo F. Vescovi" Date: Wed, 4 Dec 2013 15:21:12 +0100 Subject: Fix_multiarch_paths This patch adds multiarch paths to the standard ones for ilm and openexr libraries. --- src/cmake/modules/FindIlmBase.cmake | 2 ++ src/cmake/modules/FindOpenEXR.cmake | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/cmake/modules/FindIlmBase.cmake b/src/cmake/modules/FindIlmBase.cmake index 51f6a9c..f6a0b03 100644 --- a/src/cmake/modules/FindIlmBase.cmake +++ b/src/cmake/modules/FindIlmBase.cmake @@ -124,7 +124,9 @@ set (IlmBase_generic_include_paths set (IlmBase_generic_library_paths ${ILMBASE_CUSTOM_LIB_DIR} /usr/lib + /usr/lib/${CMAKE_LIBRARY_ARCHITECTURE} /usr/local/lib + /usr/local/lib/${CMAKE_LIBRARY_ARCHITECTURE} /sw/lib /opt/local/lib) diff --git a/src/cmake/modules/FindOpenEXR.cmake b/src/cmake/modules/FindOpenEXR.cmake index ac8eda1..ebd1f24 100644 --- a/src/cmake/modules/FindOpenEXR.cmake +++ b/src/cmake/modules/FindOpenEXR.cmake @@ -120,7 +120,9 @@ set (OpenEXR_generic_include_paths set (OpenEXR_generic_library_paths ${OPENEXR_CUSTOM_LIB_DIR} /usr/lib + /usr/lib/${CMAKE_LIBRARY_ARCHITECTURE} /usr/local/lib + /usr/local/lib/${CMAKE_LIBRARY_ARCHITECTURE} /sw/lib /opt/local/lib) debian/patches/0002-Fix_IlmBase_issue.patch0000664000000000000000000000173012275255061015557 0ustar From: "Matteo F. Vescovi" Date: Wed, 4 Dec 2013 14:54:41 +0100 Subject: Fix_IlmBase_issue This patch hides the private symbols even on kFreeBSD and Hurd, besides Linux. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 79b5108..862dbd6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -82,7 +82,7 @@ if (CMAKE_COMPILER_IS_CLANG OR CMAKE_COMPILER_IS_GNUCC) # Turn default symbol visibility to hidden set (VISIBILITY_COMMAND "-fvisibility=hidden -fvisibility-inlines-hidden") add_definitions (${VISIBILITY_COMMAND}) - if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux") + if (CMAKE_SYSTEM_NAME MATCHES "Linux|kFreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL "GNU") # Linux: also hide all the symbols of dependent libraries to # prevent clashes if an app using OIIO is linked against # other verions of our dependencies. debian/patches/series0000664000000000000000000000030412275255061012036 0ustar 0001-Fix_docs_generation.patch 0002-Fix_IlmBase_issue.patch 0003-Fix_multiarch_paths.patch 0004-Fix_FTBFS_on_atomic_operations.patch 0099-as-needed-fix.patch 0099-libOpenImageIO-underlinked.patch debian/repack.stub0000664000000000000000000000325112275255061011342 0ustar #!/bin/sh : <<=cut =pod =head1 NAME repack.stub - script to repack upstream tarballs from uscan =head1 INSTRUCTIONS put this in debian/repack.stub and add "debian sh debian/repack.stub" to the end of the line in debian/watch. you will also need to add a version mangle to debian/watch. then create a debian/repack.local. this is a shell script that is sources under "set -e", so be careful to check returns codes. =head1 FUNCTIONS =over 4 =item rm rm is replaced by a function that does some magic ("rm -rv" by default), but also changes MANIFEST if $MANIFEST is 1 =item mv mv is replaced by a function that just does mv (by default), but also changes MANIFEST if $MANIFEST is 1 =item requires_version requires_version is there for future usage for requiring certain versions of the script =back =head1 VARIABLES =over 4 =item SUFFIX defaults to ~dfsg what to append to the upstream version =item RM_OPTS defaults to -vrf options to pass to rm =item MANIFEST defaults to 0, set to 1 to turn on. this will manipulate MANIFEST files in CPAN tarballs. =item UP_BASE this is the directory where the upstream source is. =back =cut if [ -z "$REPACK_SH" ]; then if [ -f ../../scripts/repack.sh ]; then REPACK_SH=../../scripts/repack.sh fi if [ -z "$REPACK_SH" ] && which repack.sh > /dev/null; then REPACK_SH=$(which repack.sh) fi fi if [ ! -f "$REPACK_SH" ]; then echo "Couldn't find a repack.sh. please put it in your PATH, put it at ../../scripts/repack.sh, or put it somewhere else and set the REPACK_SH variable" echo "You can get it from http://svn.debian.org/viewsvn/pkg-perl/scripts/repack.sh" exit 1 fi exec "$REPACK_SH" "$@"