Lines Matching refs:is

7 //       This code is released under the GNU GPL:               //
10 // phpThumb() is free to use according to the terms of the GPL. //
23 or JPEG) on the fly. The output size is configurable (can be larger or
25 portion of the original image. True color and resampling is used if
26 GD v2.0+ is available, otherwise low-color and simple resizing is used.
54 own subdirectory (e.g. /phpThumb/ is useful but not required)
57 * the only setting you must set is 'high_security_password'
77 The hash is calculated with the 'high_security_password' config value, so you
86 is much better, less (or no) use of temp files, and the
96 This is a PHP limitation (see www.php.net/file-exists)
100 magic_quotes_gpc is disabled
135 Note: phpThumb.php is where the caching code is located, if you instantiate
136 your own phpThumb() object that code is bypassed and it's up to you to
147 phpThumb.config.php - this is the only file you should ever modify.
151 The configuration file is distributed as phpThumb.config.php.default to prevent
164 * cache_directory - thumbnailing is slow and processor-intensive. Enabling
167 if ImageMagick is available on the server.
174 * whether unsharp masking is applied
179 your thumbnails. If ImageMagick is available then the amount of available
180 PHP memory is usually not an issue.
184 Note: High-Security mode is VERY STRONGLY recommended enabled in all cases.
200 Set to hex color string of background. Opacity is
232 "5|<threshold>|<bgcolor>" where <threshold> is between 0
233 and 1, and <bgcolor> is the hex background color
238 where <value> is the amount +/- to adjust brightness
242 where <value> is the amount +/- to adjust contrast
247 Must be >0 (zero gives no effect). There is no max,
248 although beyond 10 is pretty useless. Negative
252 where <value> is a number between zero (no change)
256 is an alias for "sat" except values are inverted
266 where <c> is the number of colors (2-256) you want
267 in the output image, and <d> is "1" for dithering
270 where <value> is a number between 0 and 100 for the
271 amount of colorization, and <color> is the hex color
274 where <value> is a number between 0 and 100 for the
275 amount of colorization (default=50), and <color> is
278 ImageMagick, in which case 80 is default, and lower
282 where <a> is the amount (default = 80, range 0-255),
283 <r> is the radius (default = 0.5, range 0.0-10.0),
284 <t> is the threshold (default = 3, range 0-50).
292 where <value> is the weighting value for the matrix
308 <threshold> is how much of brightest/darkest pixels
310 Using default parameters (&fltr[]=lvl) is similar to
313 where <c> is the target hex color to white balance
314 on, this color is what "should be" white, or light
316 any gray color can theoretically be used. If <c> is
322 similar to "lvl", there is usually no need to use "lvl"
323 if "wb" is already used.
326 Where <b> is the color band(s) to display, from back
329 <c> is a semicolon-separated list of hex colors to
335 <a> is the alignment (same as for "wmi" and "wmt");
336 <o> is opacity from 0 (transparent) to 100 (opaque)
344 where <i> is the image filename; <u> is "0" (default)
346 for overlay the thumbnail on top of the image; <m> is
347 the margin - can be absolute pixels, or if < 1 is a
349 (default is 0 for overlay and 10% for underlay);
350 <o> is opacity (0 = transparent, 100 = opaque)
355 <f> is the filename of the image to overlay;
356 <a> is the alignment (one of BR, BL, TR, TL, C,
363 note: this is center position of image if <x>
365 <o> is opacity from 0 (transparent) to 100 (opaque)
370 if <a> is absolute-position format then <x> and
373 <r> is rotation angle of overlaid watermark
377 <t> is the text to use as a watermark;
380 "eighth note" character (U+266A) is represented
392 <s> is the font size (1-5 for built-in font, or point
394 <a> is the alignment (one of BR, BL, TR, TL, C, R, L,
402 <c> is the hex color of the text;
403 <f> is the filename of the TTF file (optional, if
405 <o> is opacity from 0 (transparent) to 100 (opaque)
407 <m> is the edge (and inter-tile) margin in percent;
408 <n> is the angle
409 <b> is the hex color of the background;
410 <O> is background opacity from 0 (transparent) to
413 <x> is the direction(s) in which the background is
417 <h> is the scale multiplier for line height/spacing
418 default is 1.0
423 for PNG output), where <x> is the horizontal radius
424 of the curve and <y> is the vertical radius
429 channel to the main image. White is opaque, black
430 is transparent, unless the <i> (invert) parameter is
431 set to 1 in which case black is opaque and white is
434 where <w> is the bevel width, <c1> is the hex color
435 for the top and left shading, <c2> is the hex color
438 where <w> is the width in pixels, <rx> and <ry> are
440 and <c> is the hex color of the border
444 where <w1> is the width of the main border, <w2> is
445 the width of each side of the bevel part, <c1> is the
446 hex color of the main border, <c2> is the highlight
447 bevel color, <c3> is the shadow bevel color
450 where <d> is distance from image to shadow, <w> is
451 width of shadow fade (not yet implemented), <clr> is
452 the hex color of the shadow, <a> is the angle of the
453 shadow (default=225), <o> is opacity (0=transparent,
457 where <l> is the number of pixels to crop from the left
466 where <a> is the rotation angle in degrees; <b> is the
468 but is applied in filter order after regular processing
472 where <x> is the horizontal dimension in pixels, <y> is
473 the vertical dimension in pixels, <s> is boolean whether
478 It is only provided for cases where other filters need to
481 applied. This filter is less efficient than the standard
485 where <c> is the hex color of the target color to be made
486 transparent; <n> is the minimum threshold in percent (all
488 transparent, default <n>=5); <x> is the maximum threshold
492 md5s = MD5 hash of the source image -- if this parameter is
494 source image is not checked for existence or
495 modification and the cached file is used (if
496 available). If 'md5s' is passed an empty string then
498 value. This parameter is the single-file equivalent
523 image is landscape or portrait.
529 maxb = MAXimum Byte size - output quality is auto-set to
531 quality is adjusted for JPEG, bit depth is adjusted
533 down = filename to save image to. If this is set the
561 rather than a full http:// URL because performance is
571 (unless "iar" is set)
591 where Safe Mode is enabled, specificly when accessing
593 is in use. Specifying "config_temp_directory" may help
596 apache_lookup_uri(), which is missing or broken in
597 Apache2, or if PHP is not installed as an Apache module.
598 phpThumb() does try and work around this if it is
611 * phpThumb() works better and faster when ImageMagick is
613 speed is much faster with ImageMagick, and much larger
619 bug in ImageCopyResized() which is used with GD v1.x
620 where the bottom and/or right line of pixels is set
628 there may be other bugs, and the workaround is slow.