473,320 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

pyAlbum.py - Python Album Generator

Hello people,

I recently updated one of my Python scripts --
pyAlbum.py
This is a simple, command-line based, lightweight
Python script to create an image album.

Of course, there are plenty of image album creation
tools -- a lot of them are very good. But, I wanted
something very simple, something that doesn't scare
the user with too many options. The final album should
be clean -- something like what Zope's Image object
offers.

Here are some of the features of the script:
+ Thumbnail creation (using a scaling factor that the
user enters)
+ Image creation for the HTML of individual images
(again using a scaling factor that the user enters)
+ The album Index file includes dimensions and file
size of each image
+ The script generates a single CSS -- this makes
changing the style very simple
+ The script runs on the command-line, and does not
require any server-side processing

Other requirements:
+ Python Imaging Library
(http://www.pythonware.com/products/daily)

So, the idea of the script is -- Keep It As Simple As
Possible

You can see a sample of an album created using this
script at
http://www.premshree.resource-locato...mple/index.htm

Oh, and the script itself is available at
http://aspn.activestate.com/ASPN/Coo.../Recipe/271246

I hope it's useful.

Sincerely,
Premshree Pillai

__________________________________________________ ______________________
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.
Go to: http://in.insurance.yahoo.com/licspecial/index.html

Jul 18 '05 #1
0 1224

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Premshree Pillai | last post by:
*pyAlbum* Using this script a user can create a HTML album (of images) by selecting the directory that contains all the required images. Source available at...
4
by: Peter Otten | last post by:
QOTW: "Python is clearly on a huge evolutionary surge and conservative views on the matter are definitely not winning out right now. And the usual argument (submit a patch!) doesn't really work...
15
by: Tim Henderson | last post by:
Hi i have some errors in my code that i can't find the reason for here is the error i have 3 classes: -Song -Album -Artist Song has 3 pieces of data with getter and setter meathods: -Name...
45
by: Joh | last post by:
hello, i'm trying to understand how i could build following consecutive sets from a root one using generator : l = would like to produce : , , , ,
5
by: Tim Henderson | last post by:
Hello I want to creat a program that can inspect a set of classes that i have made and spit out a savable version of these classes. To do this I need to be able to inspect each class and get all...
5
by: jeff | last post by:
i stated using a python module called id3reader (http://www.nedbatchelder.com/code/modules/id3reader.html) and i tried to use it to organize all my music files (right now they are all in one...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.