The IcamView web server has a low power processor, and is unable to manipulate the images at all. When you use the ActiveX or Java video viewer, the viewer manipulates the image for you (on the client PC).
If you access still frames, you have no such tool, and the frames come straight from the camera, warts and all. The most obvious issue is when images are flipped by the camera, and it expects the software to flip the images back.
I have created a Javascript file (webcam.js), which can post-process images from webcams. It is intended for people who don't know or want to know how to perform any Javascript programming.
All you need to do is use your favorite web editor, and include the Javascript, a webcam tag, and a normal img tag for backwards comatibility with non-Javascript capable browsers.
<script language="javascript" src="webcam.js"></script> <webcam src="http://www.trumpton.org.uk/webcam/garden0.jpg" graceful="yes" errsrc="http://www.trumpton.org.uk/webcam/offline-320x200.jpg" alt="Tomy Cam" showdate="yes" bgc="black" fgc="white" refresh="310" /> <noscript><img class="webcam" src='http://www.trumpton.org.uk/webcam/garden0.jpg' alt="Tomy Cam" /></noscript>
The Code all belongs in the <body> section of the web page.
All of the 'magic' happens in the <webcam> section, and this section has several parameters it can take. These are discussed in the following section:
| Version | Rotate | Flip | Title |
| HTML4 | Yes | Yes | No |
| HTML4, Mozilla | Yes | Yes | Yes |
| HTML4, Internet Explorer | Yes | Yes | No |
| HTML5 | Yes | Yes | Yes |
This is currently a work-in-progress, and these bugs will be fixed in the near future:
The source is made available for general use, and is covered by the GPL License with the specific requirement that to acknowledge the author, the following html is added to any page that uses the source, or a derrivative of the source:
| <p style="font-size: 40%">Webcam display source from <a href="http://www.trumpton.org.uk/webcamjs">trumpton</a></p> |
The source can be downloaded here
Webcam display source from trumpton and trumpton blog