Hello All,
While doing an assignment, I caused a simple program to slow to a crawl by replacing the calls to Toolkit.createImage() to ImageIO.read() and making all the Image references BufferedImage references.
Those where the only changes I made to the program, and it went from running quickly to barely responding. The program kept a list of the images and rendered each one many times, the way that a tiled map of a game would.
Does anyone have any idea why BufferedImage would be slower to render with Graphics.drawImage() than other images?
sciwizeh 62 Posting Pro in Training
kvprajapati 1,826 Posting Genius Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.