http://www.perlmonks.org?node_id=288813


in reply to Help with Gimp-perl

Could it be that Gimp->file_jpeg_save fails? Have you tried to add check if there was raised an exception. I.e.

eval { Gimp->file_jpeg_save(...); }; if($@) { warn $@; }

--
Ilya Martynov, ilya@iponweb.net
CTO IPonWEB (UK) Ltd
Quality Perl Programming and Unix Support UK managed @ offshore prices - http://www.iponweb.net
Personal website - http://martynov.org

Replies are listed 'Best First'.
Re: Re: Help with Gimp-perl
by Anonymous Monk on Sep 04, 2003 at 15:23 UTC
    The file is being saved (I checked the comments). I changed the output filename, and it gets created.

    In response to mattr's suggestion , how do I pop up windows when the entire call to script_fu_fuzzy_border() is in non-interactive mode? Maybe I'll try popping up a window of the result to see what happens.

      Have you tried to turn on debug trace (see section "DEBUGGING AIDS" in perldoc Gimp)? It may show the cause of the problem.

      --
      Ilya Martynov, ilya@iponweb.net
      CTO IPonWEB (UK) Ltd
      Quality Perl Programming and Unix Support UK managed @ offshore prices - http://www.iponweb.net
      Personal website - http://martynov.org