|
13 | 13 | <section class="page-header"> |
14 | 14 | <h1 class="project-name">php-vips</h1> |
15 | 15 | <h2 class="project-tagline">php binding for libvips</h2> |
16 | | - <a href="https://github.com/jcupitt/php-vips" class="btn">View on GitHub</a> |
| 16 | + <a href="https://github.com/libvips/php-vips" class="btn">View on GitHub</a> |
17 | 17 | </section> |
18 | 18 |
|
19 | 19 | <section class="main-content"> |
20 | 20 | <h1> |
21 | 21 | <a id="high-level-php-binding-for-libvips" class="anchor" href="#high-level-php-binding-for-libvips" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>High-level PHP binding for libvips</h1> |
22 | 22 |
|
23 | | -<p><code>php-vips</code> is a binding for <a href="https://github.com/jcupitt/libvips">libvips</a> for |
| 23 | +<p><code>php-vips</code> is a binding for <a href="https://github.com/libvips/libvips">libvips</a> for |
24 | 24 | PHP 7. </p> |
25 | 25 |
|
26 | 26 | <p>libvips is fast and needs little memory. The <a href="https://github.com/jcupitt/php-vips-bench"><code>vips-php-bench</code></a> repository tests |
|
36 | 36 |
|
37 | 37 | <p>This module builds upon the <code>vips</code> PHP extension, see:</p> |
38 | 38 |
|
39 | | -<p><a href="https://github.com/jcupitt/php-vips-ext">https://github.com/jcupitt/php-vips-ext</a></p> |
| 39 | +<p><a |
| 40 | + href="https://github.com/libvips/php-vips-ext">https://github.com/libvips/php-vips-ext</a></p> |
40 | 41 |
|
41 | 42 | <p>You'll need to install that first. It's tested on Linux and macOS --- |
42 | 43 | Windows would need some work, but should be possible. </p> |
|
71 | 72 | $ ./try1.php ~/pics/k2.jpg x.tif |
72 | 73 | </code></pre> |
73 | 74 |
|
74 | | -<p>See <code>examples/</code>. We have a <a href="https://jcupitt.github.io/php-vips/docs/classes/Jcupitt.Vips.Image.html">complete set of formatted API |
| 75 | +<p>See <code>examples/</code>. We have a <a href="https://libvips.github.io/php-vips/docs/classes/Jcupitt.Vips.Image.html">complete set of formatted API |
75 | 76 | docs</a>.</p> |
76 | 77 |
|
77 | 78 | <h3> |
|
108 | 109 |
|
109 | 110 | <div class="highlight highlight-text-html-php"><pre><span class="pl-s1"><span class="pl-smi">$image</span><span class="pl-k">-></span>writeToFile(<span class="pl-s"><span class="pl-pds">"</span>fred.jpg<span class="pl-pds">"</span></span>, [<span class="pl-s"><span class="pl-pds">"</span>Q<span class="pl-pds">"</span></span> <span class="pl-k">=></span> <span class="pl-c1">90</span>]);</span></pre></div> |
110 | 111 |
|
111 | | -<p><code>php-vips</code> comes <a href="https://jcupitt.github.io/php-vips/docs/classes/Jcupitt.Vips.Image.html">with full API docs</a>. To regenerate these from your sources, type:</p> |
| 112 | +<p><code>php-vips</code> comes <a href="https://libvips.github.io/php-vips/docs/classes/Jcupitt.Vips.Image.html">with full API docs</a>. To regenerate these from your sources, type:</p> |
112 | 113 |
|
113 | 114 | <pre><code>$ vendor/bin/phpdoc |
114 | 115 | </code></pre> |
|
118 | 119 | <p>There are around 300 operations in the library, see the vips docs for an |
119 | 120 | introduction:</p> |
120 | 121 |
|
121 | | -<p><a href="http://www.vips.ecs.soton.ac.uk/supported/current/doc/html/libvips/">http://www.vips.ecs.soton.ac.uk/supported/current/doc/html/libvips/</a></p> |
| 122 | +<p><a href="https://libvips.github.io/libvips">https://libvips.github.io/libvips</a></p> |
122 | 123 |
|
123 | 124 | <h3> |
124 | 125 | <a id="how-it-works" class="anchor" href="#how-it-works" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>How it works</h3> |
|
150 | 151 | </code></pre> |
151 | 152 |
|
152 | 153 | <footer class="site-footer"> |
153 | | - <span class="site-footer-owner"><a href="https://github.com/jcupitt/php-vips">php-vips</a> is maintained by <a href="https://github.com/jcupitt">jcupitt</a>.</span> |
| 154 | + <span class="site-footer-owner"><a href="https://github.com/libvips/php-vips">php-vips</a> is maintained by <a href="https://github.com/jcupitt">jcupitt</a>.</span> |
154 | 155 |
|
155 | 156 | <span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a> using the <a href="https://github.com/jasonlong/cayman-theme">Cayman theme</a> by <a href="https://twitter.com/jasonlong">Jason Long</a>.</span> |
156 | 157 | </footer> |
|
0 commit comments