public static function open(File $image)
    {
        $img = self::getLoader()->open($image);
        $img->setDestination($image);

        // extract the format
        $format = self::str($image->getKey())->explode('.')->last()->caseLower()->val();
        $img->setFormat($format);

        // fix image orientation (iPhone/Android issue)
        self::fixImageOrientation($image, $img);

        return $img;
    }