#!/usr/bin/perl # gallery.pl # # Copyright (c) Fabian Frederick 2001 # # 17/07/2001 (Fab) # V2.0 # -Adding Html instance per picture + Header # -Adding URL # # 07/07/2001 (Darkin) # -Item was unreachable from menu because of RGB requesite -> undef. # # 17/6/2001 (Fab) # V1.3 # -Adding global progression bar # -Preserving Gimp cache (progressive image_delete) # -Adding trailing / to path # -Plugin crashed when no label was given # 25/5/2001 (Fab) # V1.2 -Bug in rotation parameter : OK # -Adding color for label(Parasite editor helped here :) ). # -Register as gallery_maker # -Adding corner selection for copyright using layer_translate # -Recovering colors for HTML (Thanks Marc). # # 18/19/5/2001 (Fab) # V1.01 -Moving plug-in to Toolbox/Render menu # -Added some error-handling # -Automatically put html file in gallery path # -Added some features to HTML generated # -Simplified I/O # -Status supply # -Source is not overwritten anymore .... c$name applied. # -Working in sub-path (using gallery title) # -HTML file not deployed in /tmp (directly in dpath) # 10-13/5/2001 (Fab) # V1.0 First workable version. # use Gimp qw(:auto __ N_); use Gimp::Fu; use Gimp::Util; #Gimp::set_trace(TRACE_ALL); sub printHeader { my ($rf,$gf,$bf,$r,$g,$b, $htmlFile,$gallerytitle)=@_; printf $htmlFile ""; printf $htmlFile "
\n",$r,$g,$b; printf $htmlFile "