[scribus] Scripting a Contact Sheet

Henry Hartley henryhartley at westat.com
Tue Sep 23 15:32:46 CEST 2008


Gregory Pittman wrote
>>
>> Henry Hartley wrote:
>> > I would like a script that would take a directory full of images
>> > (JPG) and make a scribus document with four square images frames
>> > per page ...
>> >
>> Here is a script I wrote:
>>
>> http://wiki.scribus.net/index.php/Automatic_import_of_images:_Versions_not_requiring_Tkinter
>>
>> Actually 2, one for A4 paper, one for US Letter. There are also
>> variations on number of images per page.

That's exactly what I was looking for. Thank you. The only adjustment I had to make to get it to run on WinXP/1.3.5svn was to change the font to a font I had. That and trick the scripter into seeing the file (see my post from 08/20/2008) and it worked.

I decided to change the image frames to squares so that images are the same size whether horizontal or vertical shots. The down side is that there isn't an obvious way to center (vertically and horizontally) scaled images in those frames. I may go back to rectangular frames but change their orientation with the orientation of the image.

In any case, you did the heavy lifting for me and I'm grateful.

--
Henry




More information about the scribus mailing list