/web/htdocs/www.euroroma.net/home/zenphoto/zp-core/lib-NoGraphics.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<?php

/**
 * library for image handling using the GD library of functions
 * @package core
 */
// force UTF-8 Ø

$_zp_graphics_optionhandlers[] = new lib_NoGraphics(); // register option handler
/**
 * Option class for lib-GD
 *
 */

class lib_NoGraphics {

    function 
__construct() {

    }

    
/**
     * Standard option interface
     *
     * @return array
     */
    
function getOptionsSupported() {

    }

    function 
canLoadMsg() {
        return 
'';
    }

}

if (!
function_exists('zp_graphicsLibInfo')) {

    
$_lib_GD_info = array();
    
$_lib_GD_info['Library'] = 'None';
    
$_lib_GD_info['Library_desc'] = '<p class="error">' gettext('There is no PHP Graphics support.') . '</p>';

    if (
DEBUG_IMAGE)
        
debugLog($_lib_GD_info['Library_desc']);

    function 
zp_imageGet($imgfile) {
        return 
false;
    }

    function 
zp_imageOutput($im$type$filename NULL$qual 75) {
        return 
false;
    }

    function 
zp_createImage($w$h) {
        return 
false;
    }

    function 
zp_imageFill($image$x$y$color) {
        return 
false;
    }

    function 
zp_imageColorTransparent($image$color) {
        return 
false;
    }

    function 
zp_copyCanvas($imgCanvas$img$dest_x$dest_y$src_x$src_y$w$h) {
        return 
false;
    }

    function 
zp_resampleImage($dst_image$src_image$dst_x$dst_y$src_x$src_y$dst_w$dst_h$src_w$src_h) {
        return 
false;
    }

    function 
zp_imageUnsharpMask($img$amount$radius$threshold) {
        return 
false;
    }

    function 
zp_imageResizeAlpha(&$src$w$h) {
        return 
false;
    }

    function 
zp_imageCanRotate() {
        return 
false;
    }

    function 
zp_rotateImage($im$rotate) {
        return 
false;
    }

    function 
zp_imageDims($filename) {
        return 
false;
    }

    function 
zp_imageIPTC($filename) {
        return 
false;
    }

    function 
zp_imageWidth($im) {
        return 
false;
    }

    function 
zp_imageHeight($im) {
        return 
false;
    }

    function 
zp_imageMerge($dst_im$src_im$dst_x$dst_y$src_x$src_y$src_w$src_h$pct) {
        return 
false;
    }

    function 
zp_imageGray($image) {

    }

    function 
zp_imageKill($im) {
        return 
false;
    }

    function 
zp_colorAllocate($image$red$green$blue) {
        return 
false;
    }

    function 
zp_writeString($image$font$x$y$string$color) {

    }

    function 
zp_drawRectangle($image$x1$y1$x2$y2$color) {
        return 
false;
    }

    function 
zp_graphicsLibInfo() {
        global 
$_lib_GD_info;
        return 
$_lib_GD_info;
    }

    function 
zp_getFonts() {
        return 
$_gd_fontlist;
    }

    function 
zp_imageLoadFont($font NULL$size 18) {
        return 
false;
    }

    function 
zp_imageFontWidth($font) {
        return 
false;
    }

    function 
zp_imageFontHeight($font) {
        return 
false;
    }

    function 
imageBlurGD($imgCanvas$imgCanvas2$radius$w$h) {

    }

    function 
zp_imageFromString($string) {
        return 
false;
    }

}
?>