473,756 Members | 8,443 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1255

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

Similar topics

1
1157
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 http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/271246 -Premshree Pillai
4
1935
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 when those who want to avoid many changes try it... I've been *not* submitting a patch on lots of changes to Python, but somehow it's never been accepted. ;-)" Peter Hansen "I've never seen a more complicated, verbose pile of hogwash than the...
15
1447
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 | i.e. song name
45
3046
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
1933
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 of its instance data as well as information about a particular meathod. This is what i want it to do: class song:
5
4352
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 folder (i want them in Music/artist/album/title.mp3)) but im getting an error with the code, however it does seem to be from the id3 library, and not from /my/ code, so if somebody knows how to fix this problem, or even if somebody knows of a better...
0
9462
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9287
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9722
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8723
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6542
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5155
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5318
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3817
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2677
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.