DCMTK Version 3.7.0 OFFIS DICOM Toolkit

COPYRIGHT file

    COPYRIGHT

    Unless otherwise specified, the DCMTK software package has the following
    copyright:

    /*
     *  Copyright (C) 1994-2025, OFFIS e.V.
     *  All rights reserved.
     *
     *  This software and supporting documentation were developed by
     *
     *    OFFIS e.V.
     *    R&D Division Health
     *    Escherweg 2
     *    26121 Oldenburg, Germany
     *
     *  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.
     *
     *  - Neither the name of OFFIS 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 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.
     *
     */

    Please note that some DCMTK modules, especially those that are not part
    of the free toolkit, are covered by a separate license which can be found
    in the COPYRIGHT file in the corresponding module directory.

    ---------------------------------------------------------------------------

    Some portions of the DCMTK software package are derived from earlier
    versions of this software with the following copyright, and can be
    identified by the following copyright notice located in each source file:

    /*
     *  Copyright (C) 1993/1994, OFFIS, Oldenburg University and CERIUM
     *
     *  This software and supporting documentation were
     *  developed by
     *
     *    Institut OFFIS
     *    Bereich Kommunikationssysteme
     *    Westerstr. 10-12
     *    26121 Oldenburg, Germany
     *
     *    Fachbereich Informatik
     *    Abteilung Prozessinformatik
     *    Carl von Ossietzky Universitaet Oldenburg
     *    Ammerlaender Heerstr. 114-118
     *    26111 Oldenburg, Germany
     *
     *    CERIUM
     *    Laboratoire SIM
     *    Faculte de Medecine
     *    2 Avenue du Pr. Leon Bernard
     *    35043 Rennes Cedex, France
     *
     *  for CEN/TC251/WG4 as a contribution to the Radiological
     *  Society of North America (RSNA) 1993 Digital Imaging and
     *  Communications in Medicine (DICOM) Demonstration.
     *
     *  THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND NEITHER OFFIS,
     *  OLDENBURG UNIVERSITY NOR CERIUM MAKE ANY WARRANTY REGARDING
     *  THE SOFTWARE, ITS PERFORMANCE, ITS MERCHANTABILITY OR
     *  FITNESS FOR ANY PARTICULAR USE, FREEDOM FROM ANY COMPUTER
     *  DISEASES OR ITS CONFORMITY TO ANY SPECIFICATION.  THE
     *  ENTIRE RISK AS TO QUALITY AND PERFORMANCE OF THE SOFTWARE
     *  IS WITH THE USER.
     *
     *  Copyright of the software and supporting documentation
     *  is, unless otherwise stated, jointly owned by OFFIS,
     *  Oldenburg University and CERIUM and free access is hereby
     *  granted as a license to use this software, copy this
     *  software and prepare derivative works based upon this
     *  software. However, any distribution of this software
     *  source code or supporting documentation or derivative
     *  works (source code and supporting documentation) must
     *  include the three paragraphs of this copyright notice.
     *
     */

    ---------------------------------------------------------------------------

    Some other parts of this software within the dcmtk/dcmnet sub-package
    related to the DICOM Upper Layer Protocol are derived from software
    developed for the RSNA'93 DICOM demonstration and kindly made available
    to us by the Mallinckrodt Institute of Radiology.  Such software can be
    identified by the following copyright notice located in each affected
    source file:

    /*
     *  Copyright (C) 1993, RSNA and Washington University
     *
     *  The software and supporting documentation for the Radiological
     *  Society of North America (RSNA) 1993 Digital Imaging and
     *  Communications in Medicine (DICOM) Demonstration were developed
     *  at the
     *          Electronic Radiology Laboratory
     *          Mallinckrodt Institute of Radiology
     *          Washington University School of Medicine
     *          510 S. Kingshighway Blvd.
     *          St. Louis, MO 63110
     *  as part of the 1993 DICOM Central Test Node project for, and
     *  under contract with, the Radiological Society of North America.
     *
     *  THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND NEITHER RSNA NOR
     *  WASHINGTON UNIVERSITY MAKE ANY WARRANTY ABOUT THE SOFTWARE, ITS
     *  PERFORMANCE, ITS MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR
     *  USE, FREEDOM FROM ANY COMPUTER DISEASES OR ITS CONFORMITY TO ANY
     *  SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND PERFORMANCE OF
     *  THE SOFTWARE IS WITH THE USER.
     *
     *  Copyright of the software and supporting documentation is
     *  jointly owned by RSNA and Washington University, and free access
     *  is hereby granted as a license to use this software, copy this
     *  software and prepare derivative works based upon this software.
     *  However, any distribution of this software source code or
     *  supporting documentation or derivative works (source code and
     *  supporting documentation) must include the three paragraphs of
     *  the copyright notice.
     */

    ---------------------------------------------------------------------------

    The dcmjpeg sub-package includes an adapted version of the Independent
    JPEG Group Toolkit Version 6b, which is contained in dcmjpeg/libijg8,
    dcmjpeg/libijg12 and dcmjpeg/libijg16.  This toolkit is covered by the
    following copyright.  The original README file for the Independent JPEG
    Group Toolkit is located in dcmjpeg/docs/ijg_readme.txt.

    /*
     *  The authors make NO WARRANTY or representation, either express or implied,
     *  with respect to this software, its quality, accuracy, merchantability, or
     *  fitness for a particular purpose.  This software is provided "AS IS", and you,
     *  its user, assume the entire risk as to its quality and accuracy.
     *
     *  This software is copyright (C) 1991-1998, Thomas G. Lane.
     *  All Rights Reserved except as specified below.
     *
     *  Permission is hereby granted to use, copy, modify, and distribute this
     *  software (or portions thereof) for any purpose, without fee, subject to these
     *  conditions:
     *  (1) If any part of the source code for this software is distributed, then this
     *  README file must be included, with this copyright and no-warranty notice
     *  unaltered; and any additions, deletions, or changes to the original files
     *  must be clearly indicated in accompanying documentation.
     *  (2) If only executable code is distributed, then the accompanying
     *  documentation must state that "this software is based in part on the work of
     *  the Independent JPEG Group".
     *  (3) Permission for use of this software is granted only if the user accepts
     *  full responsibility for any undesirable consequences; the authors accept
     *  NO LIABILITY for damages of any kind.
     *
     *  These conditions apply to any software derived from or based on the IJG code,
     *  not just to the unmodified library.  If you use our work, you ought to
     *  acknowledge us.
     *
     *  Permission is NOT granted for the use of any IJG author's name or company name
     *  in advertising or publicity relating to this software or products derived from
     *  it.  This software may be referred to only as "the Independent JPEG Group's
     *  software".
     *
     *  We specifically permit and encourage the use of this software as the basis of
     *  commercial products, provided that all warranty or liability claims are
     *  assumed by the product vendor.
     */

    ---------------------------------------------------------------------------

    The code for the interpolatePixel() image scaling algorithm in module
    dcmimgle has been derived from code written by Jef Poskanzer for the
    "Extended Portable Bitmap Toolkit" (pbmplus10dec91) which has the
    following copyright:

    /*
     * Copyright (C) 1991 by Jef Poskanzer.
     *
     * Permission to use, copy, modify, and distribute this software and its
     * documentation for any purpose and without fee is hereby granted, provided
     * that the above copyright notice appear in all copies and that both that
     * copyright notice and this permission notice appear in supporting
     * documentation.  This software is provided "as is" without express or
     * implied warranty.
     */

    ---------------------------------------------------------------------------

    The color quantization code in module dcmimage (dcmquant and the related
    classes) has been derived from code written by Jef Poskanzer for the
    NetPBM toolkit which has the following copyright:

    /*
     * Copyright (C) 1989, 1991 by Jef Poskanzer.
     *
     * Permission to use, copy, modify, and distribute this software and its
     * documentation for any purpose and without fee is hereby granted, provided
     * that the above copyright notice appear in all copies and that both that
     * copyright notice and this permission notice appear in supporting
     * documentation.  This software is provided "as is" without express or
     * implied warranty.
     */

    ---------------------------------------------------------------------------

    The code for the OFStandard::strlcpy and OFStandard::strlcat helper
    functions in ofstd/libsrc/ofstd.cc has been derived from the BSD
    implementation of strlcpy() and strlcat() and which carries the
    following copyright notice:

    /*
     *  Copyright (c) 1998 Todd C. Miller <Todd.Miller(at)courtesan.com>
     *  All rights reserved.
     *
     *  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. The name of the author may not be used to endorse or promote products
     *     derived from this software without specific prior written permission.
     *
     *  THIS SOFTWARE IS PROVIDED ``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 AUTHOR 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.
     */

    ---------------------------------------------------------------------------

    The code for the OFStandard::atof helper function in ofstd/libsrc/ofstd.cc
    that is used when DCMTK is compiled with the macro
    ENABLE_OLD_OFSTD_ATOF_IMPLEMENTATION has been derived from an implementation
    that carries the following copyright notice:

    /*
     *  Copyright 1988 Regents of the University of California
     *  Permission to use, copy, modify, and distribute this software and
     *  its documentation for any purpose and without fee is hereby granted,
     *  provided that the above copyright notice appear in all copies.  The
     *  University of California makes no representations about the
     *  suitability of this software for any purpose.  It is provided "as
     *  is" without express or implied warranty.
     *
     */

    The code for OFStandard::ftoa has been derived from an implementation
    which carries the following copyright notice:

    /*
     *
     *  Copyright (c) 1988 Regents of the University of California.
     *  All rights reserved.
     *
     *  Redistribution and use in source and binary forms are permitted
     *  provided that the above copyright notice and this paragraph are
     *  duplicated in all such forms and that any documentation,
     *  advertising materials, and other materials related to such
     *  distribution and use acknowledge that the software was developed
     *  by the University of California, Berkeley.  The name of the
     *  University may not be used to endorse or promote products derived
     *  from this software without specific prior written permission.
     *  THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
     *  IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
     *  WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
     */

    ---------------------------------------------------------------------------

    The "Base64" encoder/decoder in ofstd/libsrc/ofstd.cc has been derived
    from an implementation which carries the following copyright notice:

    /*
     *  Copyright (c) 1999, Bob Withers - bwit(at)pobox.com
     *
     *  This code may be freely used for any purpose, either personal or commercial,
     *  provided the authors copyright notice remains intact.
     */

    ---------------------------------------------------------------------------

    The oflog sub-package is based on the log4cplus library which is covered by
    the following two copyright notices (for details see oflog/docs/LICENSE):

    /*
     *     Copyright (C) 1999-2009 Contributors to log4cplus project.
     *     All rights reserved.
     *
     *  Redistribution and use in source and binary forms, with or without modifica-
     *  tion, 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.
     *
     *  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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
     *  APACHE SOFTWARE  FOUNDATION  OR ITS CONTRIBUTORS  BE LIABLE FOR  ANY DIRECT,
     *  INDIRECT, INCIDENTAL, SPECIAL,  EXEMPLARY, OR CONSEQUENTIAL  DAMAGES (INCLU-
     *  DING, 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.
     *
     */

    // Module:  Log4CPLUS
    // File:    appender.h
    // Created: 6/2001
    // Author:  Tad E. Smith
    //
    //
    // Copyright 2001-2010 Tad E. Smith
    //
    // Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
    //
    // 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.

    ---------------------------------------------------------------------------

    The dcmjpls sub-package is based on the CharLS library, which is contained
    in dcmjpls/libcharls. This toolkit is covered by the following copyright:

    /*
     *  The CharLS library is available under the following license:
     *  -------------------------------------------------------------------------------
     *  Copyright (c) 2007-2010, Jan de Vaan
     *  All rights reserved.
     *
     *  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.
     *
     *  * Neither the name of my employer, 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 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 OWNER 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.
     */

    ---------------------------------------------------------------------------

    The file ofstd/include/dcmtk/ofstd/oftest.h is heavily based on quicktest.h
    from the quicktest project, which is covered by the following copyright:

    /************************************************************************
    * QuickTest                                                             *
    * http://quicktest.sourceforge.net                                      *
    * Copyright (C) 2005-2008                                               *
    * Tyler Streeter (http://www.tylerstreeter.net)                         *
    *                                                                       *
    * This library is free software; you can redistribute it and/or         *
    * modify it under the terms of EITHER:                                  *
    *   (1) The GNU Lesser General Public License as published by the Free  *
    *       Software Foundation; either version 2.1 of the License, or (at  *
    *       your option) any later version. The text of the GNU Lesser      *
    *       General Public License is included with this library in the     *
    *       file license-LGPL.txt.                                          *
    *   (2) The BSD-style license that is included with this library in     *
    *       the file license-BSD.txt.                                       *
    *                                                                       *
    * This library 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 files    *
    * license-LGPL.txt and license-BSD.txt for more details.                *
    ************************************************************************/

    The above mentioned license-BSD.txt contains this text:

    BSD Open Source license for QuickTest
    -------------------------------------

    QuickTest
    Copyright (c) 2005-2008, Tyler Streeter
    All rights reserved.

    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.

    * Neither the name of QuickTest's copyright owners 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 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 OWNER 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.

    ---------------------------------------------------------------------------

    The files ofstd/include/dcmtk/ofstd/ofxml.h and ofstd/libsrc/ofxml.cc are
    derived from the XMLparser library, which is covered by the following
    copyright:

    /*
     * Copyright (c) 2002, Frank Vanden Berghen
     * All rights reserved.
     *
     * The following license terms apply to projects that are in some way related to
     * the "DCMTK  project", including applications
     * using "DCMTK  project" and tools developed
     * for enhancing "DCMTK  project". All other projects
     * (not related to "DCMTK  project") have to use this
     * code under the Aladdin Free Public License (AFPL)
     * See the file "AFPL-license.txt" for more informations about the AFPL license.
     * (see http://www.artifex.com/downloads/doc/Public.htm for detailed AFPL terms)
     *
     * 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.
     *     * Neither the name of Frank Vanden Berghen 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 Frank Vanden Berghen ``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 <copyright holder> 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.
     */

    ---------------------------------------------------------------------------

    The dcmrt sub-package is covered by the following copyright
    (BSD 3-Clause License):

    ---------------------------------------------------------------------------

    Copyright (C) 2008-2025, OFFIS e.V. and ICSMED AG, Oldenburg, Germany.
    Copyright (C) 2013-2025, J. Riesmeier, Oldenburg, Germany.
    All rights reserved.

    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 copyright holders 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 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 HOLDERS 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.

    ---------------------------------------------------------------------------

    Parts of the dcmsr sub-package are covered by the following copyright
    (BSD 3-Clause License):

    ---------------------------------------------------------------------------

    Copyright (C) 2015-2025, J. Riesmeier, Oldenburg, Germany.
    All rights reserved.

    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 copyright holders 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 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 HOLDERS 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.

    ---------------------------------------------------------------------------

    The cielabutil source code (class IODCLabUtil) is adapted from Pascal Getreuer's
    package for converting color representations

      http://www.getreuer.info/home/colorspace

    which comes with the following original copyright:

    ---------------------------------------------------------------------------

    Copyright (C) 2005-2010, Pascal Getreuer
    All rights reserved.

    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 OWNER 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.

    ---------------------------------------------------------------------------

    The oficonv module is derived from the iconv implementation in
    FreeBSD, which was developed by the Citrus Project. The code is
    under a number of copyright statements that are all varieties
    of the BSD license:

    /*
     * Copyright (c)2002, 2003, 2004, 2006, 2007, 2008 Citrus Project,
     * All rights reserved.
     *
     * 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.
     *
     * THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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.
     */

    /*
     * Copyright (c) 2002 Citrus Project,
     * Copyright (c) 2010 Gabor Kovesdan <gabor@FreeBSD.org>,
     * All rights reserved.
     *
     * 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.
     *
     * THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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.
     */

    /*
     *    ja_JP.SJIS locale table for BSD4.4/rune
     *    version 1.0
     *    (C) Sin'ichiro MIYATANI / Phase One, Inc
     *    May 12, 1995
     *
     * 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. All advertising materials mentioning features or use of this software
     *    must display the following acknowledgement:
     *      This product includes software developed by Phase One, Inc.
     * 4. The name of Phase One, Inc. 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.
     */

    /*
     * Copyright (c) 1998 The NetBSD Foundation, Inc.
     * All rights reserved.
     *
     * This code is derived from software contributed to The NetBSD Foundation
     * by Paul Kranenburg.
     *
     * 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.
     *
     * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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.
     */

    /*
     * Copyright (c) 1993
     *  The Regents of the University of California.  All rights reserved.
     *
     * This code is derived from software contributed to Berkeley by
     * Paul Borman at Krystal Technologies.
     *
     * 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.
     */

    /*
     * Copyright (c) 2005 The DragonFly Project.  All rights reserved.
     * Copyright (c) 2003, 2008 Citrus Project,
     * All rights reserved.
     *
     * 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.
     *
     * THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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.
     */

    /*
     * Copyright (c) 1990, 1993
     *  The Regents of the University of California.  All rights reserved.
     *
     * 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.
     */

    ---------------------------------------------------------------------------

    The code for the function OFgetExecutablePath()
    is derived from the "whereami" library by Gregory Pakosz
    (https://github.com/gpakosz/whereami), which is dual-licensed under the
    WTFPL v2 and MIT licenses. The MIT license is reproduced here:

    /*
     * Copyright (c) 2024 Gregory Pakosz
     *
     * 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.
     */

    ---------------------------------------------------------------------------

    The implementation of the argvToCommandLine() function in ofstub.cc
    is derived from an implementation with the following license:

    // The function argvToCommandLine() is derived from an implementation
    // with the following copyright statement:
    //
    // Copyright (c) 2011-2015 Ryan Prichard
    //
    // 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.

    ---------------------------------------------------------------------------

    The implementation of the getLastErrorString() function in ofstub.cc
    is derived from an implementation by Orjan Westin published under
    the BSD license (without further specification).

    ---------------------------------------------------------------------------

    The implementation of the JSON to DICOM converter available uses the
    "jsmn" JSON parser library with the following license:

    /*
     * MIT License
     *
     * Copyright (c) 2010 Serge Zaitsev
     *
     * 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.
     */

    ---------------------------------------------------------------------------

    Finally, DCMTK can be configured and compiled to make use of a number of
    optional external libraries that, when available, provide added functionality
    such as compression, encryption, or support for certain image formats.
    For binary libraries and executables statically linked against these
    external libraries, the following additional copyright notices /
    licenses apply:

    ---------------------------------------------------------------------------

    When compiled with libiconv support:

    ---------------------------------------------------------------------------

    GNU LESSER GENERAL PUBLIC LICENSE

    License text available at: https://www.gnu.org/licenses/lgpl.html

    ---------------------------------------------------------------------------

    When compiled with libpng support:

    ---------------------------------------------------------------------------

    This copy of the libpng notices is provided for your convenience.  In case of
    any discrepancy between this copy and the notices in the file png.h that is
    included in the libpng distribution, the latter shall prevail.

    COPYRIGHT NOTICE, DISCLAIMER, and LICENSE:

    If you modify libpng you may insert additional notices immediately following
    this sentence.

    This code is released under the libpng license.

    libpng versions 1.0.7, July 1, 2000 through 1.6.29, March 16, 2017 are
    Copyright (c) 2000-2002, 2004, 2006-2017 Glenn Randers-Pehrson, are
    derived from libpng-1.0.6, and are distributed according to the same
    disclaimer and license as libpng-1.0.6 with the following individuals
    added to the list of Contributing Authors:

       Simon-Pierre Cadieux
       Eric S. Raymond
       Mans Rullgard
       Cosmin Truta
       Gilles Vollant
       James Yu
       Mandar Sahastrabuddhe
       Google Inc.
       Vadim Barkov

    and with the following additions to the disclaimer:

       There is no warranty against interference with your enjoyment of the
       library or against infringement.  There is no warranty that our
       efforts or the library will fulfill any of your particular purposes
       or needs.  This library is provided with all faults, and the entire
       risk of satisfactory quality, performance, accuracy, and effort is with
       the user.

    Some files in the "contrib" directory and some configure-generated
    files that are distributed with libpng have other copyright owners and
    are released under other open source licenses.

    libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are
    Copyright (c) 1998-2000 Glenn Randers-Pehrson, are derived from
    libpng-0.96, and are distributed according to the same disclaimer and
    license as libpng-0.96, with the following individuals added to the list
    of Contributing Authors:

       Tom Lane
       Glenn Randers-Pehrson
       Willem van Schaik

    libpng versions 0.89, June 1996, through 0.96, May 1997, are
    Copyright (c) 1996-1997 Andreas Dilger, are derived from libpng-0.88,
    and are distributed according to the same disclaimer and license as
    libpng-0.88, with the following individuals added to the list of
    Contributing Authors:

       John Bowler
       Kevin Bracey
       Sam Bushell
       Magnus Holmgren
       Greg Roelofs
       Tom Tanner

    Some files in the "scripts" directory have other copyright owners
    but are released under this license.

    libpng versions 0.5, May 1995, through 0.88, January 1996, are
    Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.

    For the purposes of this copyright and license, "Contributing Authors"
    is defined as the following set of individuals:

       Andreas Dilger
       Dave Martindale
       Guy Eric Schalnat
       Paul Schmidt
       Tim Wegner

    The PNG Reference Library is supplied "AS IS".  The Contributing Authors
    and Group 42, Inc. disclaim all warranties, expressed or implied,
    including, without limitation, the warranties of merchantability and of
    fitness for any purpose.  The Contributing Authors and Group 42, Inc.
    assume no liability for direct, indirect, incidental, special, exemplary,
    or consequential damages, which may result from the use of the PNG
    Reference Library, even if advised of the possibility of such damage.

    Permission is hereby granted to use, copy, modify, and distribute this
    source code, or portions hereof, for any purpose, without fee, subject
    to the following restrictions:

      1. The origin of this source code must not be misrepresented.

      2. Altered versions must be plainly marked as such and must not
         be misrepresented as being the original source.

      3. This Copyright notice may not be removed or altered from any
         source or altered source distribution.

    The Contributing Authors and Group 42, Inc. specifically permit, without
    fee, and encourage the use of this source code as a component to
    supporting the PNG file format in commercial products.  If you use this
    source code in a product, acknowledgment is not required but would be
    appreciated.

    END OF COPYRIGHT NOTICE, DISCLAIMER, and LICENSE.

    TRADEMARK:

    The name "libpng" has not been registered by the Copyright owner
    as a trademark in any jurisdiction.  However, because libpng has
    been distributed and maintained world-wide, continually since 1995,
    the Copyright owner claims "common-law trademark protection" in any
    jurisdiction where common-law trademark is recognized.

    OSI CERTIFICATION:

    Libpng is OSI Certified Open Source Software.  OSI Certified Open Source is
    a certification mark of the Open Source Initiative. OSI has not addressed
    the additional disclaimers inserted at version 1.0.7.

    EXPORT CONTROL:

    The Copyright owner believes that the Export Control Classification
    Number (ECCN) for libpng is EAR99, which means not subject to export
    controls or International Traffic in Arms Regulations (ITAR) because
    it is open source, publicly available software, that does not contain
    any encryption software.  See the EAR, paragraphs 734.3(b)(3) and
    734.7(b).

    Glenn Randers-Pehrson
    glennrp at users.sourceforge.net
    March 16, 2017

    ---------------------------------------------------------------------------

    When compiled with libsndfile support:

    ---------------------------------------------------------------------------

    GNU LESSER GENERAL PUBLIC LICENSE

    License text available at: https://www.gnu.org/licenses/lgpl.html

    ---------------------------------------------------------------------------

    When compiled with libtiff support:

    ---------------------------------------------------------------------------

    Copyright (c) 1988-1997 Sam Leffler
    Copyright (c) 1991-1997 Silicon Graphics, Inc.

    Permission to use, copy, modify, distribute, and sell this software and
    its documentation for any purpose is hereby granted without fee, provided
    that (i) the above copyright notices and this permission notice appear in
    all copies of the software and related documentation, and (ii) the names of
    Sam Leffler and Silicon Graphics may not be used in any advertising or
    publicity relating to the software without the specific, prior written
    permission of Sam Leffler and Silicon Graphics.

    THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
    EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
    WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

    IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
    ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
    OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
    WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
    LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
    OF THIS SOFTWARE.

    ---------------------------------------------------------------------------

    When compiled with libwrap support:

    ---------------------------------------------------------------------------

    /************************************************************************
    * Copyright 1995 by Wietse Venema.  All rights reserved.  Some individual
    * files may be covered by other copyrights.
    *
    * This material was originally written and compiled by Wietse Venema at
    * Eindhoven University of Technology, The Netherlands, in 1990, 1991,
    * 1992, 1993, 1994 and 1995.
    *
    * Redistribution and use in source and binary forms are permitted
    * provided that this entire copyright notice is duplicated in all such
    * copies.
    *
    * This software is provided "as is" and without any expressed or implied
    * warranties, including, without limitation, the implied warranties of
    * merchantibility and fitness for any particular purpose.
    ************************************************************************/

    ---------------------------------------------------------------------------

    When compiled with libxml support:

    ---------------------------------------------------------------------------

    The MIT License

    License text available at:
    https://opensource.org/licenses/mit-license.html

    ---------------------------------------------------------------------------

    When compiled with openssl support:

    ---------------------------------------------------------------------------

      The OpenSSL toolkit stays under a double license, i.e. both the conditions of
      the OpenSSL License and the original SSLeay license apply to the toolkit.
      See below for the actual license texts.

      OpenSSL License
      ---------------

    /* ====================================================================
     * Copyright (c) 1998-2017 The OpenSSL Project.  All rights reserved.
     *
     * 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. All advertising materials mentioning features or use of this
     *    software must display the following acknowledgment:
     *    "This product includes software developed by the OpenSSL Project
     *    for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
     *
     * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
     *    endorse or promote products derived from this software without
     *    prior written permission. For written permission, please contact
     *    openssl-core@openssl.org.
     *
     * 5. Products derived from this software may not be called "OpenSSL"
     *    nor may "OpenSSL" appear in their names without prior written
     *    permission of the OpenSSL Project.
     *
     * 6. Redistributions of any form whatsoever must retain the following
     *    acknowledgment:
     *    "This product includes software developed by the OpenSSL Project
     *    for use in the OpenSSL Toolkit (http://www.openssl.org/)"
     *
     * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
     * EXPRESSED 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 OpenSSL PROJECT OR
     * ITS 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.
     * ====================================================================
     *
     * This product includes cryptographic software written by Eric Young
     * (eay@cryptsoft.com).  This product includes software written by Tim
     * Hudson (tjh@cryptsoft.com).
     *
     */

     Original SSLeay License
     -----------------------

    /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
     * All rights reserved.
     *
     * This package is an SSL implementation written
     * by Eric Young (eay@cryptsoft.com).
     * The implementation was written so as to conform with Netscapes SSL.
     *
     * This library is free for commercial and non-commercial use as long as
     * the following conditions are aheared to.  The following conditions
     * apply to all code found in this distribution, be it the RC4, RSA,
     * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
     * included with this distribution is covered by the same copyright terms
     * except that the holder is Tim Hudson (tjh@cryptsoft.com).
     *
     * Copyright remains Eric Young's, and as such any Copyright notices in
     * the code are not to be removed.
     * If this package is used in a product, Eric Young should be given attribution
     * as the author of the parts of the library used.
     * This can be in the form of a textual message at program startup or
     * in documentation (online or textual) provided with the package.
     *
     * 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 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. All advertising materials mentioning features or use of this software
     *    must display the following acknowledgement:
     *    "This product includes cryptographic software written by
     *     Eric Young (eay@cryptsoft.com)"
     *    The word 'cryptographic' can be left out if the rouines from the library
     *    being used are not cryptographic related :-).
     * 4. If you include any Windows specific code (or a derivative thereof) from
     *    the apps directory (application code) you must include an acknowledgement:
     *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
     *
     * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``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 AUTHOR 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.
     *
     * The licence and distribution terms for any publically available version or
     * derivative of this code cannot be changed.  i.e. this code cannot simply be
     * copied and put under another distribution licence
     * [including the GNU Public Licence.]
     */

    ---------------------------------------------------------------------------

    When compiled with zlib support:

    ---------------------------------------------------------------------------

     (C) 1995-2017 Jean-loup Gailly and Mark Adler

      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.

      Jean-loup Gailly        Mark Adler
      jloup@gzip.org          madler@alumni.caltech.edu

    If you use the zlib library in a product, we would appreciate *not* receiving
    lengthy legal documents to sign.  The sources are provided for free but without
    warranty of any kind.  The library has been entirely written by Jean-loup
    Gailly and Mark Adler; it does not include third-party code.

    If you redistribute modified sources, we would appreciate that you include in
    the file ChangeLog history information documenting your changes.  Please read
    the FAQ for more information on the distribution of modified source versions.

    ---------------------------------------------------------------------------

Generated on Mon Dec 15 2025 for DCMTK Version 3.7.0 by Doxygen 1.9.1