EOF;
$xmpNugget = str_replace( "\r", '', $xmpNugget ); // Windows compat
- return array(
- array(
+ return [
+ [
'nonanimated.gif',
- array(
- 'comment' => array( 'GIF test file ⁕ Created with GIMP' ),
+ [
+ 'comment' => [ 'GIF test file ⁕ Created with GIMP' ],
'duration' => 0.1,
'frameCount' => 1,
'looped' => false,
'xmp' => '',
- )
- ),
- array(
+ 'width' => 45,
+ 'height' => 30,
+ ]
+ ],
+ [
'animated.gif',
- array(
- 'comment' => array( 'GIF test file . Created with GIMP' ),
+ [
+ 'comment' => [ 'GIF test file . Created with GIMP' ],
'duration' => 2.4,
'frameCount' => 4,
'looped' => true,
'xmp' => '',
- )
- ),
+ 'width' => 45,
+ 'height' => 30,
+ ]
+ ],
- array(
+ [
'animated-xmp.gif',
- array(
+ [
'xmp' => $xmpNugget,
'duration' => 2.4,
'frameCount' => 4,
'looped' => true,
- 'comment' => array( 'GIƒ·test·file' ),
- )
- ),
- );
+ 'comment' => [ 'GIƒ·test·file' ],
+ 'width' => 45,
+ 'height' => 30,
+ ]
+ ],
+ ];
}
}