Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
opt /
lampp /
share /
docs /
[ HOME SHELL ]
Name
Size
Permission
Action
arc.c
591
B
-rw-r--r--
copyrotated.c
1.81
KB
-rw-r--r--
crop.c
1.31
KB
-rw-r--r--
flip.c
1.18
KB
-rw-r--r--
gif.c
1.01
KB
-rw-r--r--
INSTALL
15.38
KB
-rw-r--r--
nnquant.c
1.15
KB
-rw-r--r--
noIconAlpha.tga
150.08
KB
-rw-r--r--
noIcon.pic
62
KB
-rw-r--r--
noIcon.sgi
65.04
KB
-rw-r--r--
noIcon.tga
150.08
KB
-rw-r--r--
README.CMAKE
1.42
KB
-rw-r--r--
README.JPN
1.75
KB
-rw-r--r--
README.TESTING
2.19
KB
-rw-r--r--
README.TXT
1.72
KB
-rw-r--r--
test_crop_threshold.png
7.73
KB
-rw-r--r--
tgaread.c
975
B
-rw-r--r--
tiffread.c
1.11
KB
-rw-r--r--
windows.c
7.3
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : tgaread.c
/* $Id$ */ /* * You can fetch a set of samples TIFF images here: * ftp://ftp.remotesensing.org/pub/libtiff/ * (pics-x.y.z.tar.gz) */ #include <gd.h> #include <stdio.h> #include <stdlib.h> int main() { gdImagePtr im; FILE *fp; char path[4][2048]; int i; char dst[2048]; sprintf(path[0], "noIconAlpha.tga"); sprintf(path[1], "noIcon.tga"); for (i = 0; i < 2; i++) { printf("opening %s\n", path[i]); fp = fopen(path[i], "rb"); if (!fp) { printf("failed, cannot open file\n"); return 1; } im = gdImageCreateFromTga(fp); fclose(fp); if (!im) { fprintf(stderr, "Can't load TIFF image %s\n", path[i]); return 1; } sprintf(dst, "%i.png", i); fp = fopen(dst, "wb"); if (!fp) { fprintf(stderr, "Can't save png image fromtiff.png\n"); gdImageDestroy(im); return 1; } #ifdef HAVE_LIBPNG gdImagePng(im, fp); #else printf("No PNG support. Cannot save image.\n"); #endif fclose(fp); gdImageDestroy(im); } return 0; }
Close