The AnfyCam applet reloads an image from a given web site specified by URL location every configurable number of seconds. The AnfyCam applet provides smooth fading from one image to another.
AnfyCam is distributed for evaluation with Webcam32 but is not part of the Webcam32 product itself. AnfyCam is part of the AnfyJava suite of Java classes and may be purchased for full use separately. Until registered, AnfyCam is fully functional but, if clicked, will direct a browser to the AnfyJava home page.
AnfyCam is a more sophisticated implementation of the basic JavaCam distributed freely with Webcam32. In addition to providing flicker free image refreshes, AnfyCam also enhances the Webcam32 image display by:
The AnfyCam applet must be loaded from the same machine as the source of the displayed target image. For more information and AnfyCam purchase instructions, please see Anfy Java Home Page.
To view online samples of live AnfyCams go to Anfy Cam preview page.
The AnfyCam package can be downloaded in Zip format here.
The following .class files must be uploaded to the webserver:
In addition, for V4 or V5 Internet Browsers, the anfycam.jar file should be uploaded for greater speed.
AnfyCam is configured by specifying Applet parameters. The following illustrates an example of use:
Insert the <APPLET archive="anfycam.jar" code="anfycam.class" width="260" height="243"> <param name="credits" value="Applet by Fabio Ciucci (www.anfyjava.com)"> <param name="regcode" value="NO"> ; Registration code (if you have it) <param name="reglink" value="NO"> ; URL link(optional) when clicked <param name="regnewframe" value="YES"> ; Reglink opened in new frame? <param name="regframename" value="_blank"> ; Name of new frame for reglink <param name="res" value="1"> ; resolution (1-8) <param name="interval" value="25"> ; Delay between frames reload <param name="url" value="mycam.jpg"> ; WebCam image location <param name="statusmsg" value="Cam applet"> ; Statusbar message <param name="fadespeed" value="8"> ; speed of fade (1-255) <param name="progressivefade" value="YES"> ; Progresive fading ("YES" or "NO") <param name="overimg" value="NO"> ; Optional image over applet <param name="overimgX" value="0"> ; Over image X offset <param name="overimgY" value="0"> ; Over image Y offset <param name="memdelay" value="1000"> ; Memory deallocation delay <param name="priority" value="3"> ; Task priority (1..10) <param name="MinSYNC" value="10"> ; Min. milliseconds/frame for sync Sorry, your browser doesn't support Java APPLET> Parameter Descriptions The following describes the parameters for this applet: Specify the applet and its size <APPLET archive="anfycam.jar" code="anfycam.class" width=260 height=243> Here, you specify the applet name and its width and height in pixels. Credit parameter <param name="credits" value="Applet by Fabio Ciucci (www.anfyjava.com)"> Attempting to change the credit parameter will disable the applet. Registration parameters <param name="regcode" value="NO"> In the regcode parameter, place the registration code you purchased from AnfyJava. If the code is correct and the applet is run from the registered domain name, "link" parameters will be enabled and the applet can be linked to an associated URL when it clicked with a mouse. <param name="reglink" value="NO"> URL link(optional) when clicked <param name="regnewframe" value="YES"> Reglink opened in new frame? If you set "regnewframe" to "YES", you can specify a specific frame location for the reglink: _blank : To load the link in a new blank unnamed browser window. "_self" : To load the link into the same window the applet occupies. _parent : To load the link into the immediate FRAMESET parent. "_top" : To load the link into the top body of the window. <param name="regframename" value="_blank"> Name of new frame for reglink You can also set a custom frame name, such as "myframe1". Resolution <param name="res" value="1"> Resolution parameter decides how bigger the actual image is displayed. For example, the value 3 gives three times as big image size as the actual image has. So, it works as a zooming parameter. Do not set too high value, unless you love terrible picture! Value 1-8. WebCam image settings <param name="url" value="mycam.jpg"> Webcam32 URL pointing to the JPEG image uploaded to the Webserver. The path can be either absolute or relative. Note: You must place the anfycam.class at the directory where WebCam image reside. <param name="interval" value="25"> Delay between frames reload Next, set the timing between frames in milliseconds. speed of fade (1-255) This parameter determines the image fade speed. The actual speed is given by 256/(the number entered in this field). We recommend a value 8, which gives 32 frames per second. <param name="progressivefade" value="YES"> Progresive fading ("YES" or "NO") You can optionally set progressive fade mode. This will fade the image pixels not at same time, but with some steps. <param name="statusmsg" value="Cam applet"> Statusbar message A status message is a message which appear at the bottom of a browser window, when you mouse-over the applet. Enter any message here. Note: this message is followed by the interval countdown for next frame. Overlay image An overlay image is an additional image than can be super-imposed over the Webcam32 generated image. For best results, a transparent GIF image should be used. <param name="overimg" value="NO"> Optional image over applet. A value of NO will result in no overlay image being used. If an overlay image is desired, this parameter should be changed to the URL of an image file on the same Webserver as the underlying Webcam32 image. <param name="overimgX" value="0"> The overlay image will be displayed without resize on top of the Webcam32 image. This parameter specifies the offset in pixels from the left edge of the image. <param name="overimgY" value="0"> The overlay image will be displayed without resize on top of the Webcam32 image. This parameter specifies the offset in pixels from the top edge of the image. Anfy Cam - Copyright (C) by Fabio Ciucci 1999
<APPLET archive="anfycam.jar" code="anfycam.class" width="260" height="243"> <param name="credits" value="Applet by Fabio Ciucci (www.anfyjava.com)"> <param name="regcode" value="NO"> ; Registration code (if you have it) <param name="reglink" value="NO"> ; URL link(optional) when clicked <param name="regnewframe" value="YES"> ; Reglink opened in new frame? <param name="regframename" value="_blank"> ; Name of new frame for reglink <param name="res" value="1"> ; resolution (1-8) <param name="interval" value="25"> ; Delay between frames reload <param name="url" value="mycam.jpg"> ; WebCam image location <param name="statusmsg" value="Cam applet"> ; Statusbar message <param name="fadespeed" value="8"> ; speed of fade (1-255) <param name="progressivefade" value="YES"> ; Progresive fading ("YES" or "NO") <param name="overimg" value="NO"> ; Optional image over applet <param name="overimgX" value="0"> ; Over image X offset <param name="overimgY" value="0"> ; Over image Y offset <param name="memdelay" value="1000"> ; Memory deallocation delay <param name="priority" value="3"> ; Task priority (1..10) <param name="MinSYNC" value="10"> ; Min. milliseconds/frame for sync Sorry, your browser doesn't support Java APPLET>
The following describes the parameters for this applet:
<APPLET archive="anfycam.jar" code="anfycam.class" width=260 height=243>
Here, you specify the applet name and its width and height in pixels.
<param name="credits" value="Applet by Fabio Ciucci (www.anfyjava.com)">
Attempting to change the credit parameter will disable the applet.
<param name="regcode" value="NO">
In the regcode parameter, place the registration code you purchased from AnfyJava. If the code is correct and the applet is run from the registered domain name, "link" parameters will be enabled and the applet can be linked to an associated URL when it clicked with a mouse.
<param name="reglink" value="NO">
URL link(optional) when clicked
<param name="regnewframe" value="YES">
Reglink opened in new frame?
If you set "regnewframe" to "YES", you can specify a specific frame location for the reglink:
_blank : To load the link in a new blank unnamed browser window. "_self" : To load the link into the same window the applet occupies. _parent : To load the link into the immediate FRAMESET parent. "_top" : To load the link into the top body of the window.
<param name="regframename" value="_blank">
Name of new frame for reglink
You can also set a custom frame name, such as "myframe1".
<param name="res" value="1">
Resolution parameter decides how bigger the actual image is displayed.
For example, the value 3 gives three times as big image size as the actual image has. So, it works as a zooming parameter. Do not set too high value, unless you love terrible picture! Value 1-8.
<param name="url" value="mycam.jpg">
Webcam32 URL pointing to the JPEG image uploaded to the Webserver. The path can be either absolute or relative.
Note: You must place the anfycam.class at the directory where WebCam image reside.
<param name="interval" value="25">
Delay between frames reload
Next, set the timing between frames in milliseconds.
speed of fade (1-255) This parameter determines the image fade speed. The actual speed is given by 256/(the number entered in this field). We recommend a value 8, which gives 32 frames per second. <param name="progressivefade" value="YES"> Progresive fading ("YES" or "NO") You can optionally set progressive fade mode. This will fade the image pixels not at same time, but with some steps. <param name="statusmsg" value="Cam applet"> Statusbar message A status message is a message which appear at the bottom of a browser window, when you mouse-over the applet. Enter any message here. Note: this message is followed by the interval countdown for next frame. Overlay image An overlay image is an additional image than can be super-imposed over the Webcam32 generated image. For best results, a transparent GIF image should be used. <param name="overimg" value="NO"> Optional image over applet. A value of NO will result in no overlay image being used. If an overlay image is desired, this parameter should be changed to the URL of an image file on the same Webserver as the underlying Webcam32 image. <param name="overimgX" value="0"> The overlay image will be displayed without resize on top of the Webcam32 image. This parameter specifies the offset in pixels from the left edge of the image. <param name="overimgY" value="0"> The overlay image will be displayed without resize on top of the Webcam32 image. This parameter specifies the offset in pixels from the top edge of the image. Anfy Cam - Copyright (C) by Fabio Ciucci 1999
speed of fade (1-255)
This parameter determines the image fade speed. The actual speed is given by 256/(the number entered in this field). We recommend a value 8, which gives 32 frames per second.
<param name="progressivefade" value="YES">
Progresive fading ("YES" or "NO")
You can optionally set progressive fade mode. This will fade the image pixels not at same time, but with some steps.
<param name="statusmsg" value="Cam applet">
Statusbar message
A status message is a message which appear at the bottom of a browser window, when you mouse-over the applet. Enter any message here.
Note:
this message is followed by the interval countdown for next frame.
An overlay image is an additional image than can be super-imposed over the Webcam32 generated image. For best results, a transparent GIF image should be used.
<param name="overimg" value="NO">
Optional image over applet. A value of NO will result in no overlay image being used. If an overlay image is desired, this parameter should be changed to the URL of an image file on the same Webserver as the underlying Webcam32 image.
<param name="overimgX" value="0">
The overlay image will be displayed without resize on top of the Webcam32 image. This parameter specifies the offset in pixels from the left edge of the image.
<param name="overimgY" value="0">
The overlay image will be displayed without resize on top of the Webcam32 image. This parameter specifies the offset in pixels from the top edge of the image.
Anfy Cam - Copyright (C) by Fabio Ciucci 1999