php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16421 ImageCopyResampled() only with 72dpi
Submitted: 2002-04-04 04:20 UTC Modified: 2002-04-04 04:35 UTC
From: ogrem at gmx dot de Assigned:
Status: Not a bug Package: GD related
PHP Version: 4.1.2 OS: php 4.1.1
Private report: No CVE-ID: None
 [2002-04-04 04:20 UTC] ogrem at gmx dot de
When I create Images with the new function imagecopyresampled(), I always get jpeg-results with 72dpi. The pixel hight and width is correct, but instead of 30cm with 72 dpi I would like to get 7,1cm with 304dpi (which is technical the same). I think it should be possible to set the dpi-rate in this function.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-04 04:35 UTC] sander@php.net
It seems that GD doesn't suppport other resolutions than 72 dpi.
Not a PHP-problem.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 06 22:01:31 2024 UTC