Re: file_gih_save

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Nov 11, 2000 at 08:45:09PM +0200, Tor Lillqvist <tml@xxxxxx> wrote:
> Umm, yes ;-) There is a FIXME comment about that... I guess I will

sorry, I somehow totally misinterpreted that comment... hm... ;(

> have to fix it. (You wouldn't happen to have some script-fu around to
> test it with... nah, guess not?)

no, but I have this (this is what I originally used on tehe fair), it
comverts all *tub-files given as arguments to .gih-files.

perl -MGimp -e 'Gimp::init; Gimp::set_trace(-1); for(@ARGV) { \
                my $img = Gimp->file_load(($_)x2); s/.tub$/.gih/; \
                $img->get_active_layer->file_gih_save(($_)x2, 100, $_); \
                $img->delete }' *.tub


-- 
      -----==-                                             |
      ----==-- _                                           |
      ---==---(_)__  __ ____  __       Marc Lehmann      +--
      --==---/ / _ \/ // /\ \/ /       pcg@xxxxxxxxxxxxx |e|
      -=====/_/_//_/\_,_/ /_/\_\       XX11-RIPE         --+
    The choice of a GNU generation                       |
                                                         |


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux