wood burning stoves 2.0*
The moose likes Java Micro Edition and the fly likes Drawing images - mutable or immutable? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Drawing images - mutable or immutable?" Watch "Drawing images - mutable or immutable?" New topic
Author

Drawing images - mutable or immutable?

James Hodgkiss
Ranch Hand

Joined: Jan 22, 2004
Posts: 401
Does anyone know if it's considered better practice to convert mutable images to immutable before drawing to the canvas?

Thanks,
James
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

That really depends if you expect to need to change the image programmatically. In some cases, you don't have a choice, I believe if you resize an image it becomse immutable.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Drawing images - mutable or immutable?