You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by le...@apache.org on 2016/11/23 15:37:39 UTC

svn commit: r1770985 - in /pdfbox/trunk/examples/src/main: java/org/apache/pdfbox/examples/pdmodel/ resources/org/apache/pdfbox/resources/pdfa/

Author: lehmi
Date: Wed Nov 23 15:37:39 2016
New Revision: 1770985

URL: http://svn.apache.org/viewvc?rev=1770985&view=rev
Log:
PDFBOX-3571: replaced sRGG color profile due to a license issue

Added:
    pdfbox/trunk/examples/src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB.icc   (with props)
    pdfbox/trunk/examples/src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB.icc.COPYING
    pdfbox/trunk/examples/src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB.icc.LICENSE-ZLIB
    pdfbox/trunk/examples/src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB.icc.README
Removed:
    pdfbox/trunk/examples/src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB Color Space Profile.icm
    pdfbox/trunk/examples/src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB Color Space Profile.icm.LICENSE.txt
Modified:
    pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/CreatePDFA.java

Modified: pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/CreatePDFA.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/CreatePDFA.java?rev=1770985&r1=1770984&r2=1770985&view=diff
==============================================================================
--- pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/CreatePDFA.java (original)
+++ pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/CreatePDFA.java Wed Nov 23 15:37:39 2016
@@ -103,7 +103,7 @@ public final class CreatePDFA
 
             // sRGB output intent
             InputStream colorProfile = CreatePDFA.class.getResourceAsStream(
-                    "/org/apache/pdfbox/resources/pdfa/sRGB Color Space Profile.icm");
+                    "/org/apache/pdfbox/resources/pdfa/sRGB.icc");
             PDOutputIntent intent = new PDOutputIntent(doc, colorProfile);
             intent.setInfo("sRGB IEC61966-2.1");
             intent.setOutputCondition("sRGB IEC61966-2.1");

Added: pdfbox/trunk/examples/src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB.icc
URL: http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB.icc?rev=1770985&view=auto
==============================================================================
Binary file - no diff available.

Propchange: pdfbox/trunk/examples/src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB.icc
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: pdfbox/trunk/examples/src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB.icc.COPYING
URL: http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB.icc.COPYING?rev=1770985&view=auto
==============================================================================
--- pdfbox/trunk/examples/src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB.icc.COPYING (added)
+++ pdfbox/trunk/examples/src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB.icc.COPYING Wed Nov 23 15:37:39 2016
@@ -0,0 +1,45 @@
+The profiles in the base directory are provided according to different licenses.
+
+
+Group A
+sRGB, LCMSLAB.ICM, LCMSXYZ.ICM, the compatibleWithAdobeRGB.icc and the 
+Gray.icc, CineonLog_M*.icc, CineLogCurve.icc profiles are all zlib licensed.
+Even though it is highly recommended to rename them before editing.
+
+
+Group B
+The eciRGB*.icc profiles come with their license in license.rtf.
+
+
+Group C
+PhotoGamutRGB_avg6c.icc is licensed to be distributed freely. Modifications 
+are not allowed.
+
+
+
+Additionally all profiles come with the following disclaimer. The provided 
+ICC Profiles in the package are called DATA in the folling statement.
+
+
+                NO WARRANTY
+
+  BECAUSE THE DATA IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE DATA, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE DATA "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE DATA IS WITH YOU.  SHOULD THE
+DATA PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE DATA AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE DATA (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE DATA TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+

Added: pdfbox/trunk/examples/src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB.icc.LICENSE-ZLIB
URL: http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB.icc.LICENSE-ZLIB?rev=1770985&view=auto
==============================================================================
--- pdfbox/trunk/examples/src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB.icc.LICENSE-ZLIB (added)
+++ pdfbox/trunk/examples/src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB.icc.LICENSE-ZLIB Wed Nov 23 15:37:39 2016
@@ -0,0 +1,23 @@
+The zlib/libpng License
+
+Copyright (c) 2008 Kai-Uwe Behrmann
+
+This software is provided 'as-is', without any express or implied
+warranty. In no event will the authors be held liable for any damages
+arising from the use of this software.
+
+Permission is granted to anyone to use this software for any purpose,
+including commercial applications, and to alter it and redistribute it
+freely, subject to the following restrictions:
+
+    1. The origin of this software must not be misrepresented; you must not
+    claim that you wrote the original software. If you use this software
+    in a product, an acknowledgment in the product documentation would be
+    appreciated but is not required.
+
+    2. Altered source versions must be plainly marked as such, and must not be
+    misrepresented as being the original software.
+
+    3. This notice may not be removed or altered from any source
+    distribution.
+

Added: pdfbox/trunk/examples/src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB.icc.README
URL: http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB.icc.README?rev=1770985&view=auto
==============================================================================
--- pdfbox/trunk/examples/src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB.icc.README (added)
+++ pdfbox/trunk/examples/src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB.icc.README Wed Nov 23 15:37:39 2016
@@ -0,0 +1,12 @@
+Included are profiles created by Marti Maria (littleCMS) <http://www.littlecms.com>:
+
+  # CIE*Lab 
+  # CIE*XYZ
+  # sRGB
+
+Various contributors:
+
+  # LStar-RGB from ColorSolutions                  <http://hwww.basICColor.com>
+  # Photogamut-RGB from the Photogamut workgroup   <http://www.photogamut.org>
+  # Cineon and Gray from Kai-Uwe Behrmann          <http://www.behrmann.name>
+  # compatibleWithAdobeRGB1998 from Graeme Gill    <http://www.argyllcms.com>