__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#!/usr/bin/perl
# $Id$
use strict;
use warnings;
use Cairo;
my $filename = $ARGV[0];
unless (-e $filename && -f $filename) {
die "`$filename� doesn't seem to be a file";
}
open my $rfh, '<', $filename;
my $surface = Cairo::ImageSurface->create_from_png_stream (sub {
my ($closure, $length) = @_;
my $buffer;
if ($length != sysread ($rfh, $buffer, $length)) {
die 'read-error';
}
return $buffer;
});
warn "status: " . $surface->status;
close $rfh;
open my $wfh, '>', $filename . '.bak';
$surface->write_to_png_stream (sub {
my ($closure, $data) = @_;
if (!syswrite ($wfh, $data)) {
die 'write-error';
}
});
close $wfh;
warn "status: " . $surface->status;
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| png | Folder | 0755 |
|
|
| freetype-font.pl | File | 761 B | 0644 |
|
| glyph-text.pl | File | 1.25 KB | 0644 |
|
| mime-unique-id.pl | File | 6.33 KB | 0755 |
|
| pdf-tagged-text.pl | File | 7.01 KB | 0755 |
|
| png-streams.pl | File | 693 B | 0644 |
|
| simple.pl | File | 1.24 KB | 0644 |
|
| subclassing.pl | File | 1.06 KB | 0644 |
|
| twisted-text.pl | File | 8.18 KB | 0644 |
|