473,406 Members | 2,377 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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 1524
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.javascript>, 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
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,...
1
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...
5
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...
0
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...
0
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 ...
1
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...
4
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...
2
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 -- ...
1
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...
2
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...

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.