add empty implementation of drawImage
merge, remove unnecessary resize method, add implementations for abstract methods