#NEWLINE# def logical_and( image1 , image2 ) : #NEWLINE# #INDENT# 'Logical and between two images' #NEWLINE# image1 . load ( ) #NEWLINE# image2 . load ( ) #NEWLINE# return image1 . _new ( image1 . im . chop_and ( image1 . im ) )