public function loadPicture($image, $worker = NULL)
    {
        if($this->pictureLoader)
        {
            return $this->pictureLoader->loadPicture($image, $this, $worker);
        }

        return new Picture($image, $this, $worker, $this->fallbackImage);
    }
public function loadPicture($image, $worker = NULL)
    {
        if($this->pictureLoader)
        {
            return $this->pictureLoader->loadPicture($image, $this, $worker);
        }

        return new Picture($image, $this, $worker, $this->fallbackImage);
    }
public function loadPicture ( $ image , $ worker = NULL ) { if ( $ this -> pictureLoader ) { return $ this -> pictureLoader -> loadPicture ( $ image , $ this , $ worker ) ; } return new Picture ( $ image , $ this , $ worker , $ this -> fallbackImage ) ; }
Get picture instance for transformation performs by this picture generator.
@param string $image path to image file
@param string|null $worker Palette\Picture worker constant
@return Picture
Get picture instance for transformation performs by this picture generator .