src/Manipulators/Size.php
public function applyDpr($width, $height, $dpr)
    {
        $width = $width * $dpr;
        $height = $height * $dpr;

        return [
            (int) $width,
            (int) $height,
        ];
    }
public function applyDpr($width, $height, $dpr)
    {
        $width = $width * $dpr;
        $height = $height * $dpr;

        return [
            (int) $width,
            (int) $height,
        ];
    }
public function applyDpr ( $ width , $ height , $ dpr ) { $ width = $ width * $ dpr ; $ height = $ height * $ dpr ; return [ ( int ) $ width , ( int ) $ height , ] ; }
Apply the device pixel ratio.
@param  integer   $width  The target image width.
@param  integer   $height The target image height.
@param  integer   $dpr    The device pixel ratio.
@return integer[] The modified width and height.
Apply the device pixel ratio .