PHP imagecopyresampled()

Discussion in 'Web Design and Development' started by jordanste, Dec 22, 2008.

  1. jordanste macrumors member

    Joined:
    Feb 25, 2006
    #1
    is there a better alternative to the imagecopyresampled() function? i tried imagecopyresized() and it came out incredibly grainy and pixelated. imagecopyresampled() is alot better, however the resolution is still lacking. any ideas on another alternative?
     
  2. elppa macrumors 68040

    elppa

    Joined:
    Nov 26, 2003
    #2
    from php.net

    PHP:
    imagecopyresampled($image_p$image0000$new_width$new_height$width$height);

    // Output
    imagejpeg($image_pnull100);

    When you say imagejpeg / imagepng what are you specifying as the quality parameter?
     

Share This Page