Re: GD default DPI
From: denisb (newdb_at_no-log.org)
Date: 02/01/05
- Next message: Reha Sterbin: "Re: php vars to flash nightmare"
- Previous message: Marcin Dobrucki: "Re: Custom Query Interface - HELP!"
- In reply to: MC: "Re: GD default DPI"
- Next in thread: Dani CS: "Re: GD default DPI"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 1 Feb 2005 15:51:54 +0100
"MC" <madcow@false> wrote:
> Well, so u're saying i need to enlarge the image to later on resample it to
> a smaller size so the DPI value is higher?
> But i start with "uploaded" images, so if if i enlarge that image to later
> resample won't the DPI value be lower again and/or won't the image have less
> good pixelations?
no no no.
the image uploaded has its own dimensions : xxx pixels by xxx pixels.
that's all.
I understand that you use gd to add text to this image.
if the image is large enough to be printed correctly, just add your text
on it (do it by envisaging for the text an adapted size) then
dimensions of the new image, created by gd, will not have changed.
but, the best you can do is to test yourself :
upload an image 250 px by 400 px (300dpi or 72dpi, we don't care) ;
do your job ;
download the new image ;
see what happens
-- @@@@@ E -00 comme on est very beaux dis ! ' `) / |\_ =="
- Next message: Reha Sterbin: "Re: php vars to flash nightmare"
- Previous message: Marcin Dobrucki: "Re: Custom Query Interface - HELP!"
- In reply to: MC: "Re: GD default DPI"
- Next in thread: Dani CS: "Re: GD default DPI"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|