Extension methods

Created extension methods for general image methods.