java.awt -- when java outputs an image to my monitor (screen), where is the file that is output to the monitor card?
Posted
by
user1405870
on Stack Overflow
See other posts from Stack Overflow
or by user1405870
Published on 2012-11-09T22:45:30Z
Indexed on
2012/11/09
23:00 UTC
Read the original article
Hit count: 113
Suppose that I am drawing a set of images using java graphics objects. Suppose that I java is outputting these images to my monitor. Where is the file or files that are sent to the monitor card (the graphical representation files). How can I take this file and save it to disk, or how can I take this file and write it to an array, or how can I take these files and combine the results of their output (to the monitor) into a single file for saving? I don't want to use a screen shot feature, I want to be able to redirect (xor capture also) the output to the monitor to some sort of byte-stream. I note that monitors are much better than semaphores, when you are talking about display capabilities; I don't need a counter example.
I might not be asking the correct question. It might be that I want to capture the file while it is still in User Space, before it is put into 'Device Space'. I would like to try and capture the byte stream so that I can convert it to MPEG-4 format. I either need a streaming output from the MPEG-4 converter, coming from the streaming input, or else, I need to take static images at discrete times and convert the images.
What format will the output from User Space be in? What format will the Device Space output be in? Try to keep speculation to a minimum.
http://docs.oracle.com/javame/config/cdc/opt-pkgs/api/jsr927/index.html
I guess that Java has made a means of displaying AWT objects on a television screen.
Thank you.
Ryan Zoerner
© Stack Overflow or respective owner