I want to take continuos screenshots using robot and transfer it to the other computer.I am using socket for transfereing images.But it is very slow.So i want to reduce the quality and size of the images.So Like teamviewer while taking screenshots how can i change the theme of the system to basic.
Asked
Active
Viewed 91 times
0
-
So you want to resize an image and alter the theme of an operating system that you haven't named. This question is rather vague and confusing at the moment. Why is the transfer rate slow? Are you sure you are doing it right? There isn't any code to try to understand or anything. It's just a load of words... – mrswadge Nov 11 '13 at 12:36
-
Resize an image in java: http://www.mkyong.com/java/how-to-resize-an-image-in-java/ – mrswadge Nov 11 '13 at 12:38
-
i don't want to resize the image.Just want to change the color depth of the computer from which i am taking screenshots.(i.e while taking remote desktop using MSTSC, the client computer's color is changing.like wise..) – Raja Nov 11 '13 at 12:45
1 Answers
0
I assume you want to change the theme to basic to disable visual effects which in turn would result in a reduced color palette and more uniform colored areas of the screen, resulting in reduced sizes of the images.
Instead of changing the theme of the computer, I recomend you to try using low quality alone, by using (for example) a JPEG format, as explained here. Also, consider using the GIF format, which I think results in no distortion of the image as the JPEG, but just the palette reduction.
Also, you have an alternative library to manipulate images, Commons Imaging, which seems to be quite powerful, but I've never used it myself.

Community
- 1
- 1

Jorge Galvão
- 1,729
- 1
- 15
- 28