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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ogrem at gmx dot de
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 17:01:34 2025 UTC