I want crop white spaces and then resize image and save without those. For example http://stacktoheap.com/images/stackoverflow.png This image can be cropped around 50 pixels from top and bottom. Can I do it with PHP?
Asked
Active
Viewed 892 times
1
-
Do you already know where you need to crop? Detecting what to crop, and then cropping it, are two different problems. – Brad May 11 '14 at 19:22
-
In mainly I want to know how detecting these white space, that then to crop it. – serezha93 May 11 '14 at 19:28
-
1http://stackoverflow.com/questions/7063415/how-can-i-detect-borders-of-a-piece-of-paper-inside-of-an-image-and-crop-it-usin – Brad May 11 '14 at 19:30