File: pcd2html.html

package info (click to toggle)
pcd2html 0.5.1.1-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 384 kB
  • ctags: 56
  • sloc: perl: 1,405; makefile: 120; sh: 69
file content (129 lines) | stat: -rw-r--r-- 5,047 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<title>Homepage of pcd2html</title>
<meta name="author" content="Andreas Tille">
<meta name="keywords" content="pcd2html Kodak-Photo-CD image processing paul">
<meta name="description" content="Homepage of pcd2html; Script system to 
convert Kodak Photo CD images into documented HTML pages written by
Andreas Tille">
<link rel=stylesheet type="text/css" href="pcd.css">
</head>
<body class="doc">

<h1>PCD2HTML</h1>

<p class="justify">
This is a collection of scripts and Makefiles to convert
Kodak Photo CD data into documented HTML pages.
The user has to ship several files called "rules" to control
in which way the images should be converted into JPG files.
By supporting certain text files each single image could be
documented in English or German (or with slight changes to any
other language).
The <a href="README.pcd2html">file README.pcd2html</a> gives
an introduction how to handle the system.
</p>
<p class="justify">
For those clever people who'd never read any documentation
there are some
<a href="http://fam-tille.de/pcd-data/">complete
sets of example files to convert a set of Photo-CDs</a>. The 
<a href="http://fam-tille.de/sparetime.html">unchanged
result of this set of files</a> give you an impression how
good or bad it works.
</p>

<h2>Motivation of pcd2html</h2>

There are many reasons for offering Photo-CD images in WWW browser
readable form.  Converting the images into JPG images is the first
step of this work.  There are three possibilities to do that:
<ol>
 <li> convert blindly with a dumb batch file<br>
   --> This will end in poor quality and is absolutely not recommended.
 <li> load PCD image into an image manipulation program, do some
    enhancements (as cropping, shrinking, normalizing histogram)
    and save it as JPG<br>
   --> The quality of the output will be OK but it is a time consuming
    process and (that's the point) do you really know what you have
    done with your image??  Imagine you want to do a step in between
    the steps you have done and try to remember what you have done
    some days/months ago.
 <li> use a batch method which is configurable for each image<br>
   --> You will need some iterations to get the wanted result but
    you have always the chance to reproduce what you have done.
    Most basic stuff of image manipulation can be done by convert.
    May be it consumes some time to run the batch for an image over
    and over until you are satisfied.  But why not writing the
    describing text of actual image this time?
</ol>


<h2>Requirements</h2>

Operating system:
<ul>
 <li> pcd2html was developed under <a href="http://www.debian.org">Debian
      GNU/Linux</a> version 2.1 (slink).  There is a Debian package of
      it (see below).
 <li> It should work under any modern Linux system.
 <li> It should work under any modern UNIX system.  Problems could
   appear when trying to mount the CD-ROM drive automatically, but
   this is no real problem.
 <li> In principle pcd2html might work under any operating system which
   runs the tools listed below.  You have to patch PATH names.
   I accept and include patches for other systems but without any
   warranty.
</ul>

The scripts run under a operating system with following programs installed:
<dl compact>
 <dt><a href="http://www.imagemagick.org/">ImageMagick</a></dt>
   <dd> Which version of convert you use depends from your needs to
      convert the image.  I used ImageMagick since 4.0.4 (98/04/01).
      Please note that some versions between 6.0 and 6.2 have problems
      converting the highest resolution of a pcd image.  Moreover the
      command line syntax has changed.  Thus you need ImageMagick
      version 6.0 or higher since pcd2html 0.4.
   </dd>
 <dt>bash</dt>
   <dd> I used GNU bash, version 2.01.1(1)-release<br>
   Some special bash features where used, I'm not sure if other
   shells could be used.  Lower bash versions should work, too.
   </dd>
 <dt>GNU make</dt>
   <dd>I used GNU Make version 3.76.1<br>
   There are features in GNU make which aren't available in other
   make varieties.  I expect no other make to work with pcd2html.
   Lower versions could work, too.</dd>
 <dt>grep</dt>
   <dd>I used grep (GNU grep) 2.1<br>
   No very specific features of GNU grep are used.  Every grep
   should work.</dd>
 <dt>sed</dt>
   <dd>I used GNU sed version 2.05<br>
   The sed programming in pcd2html is not so tricky, that it is
   expected to work with oder sed versions, too.</dd>
</dl>

<p>   
I really hope that pcd2html is useful for you and look forward any
critics, bugfixes or enhancements.

<p>
Get
  <a href="http://packages.debian.org/pcd2html">pcd2html source
package from Debian mirror</a>
<p>
Questions to
  <a href="mailto:this.is@not.mymail.info"><i>Andreas Tille <img class="emil" src="emil.png"</i></a>
<p>
<a href="http://fam-tille.de/">Homepage of Andreas Tille</a> <br />
<a href="http://fam-tille.de/debian">Other Debian packages of Andreas Tille</a>
</body>
</html>