Results 1 to 2 of 2

Thread: Thumbnail for a large picture

  1. #1

    Thread Starter
    Addicted Member thamizhinpan's Avatar
    Join Date
    Dec 2005
    Location
    TE
    Posts
    243

    Thumbnail for a large picture

    How can I made an thumbnail for a large picture with PHP?
    If above question or answer will help to you
    Don't forget to rate me
    தமிழ்இன்பன்

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Thumbnail for a large picture

    Use the imagecreate function to create a GD2 image resource, imagecreatefromX to load the original image, and imagecopyresized to resize and draw the resized image to the target resource that you created.

    If the image is a photo, you may wish to apply sharpening following the resize. You can use the imageconvolution function to apply a convolution matrix to effect the sharpening.
    Unsharp Mask for PHP

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width