+{ Copyright (C) 2008 Peter Green \r
+  For conditions of distribution and use, see copyright notice in zlib_license.txt \r
+  which is included in the package \r
+  ----------------------------------------------------------------------------- } \r
+\r
 program Project1;\r
 \r
 uses\r
 
+{ Copyright (C) 2008 Peter Green \r
+  For conditions of distribution and use, see copyright notice in zlib_license.txt \r
+  which is included in the package \r
+  ----------------------------------------------------------------------------- } \r
+\r
 //test program for png code, uses ct8bp mode to draw a red and white heart\r
 //in 1 2 4 and 8 bit per pixel modes.\r
 \r
 
+{ Copyright (C) 2008 Peter Green \r
+  For conditions of distribution and use, see copyright notice in zlib_license.txt \r
+  which is included in the package \r
+  ----------------------------------------------------------------------------- } \r
 //graph draw test/demo app\r
 program graphdraw;\r
 \r
 
 {unit to write tbitmaps to a png using plugwashes png code}\r
 \r
+{ Copyright (C) 2008 Peter Green\r
+  For conditions of distribution and use, see copyright notice in zlib_license.txt\r
+  which is included in the package\r
+      ----------------------------------------------------------------------------- }\r
+      \r
+\r
 unit pngwritetbitmap;\r
 \r
 interface\r
 
-initial import
---This line, and those below, will be ignored--
-
-A    .
+initial import\r
+--This line, and those below, will be ignored--\r
+\r
+A    .\r
 
+{ Copyright (C) 2005 Bas Steendijk and Peter Green\r
+  For conditions of distribution and use, see copyright notice in zlib_license.txt\r
+  which is included in the package\r
+  ----------------------------------------------------------------------------- }\r
 type\r
   {delphi 3 and before do not have a 32 bits unsigned integer type,\r
   but longint has the correct behavior - it doesn't on newer delphi versions}\r
 
--- /dev/null
+Copyright (c) 2005 Bas Steendijk and Peter Green\r
+\r
+This software is provided 'as-is', without any express or implied warranty.\r
+In no event will the authors be held liable for any damages arising from the\r
+use of this software.\r
+\r
+Permission is granted to anyone to use this software for any purpose, including\r
+commercial applications, and to alter it and redistribute it freely, subject to\r
+the following restrictions:\r
+\r
+    1. The origin of this software must not be misrepresented; you must not\r
+       claim that you wrote the original software. If you use this software in a\r
+       product, an acknowledgment in the product documentation would be\r
+       appreciated but is not required.\r
+\r
+    2. Altered source versions must be plainly marked as such, and must not be\r
+       misrepresented as being the original software.\r
+\r
+    3. This notice may not be removed or altered from any source distribution.\r