Re: [GD-DEVEL] GD using 96 PPI as default image resolution

From: Date: Fri, 09 Jun 2023 18:04:20 +0000
Subject: Re: [GD-DEVEL] GD using 96 PPI as default image resolution
References: 1  Groups: php.gd.devel 
Request: Send a blank email to php-gd-devel+get-789@lists.php.net to get a copy of this message
If you're resizing from one dimension to another dimension in pixels, the PPI doesn't affect the resize. You can take an image that is 100x100, and give it any PPI you want, and in the end it is still 100x100. In the internet (in a web browser), the pixel dimensions are what matters, PPI won't change anything. #!/JoePea On Fri, Jun 9, 2023, 9:07 AM andy2020@bajka.com <andy2020@bajka.com> wrote: > Hello, > > When resizing an image using GD, the default imageresolution PPI) is 96. > When resizing an image using Imagick, the default image resolution (PPI) is > 72. Would it be possible to change GD to use 72 as the default image > resoltion (PPI). I ask this because the default image resoltion (PPI) for > the internet is 72. > > Thank you. > -- > GD Devel Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.gd.devel (#789) next »