Re: GD default DPI

From: denisb (newdb_at_no-log.org)
Date: 02/01/05


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 !
'   `)   /
 |\_ =="


Relevant Pages

  • Re: Scanning photos for Powerpoint presentation
    ... I am not clear as to how I calculate the scanning parameters ... that is what dpi means there (pixels per inch). ... Before you resample, unless some kind of special case, crop the image to the ...
    (comp.periphs.scanners)
  • Re: Help Me I Am Stupid
    ... supplied with many digicams also can resample ... dpi is in the EXIF data of your picture but does not say anything about the ... Problem is if your file is from say a 640 x 480 pixel photo, ... pixels will be less visible, but the whole image will loose sharpness. ...
    (rec.photo.digital)
  • Re: dots per inch?
    ... Is this the same as 350 pixels per inch? ... I agree that DPI and PPI generally have two completely different ... Image and change the dimensions to 12x8"", the pixels per inch changes to ...
    (rec.photo.digital)
  • Re: keepaspectratio doesnt
    ... If the file tells me that the printing resolution is 320 dpi ... in pixels, my printer will give me a 1 inch square. ... suggested physical dimensions of that which has no natural physical ...
    (comp.text.tex)
  • Re: Picture Size Question
    ... Photoshop Elements shows size at 300 ppi. ... If the Resample check box is checked, then you are resampling, and you can ... drastically changes the image pixels in a non-reversible way. ... Then you CANNOT change the pixel dimensions. ...
    (rec.photo.digital)

Loading