RSS/Atom feed Twitter
Site is read-only, email is disabled

help Perl-fu: Cannot save image

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

Gimp animation John Culleton 21 Feb 13:43
  help Perl-fu: Cannot save image Valter Mazzola 21 Feb 19:06
John Culleton
2003-02-21 13:43:13 UTC (about 21 years ago)

Gimp animation

CAme across the gimp facilty for creating animations. I downloaded and untarred the example animation from ftp://manual.gimp.org/pub/manual.

The gif file seems to be empty so I downloaded the gzipped file. I unzipped it and untarred it. Now I have a directory containing a hundred or two separate xcf images. I loaded the first one into gimp and fired up the animation playback filter. When I say run it just goes between frame 1 and frame 2.

So how do I view this animation thing from beginning to end? Ye manual sez I can only load one frame at a time.

Valter Mazzola
2003-02-21 19:06:54 UTC (about 21 years ago)

help Perl-fu: Cannot save image

This scripèt isn't able to save the logo in png format, i've tried othe formats but seesm there are bug in gimp.

I'm using GIMP version 1.2.3, Mandrake Linux 9.0.

------------------------------------------------------ #!/usr/local/bin/perl

use Gimp ":auto"; use Gimp::Fu;
use strict;

sub net {
}

Gimp::init;
Gimp::on_net(\&net);

Gimp::set_trace (TRACE_ALL);

my $i=0;

system ("rm -f image_1.png");

script_fu_alien_glow_logo("hello hello $i", "150", "-*-utopia-bold-r-*-*-150-*-*-*-*-*-*-*", [255,0,0] );

my $img = &gimp_image_list();

my $fname = "image_1.png"; my $activelayer= &gimp_image_flatten($img);

file_png_save(RUN_NONINTERACTIVE, $img, $activelayer, $fname, $fname, 0, 9, 0, 0, 0, 0, 0);

# Handle over control to gimp

exit main(); ------------------------------------------------------------------