Python Script - maintains thumbnails in subfolder

This a very simple script (quite messy too). What is does is checks all images in a folder and creates a thumbnail version in a subfolder called “thumbs”. The script keeps all images in a list and then pickles the list into a file so when you run it again it will only create thumbs for images that weren’t there before. When the script starts it also checks for thumbnails without a big version it will delete these thumbs.

To Run

  1. Place make-thumbs.py in the folder with the images
  2. You also need to put database.pic in the same folder(this file is a very simple database of the images
  3. Then run: python make-thumbs.py

Files

Python Script - maintains thumbnails in subfolder

Posted on November 29, 2006
Tags: Python

Post a comment

Your name:

Comment: