summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/dthumb10
1 files changed, 8 insertions, 2 deletions
diff --git a/bin/dthumb b/bin/dthumb
index 2f6a718..0f323ba 100755
--- a/bin/dthumb
+++ b/bin/dthumb
@@ -24,6 +24,7 @@ GetOptions(
$opt,
qw{
all|a
+ header=s
help|h
no-names|n
quality|q=i
@@ -121,8 +122,9 @@ for their contents.
=item B<-d>, B<--size> I<maxsize> (default: 200)
-Set maximum thumbnail size. Thumbnails are created so that neither width nor
-height exceed I<maxsize> pixels.
+Set maximum thumbnail size. Both width and height will be limited while
+preserving aspect ratio. Thumbnails are created at 2x resolution and
+downscaled via HTML tags to accomodate high-DPI displays.
=item B<-s>, B<--spacing> I<float> (default: 1.1)
@@ -136,6 +138,10 @@ no border at all, etc.
Set HTML document title. Defaults to the basename of the current directory
+=item B<--header> I<file>
+
+Include I<file> contents in the generated HTML, right after the opening div tag.
+
=item B<-q>, B<--quality> I<int> (default: 75)
Set thumbnail quality.