gqview & thumbnails

creating a "Thumbnails" entry in gqview's Edit menu:

Edit/Preferences/Editor:
 Menu name:
 Thumbnails (or whatever)
 Command line:
 %vif convert -resize 100x100 -quality 50 %p %p_tmp; then P=%p;
 mv %p_tmp ${P%/*}/tn_${P##*/};else rm %p_tmp;fi
 (in one line obviously)

gregoa, 2005-08-22

Creative Commons License
All material on this blog — unless stated otherwise — is © gregor herrmann, and is licensed under the Creative Commons Attribution-Share Alike 3.0 Austria License.