Re: [GD-DEVEL] GD using 96 PPI as default image resolution
[email protected] ("/#!/JoePea") Fri, 9 Jun 2023 11:04:20 -0700
| Newsgroups | php.gd.devel |
|---|---|
| Message-ID | <CAKU1PAVOjyjJQAoKC-uBFZobQM0w_ZZ2ZXC94uMG3wZnhOmR7g@mail.gmail.com> |
--000000000000552c4305fdb633e5 Content-Type: text/plain; charset="UTF-8" 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 [email protected] <[email protected]> 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 > > --000000000000552c4305fdb633e5--