How can we afford to grow the pie?

Thumbnail Creation

Written and gradually ported to a web page.

Table of Contents

  1. Table of Contents
  2. List of Figures
  3. List of Tables
  4. List of Source Code Listings
  5. Value of Thumbnail Images
  6. Technical Background
  7. Creating Thumbnails

List of Figures

List of Tables

List of Source Code Listings


Value of Thumbnail Images

Technical Background

ImageMagick's extensive documentation on its thumbnail capabilities with examples

Data pipeline for thumbnail creation with ImageMagick.
Data pipeline for thumbnail creation with ImageMagick.
Show me your flowcharts and conceal your tables, and I shall continue to be mystified. Show me your tables, and I won’t usually need your flowcharts; they’ll be obvious. — Fred Brooks, The Mythical Man-Month, pp. 102-3.
Smart data structures and dumb code works a lot better than the other way around." — Eric S. Raymond, The Cathedral and The Bazaar.
Example sub-directories of #p"Pictures-2022/"
I.D.Dir
1"JAN/01/"
2"MAR/07/"
3"OCT/31/"
Example picture and thumbnail directories
I.D.PicThumb
1"Pictures-2022/JAN/01/""Thumbnails-2022/JAN/01/"
2"Pictures-2022/MAR/07/""Thumbnails-2022/MAR/07/"
3"Pictures-2022/OCT/31/""Thumbnails-2022/OCT/31/"
Image extensions for mogrify globbing
I.D.File Type
a"JPG"
b"jpg"
c"JPEG"
d"jpeg"
e"PNG"
f"png"
File globs for mogrify
I.D.File GlobOutput path
1a"Pictures-2022/JAN/01/*.JPG""Thumbnails-2022/JAN/01/"
1b"Pictures-2022/JAN/01/*.jpg""Thumbnails-2022/JAN/01/"
1c"Pictures-2022/JAN/01/*.JPEG""Thumbnails-2022/JAN/01/"
1d"Pictures-2022/JAN/01/*.jpeg""Thumbnails-2022/JAN/01/"
1e"Pictures-2022/JAN/01/*.PNG""Thumbnails-2022/JAN/01/"
1f"Pictures-2022/JAN/01/*.png""Thumbnails-2022/JAN/01/"
I.D.File GlobOutput path
2a"Pictures-2022/MAR/07/*.JPG""Thumbnails-2022/MAR/07/"
2b"Pictures-2022/MAR/07/*.jpg""Thumbnails-2022/MAR/07/"
2c"Pictures-2022/MAR/07/*.JPEG""Thumbnails-2022/MAR/07/"
2d"Pictures-2022/MAR/07/*.jpeg""Thumbnails-2022/MAR/07/"
2e"Pictures-2022/MAR/07/*.PNG""Thumbnails-2022/MAR/07/"
2f"Pictures-2022/MAR/07/*.png""Thumbnails-2022/MAR/07/"
I.D.File GlobOutput path
3a"Pictures-2022/OCT/31/*.JPG""Thumbnails-2022/OCT/31/"
3b"Pictures-2022/OCT/31/*.jpg""Thumbnails-2022/OCT/31/"
3c"Pictures-2022/OCT/31/*.JPEG""Thumbnails-2022/OCT/31/"
3d"Pictures-2022/OCT/31/*.jpeg""Thumbnails-2022/OCT/31/"
3e"Pictures-2022/OCT/31/*.PNG""Thumbnails-2022/OCT/31/"
3f"Pictures-2022/OCT/31/*.png""Thumbnails-2022/OCT/31/"

Creating Thumbnails