added basic implementation of the transformer for png images