Re: [GD-DEVEL] Possible to create images with resolution higher than 96?
| From: | Pierre Joye | Date: | Wed, 21 Jul 2010 09:54:09 +0000 |
| Subject: | Re: [GD-DEVEL] Possible to create images with resolution higher than 96? | ||
| References: | 1 | Groups: | php.gd.devel |
| Request: | Send a blank email to php-gd-devel+get-674@lists.php.net to get a copy of this message | ||
hi,
The image uses pixel, the resolution is only a meta information used
by the app loading them. For freetype it is something different, it
affects how the glyphs will be rendered. See the freetype docs for a
detailed explanation.
The meta information about the resolution is image format specific
(png, jpeg). The next gd vesion (2.1+) will have an API to change
these values.
On Wed, Jul 21, 2010 at 1:53 AM, Adam Peterson <apeterson@infassure.com> wrote:
> I've been skimming through the code and only see references to
> 'gdImageStringFTEx<file:///C:\DOCUME%7E1\APETER%7E1\LOCALS%7E1\Temp\Rar$EX02.156\index.html#gdImageStringFTEx>'
> which allows changing the default DPI resolution. Have I missed something else that allows this
> for the images being created?
>
> Thanks,
> Adam
>
>
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org