Wiki_Scripts

Differences between revisions 2 and 15 (spanning 13 versions)
Revision 2 as of 2007-10-15 03:27:26
Size: 2213
Editor: pcd341047
Comment: attachment links
Revision 15 as of 2009-04-12 12:39:49
Size: 2469
Editor: p50894D21
Comment: apt-url
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Wiki Scripts =
There are two scripts here to help you manage the images on your wiki pages. One, is a montage script, basically for an orderly collage. The other is a thumbnailer. The GUI for either requires zenity ({{{sudo apt-get install zenity}}} or use synaptic). The sizes for both scripts are the ones recommended for the wiki.
<<Include(Artwork/PageTemplate/Header)>>
## ||<tablestyle="float:right; font-size: 0.9em; width:30%; background:#F1F1ED;"><<TableOfContents>>||

[[../|Back to Software]]

Two scripts to help you to manage the images on your wiki pages.

They both require imagemagick, the ui requires zenity.<<BR>>
[[apt://imagemagick|Install imagemagick]]<<BR>>
[[apt://zenity|Install zenity]]
Line 5: Line 14:
Line 6: Line 16:

||<tablestyle="float:right; text-align: center"> ''Example thumbnail of montage.'' ||
||{{attachment:montage_thumb.png}} ||
||[[attachment:montage.png|Full Size Montage]] ||
Line 9: Line 24:
Download [attachment:montagemaker here]. [[attachment:montagemaker|Download Montage Maker]]
Line 16: Line 31:
 * If you've saved it to the default location with Firefox, you could also run {{{ chmod +x ~/Desktop/montagemaker }}} to make it executable  * If you've saved it to the default location with Firefox, you could also run {{{chmod +x ~/Desktop/montagemaker}}} to make it executable
Line 20: Line 36:
Download [attachment:thumbnailer here]. [[attachment:thumbnail|Download Thumbnailer]]
Line 22: Line 38:
This script will thumbnail all the files you select, appending _thumb to them. There is a configuration section where you can change height, width, appended name, etc, as well as instructions for commenting and uncommenting some features. This script will thumbnail all the files you select, appending {{{_thumb}}} to them. There is a configuration section where you can change height, width, appended name, etc, as well as instructions for commenting and uncommenting some features.
Line 25: Line 41:
  * ''This will overwrite any prerendered version of the same name.''  * ''This will overwrite any prerendered version of the same name.''
Line 29: Line 45:
 * If you've saved it to the default location with Firefox, you could also run {{{ chmod +x ~/Desktop/thumbnail }}} to make it executable  * If you've saved it to the default location with Firefox, you could also run {{{chmod +x ~/Desktop/thumbnail}}} to make it executable

Back to Software

Two scripts to help you to manage the images on your wiki pages.

They both require imagemagick, the ui requires zenity.
Install imagemagick
Install zenity

How to use the scripts

Download the attached script, anywhere you like. If you want to you can place it into your $PATH. Otherwise, just keep it in a handy location. Once you've saved it: right click on the file, and select properties. Navigate to the file permissions tab, and allow executing the file as a program.

Example thumbnail of montage.

montage_thumb.png

Full Size Montage

Montage Maker

Download Montage Maker

To use this script, point it at a directory with the images you wish to collate into one image. After this, choose a filename and location to save your montage.

  • If you have problems with your svg thumbnailing in the montage, prerender a raster (pixel-based) version to place in the directory instead.
  • The script will try to thumbnail everything in the directory, so prepare it properly first.

  • The CLI mode requires first a directory and then the output filename.
  • If you've saved it to the default location with Firefox, you could also run chmod +x ~/Desktop/montagemaker to make it executable

Thumbnailer

Download Thumbnailer

This script will thumbnail all the files you select, appending _thumb to them. There is a configuration section where you can change height, width, appended name, etc, as well as instructions for commenting and uncommenting some features.

  • Be aware that the script by default will render a raster version of the svg with the same name.
  • This will overwrite any prerendered version of the same name.

  • It supports raster and svg images, svg support requires Inkscape

  • To select multiple files, hold the control button while you select them.
  • By default it automatically appends _thumb to the filename.
  • If you've saved it to the default location with Firefox, you could also run chmod +x ~/Desktop/thumbnail to make it executable


CategoryArtwork

Artwork/Documentation/Software/Wiki_Scripts (last edited 2009-04-12 12:39:49 by p50894D21)