Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 3.147.76.250
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
stph /
libgd-gd-2.2.3 /
examples /
[ HOME SHELL ]
Name
Size
Permission
Action
CMakeLists.txt
1
KB
-rwxr-xr-x
arc.c
591
B
-rwxr-xr-x
copyrotated.c
1.81
KB
-rwxr-xr-x
crop.c
1.31
KB
-rwxr-xr-x
flip.c
1.18
KB
-rwxr-xr-x
gif.c
1.01
KB
-rwxr-xr-x
nnquant.c
1.15
KB
-rwxr-xr-x
noIcon.pic
62
KB
-rwxr-xr-x
noIcon.sgi
65.04
KB
-rwxr-xr-x
noIcon.tga
150.08
KB
-rwxr-xr-x
noIconAlpha.tga
150.08
KB
-rwxr-xr-x
resize.c
1.02
KB
-rwxr-xr-x
test_crop_threshold.png
7.73
KB
-rwxr-xr-x
tgaread.c
975
B
-rwxr-xr-x
tiffread.c
1.11
KB
-rwxr-xr-x
windows.c
7.3
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : tiffread.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[9][2048]; int i; char dst[2048]; sprintf(path[0], "cramps-tile.tif"); sprintf(path[1], "cramps.tif"); sprintf(path[2], "ycbcr-cat.tif"); sprintf(path[3], "jello.tif"); sprintf(path[4], "caspian.tif"); sprintf(path[5], "strike.tif"); sprintf(path[6], "off_luv24.tif"); sprintf(path[7], "off_l16.tif"); sprintf(path[8], "fax2d.tif"); for (i = 0; i < 9; i++) { printf("opening %s\n", path[i]); fp = fopen(path[i], "rb"); if (!fp) { printf("failed, cannot open file\n"); return 1; } im = gdImageCreateFromTiff(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; } gdImagePng(im, fp); fclose(fp); gdImageDestroy(im); } return 0; }
Close