Image resize issue in PHP - gd creates ugly resized images

前端 未结 5 585
旧时难觅i
旧时难觅i 2020-12-17 00:54

I am creating thumbnails of fixed height and width from my PHP script using the following function

/*creates thumbnail of required dimensions*/
function crea         


        
5条回答
  •  失恋的感觉
    2020-12-17 01:28

    You might also want to take a look at the Image_Transform PEAR package. It takes care of a lot of the low-level details for you and makes creating and maniuplating images painless. It also lets you use either GD or ImageMagick libraries. I've used it with great success on several projects.

提交回复
热议问题