user908 Posted April 19, 2014 Share Posted April 19, 2014 I have the below image(260x310) which I'd like to crop, so all the black areas are removed and the thumb returned.The thumb must be 130px (width) by 155px (height). How can I crop it using PHP's GD library?(Imagick library isn't an option).If there is something I can improve in my question, please let me know. Quote Link to comment https://forums.phpfreaks.com/topic/287888-image-cropping-with-php-gd/ Share on other sites More sharing options...
Ch0cu3r Posted April 19, 2014 Share Posted April 19, 2014 You'd use imagecopy Quote Link to comment https://forums.phpfreaks.com/topic/287888-image-cropping-with-php-gd/#findComment-1476691 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.