
  PCD.svobject

  written and (in parts) © 1994-95 by Andreas R. Kleinert.

  FREEWARE. All rights reserved.

  Version      : 2.3
  Release Date : 14.04.1995


  Requirements
  ~~~~~~~~~~~~
  - OS V2.04+ (V37)+ and its libraries
  - superviewsupport.library V3+
  - includes 68000, 68020/030 and 68040 version

  Description
  ~~~~~~~~~~~
  PCD.svobject is an external Library-Module for the
  superview.library V5+.

  It supports reading of the unpacked resolutions of PCD-Files,
  as BASE/16 (192x128), BASE/4 (384x256) and BASE (768x512).

  It DOES NOT READ the BASE*4 (1536x1024) and BASE*16 (3072x2048)
  resolutions, since these are encrypted in a way, which is not
  only undocumented, but also copyrighted by Kodak.


  Legal Issues
  ~~~~~~~~~~~~
  This program is FREEWARE.
  The author does not claim any copyrights on the code, which is
  used to decode the YUV-data fromout the PCD-file (see credits)
  or on the other PCD-related information.
  Copyright is only claimed for the program as a whole, which means
  that some parts of the library module, which are also used within
  other SVObjects, are copyrighted by the author.

  If the writing or the publication of this program should ever
  be considered to be partly any kind of a violation of third party
  copyrights, it is hereby expressed that the usage of this program
  is only allowed, if any user of it agrees to the following:
  If the case as described above takes place, any user has to
  delete any copies of this program immediately when he gets informed
  about it.


  ControlPad-Switches
  ~~~~~~~~~~~~~~~~~~~
  ControlPad-Name     : "ENV:superview-library/PCD.controlpad"
  ControlPad-Commands : - OUTPUTFORMAT=<BASE/16 | BASE/4 | BASE >
                          ; specifies the output resolution to be used


  Credits
  ~~~~~~~
  For the 24 Bit YUV <-> RGB Conversion Routines I used some code of the
  NetPBM Package.
  The code of the original routine has been _strongly_ modified and
  enhanced/improved (there are almost no similarities to the original
  code left now, except the main algorithm).
  (Also the factors to scale YCbCr to RGB had to be adjusted, since
   the ones of PCD are slightly different to those of JPEG).
  Here is the Copyright notice as found in the specific source files :

/* yuvsplittoppm.c - construct a portable pixmap from 3 raw files:
** - basename.Y : The Luminance chunk at the size of the Image
** - basename.U : The Chrominance chunk U at 1/4
** - basename.V : The Chrominance chunk V at 1/4
** The subsampled U and V values are made by arithmetic mean.
**
** If ccir601 is defined, the produced YUV triples have been scaled again
** to fit into the smaller range of values for this standard.
**
** by Marcel Wijkstra <wijkstra@fwi.uva.nl>
**
** Based on ppmtoyuvsplit.c
**
** 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.
*/

  Author (also see "Credits")
  ~~~~~~
  Andreas_Kleinert@superview.ftn.sub.org
  Fido 2:2457/435.10

  History
  ~~~~~~~
  V2.3 (14.4.1995) :

   - well, needs superviewsupport.library V3+
     and _not_ V1+
   - fully recompiled with SAS/C V6.55
   - added CPInfo-File
   - now saves A1 when opened/closed
   - added 68030(020) and 68040 version (to be installed by hand)

  V2.2 (26.2.1995) :

   - fixed bug, which resulted in slightly wrong colors (blue-toned),
     since the scaling factors for YCbCr->RGB conversion had been
     slightly wrong
   - also changed order of some pointer statement, which might help
     increasing conversion speed

  V2.1 (31.12.1994) :

   - first version


  Copyrights
  ~~~~~~~~~~
  Some of the mentioned names or products above are be copyrighted by
  companies or trademarks of companies.
