X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fmedia%2FPNGMetadataExtractor.php;h=d0517d7a56ccebdae25a02dabf935063b7d3dd8c;hb=9964ca1a390c446397dcd466916ffed356cdc3c9;hp=f4f29dd1fb2344cb7ed444f9a254d2a662055c0b;hpb=d716155c8b2d6e4a51a4110195cee7a1794846e8;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/media/PNGMetadataExtractor.php b/includes/media/PNGMetadataExtractor.php index f4f29dd1fb..d0517d7a56 100644 --- a/includes/media/PNGMetadataExtractor.php +++ b/includes/media/PNGMetadataExtractor.php @@ -47,7 +47,7 @@ class PNGMetadataExtractor { self::$pngSig = pack( "C8", 137, 80, 78, 71, 13, 10, 26, 10 ); self::$crcSize = 4; /* based on list at http://owl.phy.queensu.ca/~phil/exiftool/TagNames/PNG.html#TextualData - * and http://www.w3.org/TR/PNG/#11keywords + * and https://www.w3.org/TR/PNG/#11keywords */ self::$textChunks = [ 'xml:com.adobe.xmp' => 'xmp', @@ -123,7 +123,7 @@ class PNGMetadataExtractor { } $bitDepth = ord( substr( $buf, 8, 1 ) ); // Detect the color type in British English as per the spec - // http://www.w3.org/TR/PNG/#11IHDR + // https://www.w3.org/TR/PNG/#11IHDR switch ( ord( substr( $buf, 9, 1 ) ) ) { case 0: $colorType = 'greyscale';