Results 1 to 4 of 4
  1. #1
    dkas is offline Member
    Join Date
    Dec 2010
    Posts
    11
    Rep Power
    0

    Default Time taken by createscreencapture

    Hi,
    I am using Robot class's createScreenCapture(rect) method. I have two different machines and the time taken by this method is 3 times of what it takes on another machine.

    I have checked and both machines have :
    - same java version
    -same display adapter, same display driver version
    -same system processor
    - same OS (Win 7 / 64 bit).
    - same java code on both machines

    What could be the reason for the difference in performance. If anyone has come across this problem or have any suggestions, would appreciate it.

    Thanks.

  2. #2
    NRitH is offline Senior Member
    Join Date
    Feb 2011
    Posts
    118
    Rep Power
    0

    Default

    Are both screens the same resolution and color depth?

  3. #3
    dkas is offline Member
    Join Date
    Dec 2010
    Posts
    11
    Rep Power
    0

    Default

    NRitH,
    Thanks for your response.
    Both have the same color depth. 32 bit true color.

    However, when I changed the color depth of slow machine to 16 bit, the performance dramatically increased !!

    Now, do you see any issues with changing the depth to 16 bit true color ?

    Thanks.

  4. #4
    NRitH is offline Senior Member
    Join Date
    Feb 2011
    Posts
    118
    Rep Power
    0

    Default

    Quote Originally Posted by dkas View Post
    NRitH,
    Thanks for your response.
    Both have the same color depth. 32 bit true color.

    However, when I changed the color depth of slow machine to 16 bit, the performance dramatically increased !!

    Now, do you see any issues with changing the depth to 16 bit true color ?
    That depends on the applications you run. For graphics-intensive apps like games, yes, 16-bit color won't be enough. Other than that, I have no idea.

Similar Threads

  1. Replies: 3
    Last Post: 08-23-2011, 01:46 PM
  2. time taken by robot.createScreenCapture
    By dkas in forum Advanced Java
    Replies: 1
    Last Post: 02-05-2011, 12:46 AM
  3. calculate time diff for particular time period
    By baktha.thalapathy in forum New To Java
    Replies: 2
    Last Post: 05-24-2010, 05:10 PM
  4. Class Time - represents time of day
    By verbazon in forum New To Java
    Replies: 1
    Last Post: 04-13-2009, 02:06 AM
  5. Replies: 21
    Last Post: 08-01-2008, 12:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •