Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
| Artifact ID: | 62cd45281e524964f4d95860a4c1b5d4632c43fe |
|---|---|
| Page Name: | sg-snapshot |
| Date: | 2012-01-19 10:17:02 |
| Original User: | saul |
| Parent: | 0faa1e4bbdc615555c626346eafd1e79627cee6f (diff) |
| Next | 9fb0249ffc0d3b0479d004470a1e14adcbf9256b |
- Command:
- Snapshot
- Menu:
- "<Image>/File/Snapshot"
- PDB Name:
- script-fu-sg-snapshot
- Download:
- sg-snapshot.scm (after the page appears, click on the "Download" command)
- License:
- GPLv2+
Description:
- This script will save a snapshot of the current state of the image as a PNG file. Just the visible projection is saved, not the image itself.
The PNG file has a timestamp appended to its name and is saved in the same directory whence the original image came. For example, the file "/home/saul/Images/test.jpg" will have a snapshot such as "/home/saul/Images/test-29743.png". The time stamp is derived from the number of seconds since 1970, but rolls over every 24 hours.
If the original image has not yet been saved to a file then the snapshot will be placed in the GIMP startup directory with the basename of "Untitled" (e.g., "/home/saul/Untitled-29856.png").
The purpose of this script is to facilitate creating animations of the process of editing an image. Typically, a user would go through all the steps of editing his image -- painting, filtering, applying transforms, etc -- and then go back to the start of the image's UNDO history (either by repeatedly performing "Edit->Undo" or by navigation in the Undo History dialog). The user would then execute the script, perform an "Edit->Redo", and repeat these two steps until finished. Note: if a keyboard shortcut is assigned to the command -- such as CTL-d -- then this process becomes quite trivial (i.e., CTL-d, CTL-y, CTL-d, CTL-y, CTL-d, CTL-y, ...).
After all of the snapshots are saved, "File->Load As Layers" can be used to create a single, multi-layer animation of the history steps. Alternately, GIMP's GAP plug-in could be used to create videos of the process.
The following animation is a crude example of what can be accomplished.