| PHP » GoLang | login |
            register |
            
            about | 
| GoLang imageresolution
                                request it (538)
                            GoLang replacement for PHP's imageresolution
                            [edit | history] 
                             imageresolution(PHP 7 >= 7.2.0) imageresolution — Get or set the resolution of the image Description
   imageresolution() allows to set and get the resolution of
   an image in DPI (dots per inch). If none of the optional parameters is given,
   the current resolution is returned as indexed array. If only
    The resolution is only used as meta information when images are read from and written to formats supporting this kind of information (curently PNG and JPEG). It does not affect any drawing operations. The default resolution for new images is 96 DPI. Parameters
 Return Values
   When used as getter (that is without the optional parameters), it returns
    ExamplesExample #1 Setting and getting the resolution of an image 
<?phpThe above example will output: 
Array
(
    [0] => 200
    [1] => 200
)
Array
(
    [0] => 300
    [1] => 72
)
 | 
                    more
                     Most requested
 
                    more
                     Last requests
 |