Results 1 to 4 of 4
- 03-28-2012, 12:01 AM #1
Member
- Join Date
- Jan 2009
- Posts
- 33
- Rep Power
- 0
getrgb method slowing down animation
My get RGB method is slowing down animation and its only being called once but its acting like its being called every time paintcomponent repaints. Re-reading using myImage = ImageIO.read(myFile) worked after myImage.getRGB(the whole pixel method not just one getRGB[]array).
- 03-28-2012, 01:40 AM #2
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,608
- Rep Power
- 5
Re: getrgb method slowing down animation
Is there a question buried in your post somewhere? I don't see it...please provide context (aka code) as to what the exact problem is, and asking a specific question would help you receive suggestions as to a solution to your problem.
-
Re: getrgb method slowing down animation
Don't listen to doWhile. He's only whining because he doesn't have a crystal ball like I do, and thus is unable to answer questions where code isn't present and questions are vague. Anyway, the magic crystal ball is telling me that your problem is on line 32 of your clearFoobars() method. You forgot a minus sign.
- 03-28-2012, 07:03 AM #4
Similar Threads
-
Slowing down and speeding up problems while running program
By N0th1ng18 in forum EclipseReplies: 0Last Post: 11-18-2011, 01:58 AM -
slowing the animation of LogoAnimator.java
By ladygagads in forum New To JavaReplies: 2Last Post: 08-26-2011, 11:02 AM -
slowing down playback of mp3
By paddala in forum Advanced JavaReplies: 0Last Post: 10-17-2010, 12:14 AM -
getRGB
By mortoneff in forum New To JavaReplies: 4Last Post: 09-17-2009, 11:23 AM -
Image class (getRGB)
By shaungoater in forum New To JavaReplies: 1Last Post: 03-07-2008, 09:47 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks