Download the PHP package randomhost/webcamoverlay without Composer
On this page you can find all versions of the php package randomhost/webcamoverlay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download randomhost/webcamoverlay
More information about randomhost/webcamoverlay
Files in randomhost/webcamoverlay
Package webcamoverlay
Short Description Provides image overlay functionality for IP cam images.
License BSD-3-Clause
Homepage https://github.random-host.tv
Informations about the package webcamoverlay
randomhost/webcamoverlay
- 1. Purpose
- 2. Example
- 3. Usage
- 4. License
1. Purpose
This package was developed to compensate for the lack of image overlay capabilities of some less sophisticated IP cameras. It takes the original image as uploaded by the camera from the web server and uses the GD library to modify the image on the fly before displaying it to the website visitor.
Features:
- picture watermarking with configurable image positions
- text watermarking (original image "modified" date + freely configurable text)
- configurable timed overlay image ("downtime" picture)
- image scaling
2. Example
Original Image | Modified Image |
---|---|
3. Usage
A basic approach at using this package could look like this:
This will instantiate the class, set the name of the uploaded webcam image and just render it without any overlay.
Assuming that you named this file webcam.php
, you should now be able to
access your webcam image at https://example.com/webcam.php
A more detailed example can be found in src/www/index.php
.
4. License
See LICENSE.txt for full license details.