I receive a lot of images, which have the object in the middle and are surrounded by big whitespace (border).
I need someone who can write me a PHP function which will automatically detect the plain border and crop it from such images.
See example images.
Input image: [url removed, login to view]
Output image: [url removed, login to view]
The function should work with these image formats:
- PNG (including Alpha-Channel borders), JPG, GIF, BMP
I have completed the assignment, the url is sent in PMB. I have been working with graphics and PHP for a number of years now, so this one did not take too much time for me. James Darren Ratcliff