added new methods to imagecontainer.h