Cropped screen capture from UI-View32
How I capture the map from the UI-View screen and process itBasic Screen Capture1. Graphics Format and Color Depth Setup
2. UI-Captioner Setup
3. Scheduler Setup
An alternative way to edit the schedule is to edit the file SCHEDULE.TXT in the UI-View32 directory with NOTEPAD (not WORD!). This way is easier for long paths and many items in the scheduler list. The file could look like this: E2 CAPTURE_MAP "c:\....\ui-view32\UI-WebServer\html\images\image_name.png" The default path for \....\ is \program files\peak systems\. Processing with IrfanViewIrfanView allows to process images in the background with command line parameters. In the help function of IrfanView you find the complete list of all available commands.
In order to do the above processing, I added a line to SCHEDULE.TXT which looks like this: E2 RUN "c:\program files\irfanview\i_view32.exe" "c:\....\ui-view32\UI-WebServer\html\images\map.png" /crop=(270,250,550,350) /jpgq=75 /convert=map2.jpg (this is all on one single line in SCHEDULE.TXT!) The above assumes that IrfanView is in the default directory. If it is not, the path has to be modified accordingly. If you want to time stamp the small map image, you do it the way described under (3) with UICAPTIONER. The default path for \....\ is \program files\peak systems\. Separate generation of a time stamp iconAfter having implemented all the above, I noticed that the image files sizes always doubled with the time stamping by UICAPTIONER. The color depth of the images after time stamping was always 24 bit per pixel. Therefore I decided to create a separate time stamp icon to be "glued" underneath the displayed image, either the small JPG at my front page or the full screen capture PNG. For this purpose I created a dummy PNG with IrfanView which has 155*20 pixels. I called it stamp.png and it is time stamped with UICAPTIONER immediately after generation of the screen capture PNG. In the UI-Captioner Setup I've choosen the font Arial size 10. This results in the following three lines in SCHEDULE.TXT: E2 CAPTURE_MAP "C:\....\ui-view32\UI-WebServer\html\images\map.png" The default path for \....\ is \program files\peak systems\. This is the final version which produces the two images and the time stamp icon you can see on my UI-WebServer. If you want to edit the Webserver with one of the standard HTML editors, you probably have to copy the files from the Special Pages folder to the HTML folder at first and to move them back after editing. If you have comments or questions, please drop me a line. 73 de Gerhard, F5VAG / DL7MW |
This page has been accessed 3546 times.
It was last modified 2008-Nov-26 22:39:10 UTC