473,549 Members | 2,719 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

2nd time:applet that allows a web-client to do a screen capture

Folks,

I aplogize for posting a second time. I am surprised at what little has
be said about this issue. Is there another list that I should post this
to?
---------------------------------------------------------------------------
Please give me some advice on the following situation:

I am attempting to develop a completely web-based set of tools that can

match the functionality of a set of Tcl/Tk programs that are used in
our control system environment. I believe that I can do everything that

the Tcl/Tk tools are doing except this one thing:

The Tcl/Tk app allows the user to pick two points on their screen
(which defines a rectangle) and then automatically grabs that potion of

the screen as an image and embeds it into the Tcl/Tk app as an object
which is then uploaded to a database when the user has submitted the
Tcl/Tk form.

I would like to have a web-page with a form that allows file-uploads
(this I can do), but I would like the page to include an embedded Java
applet (presumably) that allows the web-client to capture a portion of
the screen and automatically attach it to the html form which can then
be uploaded to a database when the client submits the form.

An important requirement of this project is that it not require the
user to install anything prior to visiting the web-page. The applet (or

whatever) can be installed but not a separate program. I really want
this entire function to be provided from the web-page. I can provide
more information if necessary, but I though that a broad statement of
the problem would allow more people to chime-in with their thoughts. I
am eager to find out how this might be possible.

Thanks in advance,

- revansx

Mar 22 '06 #1
3 1536
Did you check out

http://schmidt.devlib.org/java/save-screenshot.html ?

The java code is right there for creating the screenshot. It is then a
matter of taking the image, turning it into it's string value and
submitting to a server via POST. I don't know if you can put java
variables into HTML form data.

Frankly, I think using an applet for screenshots is a bit off-topic for
a javascript forum.

Mar 22 '06 #2
VK

re*****@cox.net wrote:
Folks,

I aplogize for posting a second time. I am surprised at what little has
be said about this issue. Is there another list that I should post this
to?
---------------------------------------------------------------------------
Please give me some advice on the following situation:

I am attempting to develop a completely web-based set of tools that can

match the functionality of a set of Tcl/Tk programs that are used in
our control system environment. I believe that I can do everything that

the Tcl/Tk tools are doing except this one thing:

The Tcl/Tk app allows the user to pick two points on their screen
(which defines a rectangle) and then automatically grabs that potion of

the screen as an image and embeds it into the Tcl/Tk app as an object
which is then uploaded to a database when the user has submitted the
Tcl/Tk form.


Nothing too much to discuss in <comp.lang.java script>, this is why
there are not too many answers. JavaScript doesn't allow low level
system access, so this project is not doable in JavaScript. You need to
get a screen snapshot (like on Print Screen press in Windows), paste it
in some graphics editor, select an area on the image, crop image to the
selection and save the result in some image format. This is a task for
a fully functional graphics editor on the level of Paint at least. I
know no programming language at all having a fully functional graphics
editor build-in. Even Java with its PixelGrabber is below the task. I
doubt very much that Tcl/Tk has it, but if it does (I did not work with
Tcl) then it's really cool and unusual.

You may possibly write your own ActiveX / Java plugin with extended
privileges (properly signed then) to achieve it.

You may redirect your question to <comp.lang.java .help> to start with.

Mar 22 '06 #3
Bob,

Thanks for your recomendation. True, it would provide the functionality
that I am looking for, however, it is restricted to creating an image
of what is in the browser frame only. The solution that I am looking
for MUST be able to capture any area of the clients entire desktop
(especially including screen content from other applications)

I will ask in the pure java forums. I am sorry if this question was
misplaced.
Take care all,

-rich

Mar 23 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

250
10255
by: Sugapablo | last post by:
Just out of curiosity, while checking on a site I was working on, I decided to throw a couple of the web's most popular URLs into the W3C Markup Validator. Out of microsoft.com, google.com, amazon.com, yahoo.com, aol.com, and mozilla.org, only Mozilla's site came back "Valid HTML". So if all these places, with their teams of web...
1
1351
by: Web Response Time | last post by:
I found a surprising problem. I sent a zero length's request in my asp.net program to another asp.net program on the local machine. until I received the zero length's response data, it only took me 32ms. while I sent the same request in my C# WinForm program to the other asp.net program on the same machine, it took me more than 100ms, the...
5
4286
by: Mike | last post by:
Is it possible to specify the target framework version in the Web.Config file? I'm planning on installing the Whidbey Beta2 framework soon and want to explicitly make sure I'm pointing to the 2003 framework for some existing web applications. Thanks, Mike
0
1903
by: jaawaad | last post by:
I'm creating webcharts control dynamically based on user input as to how many charts they would like to see. I'm running into problem as to how to set properties for those charts at run time so they behave and look all the same. Creating dynamic chart code looks something like this.... ...
0
5652
by: ankur | last post by:
WHEN I RUN THIS WEB APPLICATION ON Tomcat5.5.9 SERVER MY HttpChatApplet sccessfully Loaded from ChatDispatch but running on some another PC HttpChatApplet not loaded my Coad ChatDispatch.java
1
2055
by: Ron Davis | last post by:
I have recently discovered Python and like it quite a bit. I would like to use it on a new project I am starting. The project will gather data from several web services and present the collected data to browser users through a web server. So basically I need a full-time web server and a separate way to poll web services for their data....
4
3858
by: JF | last post by:
We have a problem with large data being transfered from our webservice. We would like a tool to monitor the activity of a specific webservice in II6.0 and how we can reduce the data being transmitted. tx
2
3506
by: Andrew Neiderer | last post by:
This is simple HTML, Java but I am really confused. I include the code since it is so small - ---------------------------------------------------------------------------- -- test.html -- <html> <head> <title>
1
2369
by: sheephead86 | last post by:
Hi, I'm pretty new to java, and I have a small problem involving drawing a rectangle on a java applet.Firstly this is not a plea for someone to help me with this peice of work, I just need pointing in the right direction. Ok the problem. I am creating a program that ask the user to input a height value, the program will then do a...
2
3440
by: ManidipSengupta | last post by:
Hi, a few (3) questions for the Java experts, and let me know if this is the right forum. It deals with 100% java code (reason for posting here) but manages a Web browser with Javascript. Thanks in advance for responding. I have made a stub of the codes for better understanding. Situation: I have a Java servlet (HelloWorldServlet) running on a...
0
7520
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7450
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7720
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7470
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7809
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6043
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5368
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3500
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1941
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.