Beyond the PIL: alternative solutions for working with images and video.
summary
PIL handles normal image work but fails on print/archival needs: LZW TIFF write unsupported by PIL, raw camera formats and ICC profiling are missing, and PDFs can be write-only. Practical solutions use external engines: wand (ImageMagick) works cleanly for converting large TIFFs to JPEGs and thumbnails, while GraphicsMagick wrappers prove brittle. Reliable pattern is wrapping CLIs via subprocess and queuing jobs; for video the trick is ffmpeg trick: force error to read duration then extract nine evenly spaced keyframes. Large TIFFs (hundreds of megapixels, >1GB) require worker farms and streaming to avoid memory blowups.
AI-written summary · about
chapters (11)
- 0:00Intro
- 0:11Why I didnt present
- 1:01Digital Asset Management
- 2:01Print Production
- 2:11Missing Features
- 5:43Use the PIL
- 5:57Imagemagick
- 9:10PGmagic
- 11:47GMwrap
- 15:02Subprocess
- 21:32ffmpeg
related talks
01h 04mBuilding Efficient and Frugal Image Data Processing Pipelines
38mFixing the Image Problems of the Web using Machine Learning
47mThe image problem of the web and how to solve it with AI
14mim2im: Automatically Converting In-Memory Image Representations using A Knowledge(…)
24mTiling & Parallel Processing of Large Images
26mChallenge Accepted - How to Escape the Quicksand While Engineering a Computer V...
49mGraph Based Processing of Big Images
01h 27mImage Generation with AI
