diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-04-08 12:10:26 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-04-08 12:10:26 +0200 |
commit | 82e9fcab440e4f00b0257b60c254bc8f4c4af16b (patch) | |
tree | 3c4cd642068a944f4dd5feeb61c9da5ea94080d7 /bin | |
parent | 4a1125ba1b5bc8490406f81c35545efe29454b87 (diff) | |
parent | aa76f442a611c7fe60bb0d8bfa53fcc334d2dda8 (diff) |
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/dthumb | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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. |