First implementation of the picture crop