Home
last modified time | relevance | path

Searched full:image (Results 1 – 25 of 151) sorted by relevance

1234567

/dokuwiki/vendor/splitbrain/slika/src/
H A DGdAdapter.php7 * Image processing adapter for PHP's libGD
11 /** @var resource libGD image */
12 protected $image; variable in splitbrain\\slika\\GdAdapter
13 /** @var int width of the current image */
15 /** @var int height of the current image */
25 $this->image = $this->loadImage($imagepath);
33 if (is_resource($this->image)) {
34 imagedestroy($this->image);
89 $transparency = imagecolorallocatealpha($this->image, 0, 0, 0, 127);
93 $image = imagerotate($this->image, 180, $transparency);
[all …]
H A DAdapter.php7 * Base class for image adapters. Defines what image processing adapters need to provide
11 /** @var string path to the image */
20 * @param string $imagepath path to the original image
27 throw new Exception('image file does not exist');
31 throw new Exception('image file is not readable');
39 * Rote the image based on the rotation exif tag
46 * Rotate and/or flip the image
58 * Resize to make image fit the given dimension (maintaining the aspect ratio)
70 * Resize to the given dimension, cropping the image as needed
84 * @param string $extension The type of image to save, empty for original
H A DSlika.php7 * Factory to process an image using an available Adapter
11 /** rotate an image counter clock wise */
13 /** rotate an image clock wise */
33 * Start processing the image
/dokuwiki/conf/
H A Dmime.conf6 jpg image/jpeg
7 jpeg image/jpeg
8 gif image/gif
9 png image/png
10 webp image/webp
11 ico image/vnd.microsoft.icon
52 odi !application/vnd.oasis.opendocument.image
57 svg image/svg+xml
/dokuwiki/_test/tests/lib/exe/
H A Dcss_css_compress.test.php37 background-image: url(http://foo.bar/baz.jpg); // this is a comment
39 … $this->assertEquals('#foo{background-image:url(http://foo.bar/baz.jpg);}', css_compress($text));
44 …background-image: url(http://foo.bar/baz.jpg); background-image: url(http://foo.bar/baz.jpg); // t…
46 …$this->assertEquals('#foo{background-image:url(http://foo.bar/baz.jpg);background-image:url(http:/…
51 …background-image: url(http://foo.bar/baz.jpg); // background-image: url(http://foo.bar/baz.jpg); t…
53 … $this->assertEquals('#foo{background-image:url(http://foo.bar/baz.jpg);}', css_compress($text));
58 …background-image: url(//foo.bar/baz.jpg); // background-image: url(http://foo.bar/baz.jpg); this i…
60 $this->assertEquals('#foo{background-image:url(//foo.bar/baz.jpg);}', css_compress($text));
65 …background-image: url(//foo.bar/baz.jpg); // background-image: url(http://foo.bar/baz.jpg); this i…
67 …$this->assertEquals('#foo a[href ^="https://"],#foo a[href ^=\'https://\']{background-image:url(//…
[all …]
H A Dfetch_imagetoken.test.php12 $this->markTestSkipped('Source image required for test');
44 * modified image request with valid token
60 * modified image request with invalid token
69 * modified image request with no token
78 * native image request which doesn't require a token
80 …* expect: (for both) header with mime-type, content matching source image filesize & no error res…
83 … $this->width = $this->height = 0; // no width & height, means image request at native dimensions
H A Dfetch_statuscodes_external.test.php43 * modified image request with valid token
44 * and not-modified image request with valid token
78 * modified image request with invalid token
94 * modified image request with no token
95 * and not modified image with no token
/dokuwiki/inc/Menu/Item/
H A DMediaManager.php8 * Opens the current image in the media manager. Used on image detail view.
24 $this->svg = DOKU_INC . 'lib/images/menu/11-mediamanager_folder-image.svg';
26 $this->params = ['ns' => $imgNS, 'image' => $IMG, 'do' => 'media'];
/dokuwiki/vendor/splitbrain/slika/
H A DREADME.md1 # Slika - simple image handling for PHP
49 All resize operations will keep the original aspect ratio of the image. There will be no distortion.
54 # fit the image into a bounding box of 500x500 pixels
57 # adjust the image to a maximum width of 500 pixels
60 # adjust the image to a maximum height of 500 pixels
66 Similar to resizing, but this time the image will be cropped to fit the new aspect ratio.
74 Rotates the image. The parameter passed is one of the EXIF orientation flags:
91 Rotates the image according to the EXIF rotation tag if found.
H A Dcomposer.json3 "description": "Simple image resizing",
13 …"ext-gd": "PHP's builtin image manipulation library. Alternatively use an installation of ImageMag…
/dokuwiki/vendor/openpsa/universalfeedcreator/
H A DREADME.md26 $image = new FeedImage();
27 $image->title = "dailyphp.net logo";
28 $image->url = "http://www.dailyphp.net/images/logo.gif";
29 $image->link = "http://www.dailyphp.net";
30 $image->description = "Feed provided by dailyphp.net. Click to visit.";
33 $image->descriptionTruncSize = 500;
34 $image->descriptionHtmlSyndicated = true;
36 $rss->image = $image;
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/
H A DRSSCreator10.php37 if ($this->image != null) {
38 $feed .= " <image rdf:resource=\"".$this->image->url."\" />\n";
50 if ($this->image != null) {
51 $feed .= " <image rdf:about=\"".$this->image->url."\">\n";
52 $feed .= " <title>".$this->image->title."</title>\n";
53 $feed .= " <link>".$this->image->link."</link>\n";
54 $feed .= " <url>".$this->image->url."</url>\n";
55 $feed .= " </image>\n";
H A DHTMLCreator.php44 /** @var string image alignments in output */
82 if ($this->image != null) {
83 $imageStr = "<a href='".$this->image->link."'".$targetInsert.">".
84 "<img src='".$this->image->url."' border='0' alt='".
85 FeedCreator::iTrunc(htmlspecialchars($this->image->title), 100).
87 if ($this->image->width) {
88 $imageStr .= " width='".$this->image->width."' ";
90 if ($this->image->height) {
91 $imageStr .= " height='".$this->image->height."' ";
H A DRSSCreator091.php69 if ($this->image != null) {
70 $feed .= " <image>\n";
71 $feed .= " <url>".$this->image->url."</url>\n";
72 …$feed .= " <title>".FeedCreator::iTrunc(htmlspecialchars($this->image->title), 100)."</…
73 $feed .= " <link>".$this->image->link."</link>\n";
74 if ($this->image->width != "") {
75 $feed .= " <width>".$this->image->width."</width>\n";
77 if ($this->image->height != "") {
78 $feed .= " <height>".$this->image->height."</height>\n";
80 if ($this->image->description != "") {
[all …]
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Element/
H A DFeedImage.php12 * Mandatory attributes of an image.
17 * Optional attributes of an image.
/dokuwiki/inc/
H A Dmedia.php58 * Handles the saving of image meta data
143 * Display the form to edit image meta data
661 if (str_starts_with($mime, 'image/')) {
663 if ($mime == 'image/gif' && $info[2] != 1) {
665 } elseif ($mime == 'image/jpeg' && $info[2] != 2) {
667 } elseif ($mime == 'image/png' && $info[2] != 3) {
800 * @param string $image filename of the current image
803 function media_tabs_details($image, $selected_tab = '') argument
813 [, $mime] = mimetype($image);
814 if ($mime == 'image/jpeg' && file_exists(mediaFN($image))) {
[all …]
H A DAjax.php230 * (image details) for the Mediamanager
240 $image = '';
241 if ($INPUT->has('image')) $image = cleanID($INPUT->str('image'));
242 if (isset($IMG)) $image = $IMG;
243 if (isset($JUMPTO)) $image = $JUMPTO;
248 tpl_mediaFileDetails($image, $rev);
252 * Returns image diff representation for mediamanager
260 $image = '';
261 if ($INPUT->has('image')) $image = cleanID($INPUT->str('image'));
262 (new MediaDiff($image))->preference('fromAjax', true)->show();
[all …]
/dokuwiki/vendor/splitbrain/lesserphp/src/Functions/
H A DMisc.php21 //'image-size' => [$this, 'imageSize'],
22 //'image-width' => [$this, 'imageWidth'],
23 //'image-height' => [$this, 'imageHeight'],
34 // image-size is missing
35 // image-width is missing
36 // image-height is missing
/dokuwiki/vendor/simplepie/simplepie/src/Content/Type/
H A DSniffer.php110 } elseif (substr($official, 0, 6) === 'image/') {
111 if ($return = $this->image()) {
163 return 'image/gif';
165 return 'image/png';
167 return 'image/jpeg';
169 return 'image/bmp';
171 return 'image/vnd.microsoft.icon';
182 public function image() function in SimplePie\\Content\\Type\\Sniffer
186 return 'image/gif';
188 return 'image/png';
[all …]
/dokuwiki/lib/styles/
H A Dscreen.css34 background-image: url(../images/error.png);
40 background-image: url(../images/info.png);
46 background-image: url(../images/success.png);
52 background-image: url(../images/notify.png);
/dokuwiki/.github/workflows/
H A DtestLinux.yml26 image: mysql:5.7
32 image: postgres:latest
38 image: ubuntu/squid
/dokuwiki/lib/tpl/dokuwiki/css/
H A D_toc.css83 list-style-image: url(../../images/bullet.png);
86 list-style-image: url(../../images/open.png);
89 list-style-image: url(../../images/closed.png);
92 list-style-image: url(../../images/closed-rtl.png);
H A D_links.css43 background-image: url(../../images/external-link.svg);
47 background-image: url(../../images/unc.svg);
51 background-image: url(../../images/email.svg);
/dokuwiki/lib/exe/
H A Dopensearch.php33 echo ' <Image width="16" height="16" type="image/x-icon">' . $ico . '</Image>' . NL;
/dokuwiki/vendor/geshi/geshi/src/geshi/
H A Dgo.php96 'ast.Visitor', 'av.Color', 'av.Image', 'av.Window', 'base64.CorruptInputError',
103 'draw.Color', 'draw.Context', 'draw.Image', 'draw.Mouse', 'draw.Op',
146 'image.Alpha', 'image.AlphaColor', 'image.Color', 'image.ColorImage',
147 'image.ColorModel', 'image.ColorModelFunc', 'image.Image', 'image.NRGBA',
148 'image.NRGBA64', 'image.NRGBA64Color', 'image.NRGBAColor', 'image.Paletted',
149 'image.RGBA', 'image.RGBA64', 'image.RGBA64Color', 'image.RGBAColor',

1234567