modify the picture resolution

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Frédéric Vailleau

    modify the picture resolution

    Hi there,
    I tried to reduce the resolution of an image from 300dpi to 72dpi but I
    didn't succeed ...
    I can use the imagecopyresamp led() function to modify the width and height
    of my image but I can't modify the resolution.
    Any help ??
    TIA
    Fred


  • BKDotCom

    #2
    Re: modify the picture resolution

    I've never used the GD library, but on quick look, it doesn't appear to
    handle any file formats that maintain a "resolution ". There is no
    DPI... only dimensions: X pixels, by Y pixles. You can resize the
    image though.

    Comment

    • Kenneth Downs

      #3
      Re: modify the picture resolution

      Frédéric Vailleau wrote:
      [color=blue]
      > Hi there,
      > I tried to reduce the resolution of an image from 300dpi to 72dpi but I
      > didn't succeed ...
      > I can use the imagecopyresamp led() function to modify the width and height
      > of my image but I can't modify the resolution.
      > Any help ??
      > TIA
      > Fred[/color]

      if you are on linux, the 'convert' command is super-cool. do convert --help
      to see the options.
      --
      Kenneth Downs
      Secure Data Software, Inc.
      (Ken)nneth@(Sec )ure(Dat)a(.com )

      Comment

      Working...