![]() |
|
[.NET] [VB.NET] Auto Crop Image - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] [VB.NET] Auto Crop Image (/showthread.php?tid=396874) |
[VB.NET] Auto Crop Image - codepoet - May 1, 2010 originally posted on dotnet-snippets.com Description: you can pass an image to and return a dynamically cropped version of the image without the excess space. Code Function Crop(ByVal p As Image) As ImageIf You Like this tutorial, please check out my other tutorials by clicking ==> here * - 6e756c6c - May 1, 2010 Managed image processing, ouch. Looks good though but just a heads up for anyone who uses this - I don't believe it was intended to quickly process multiple images. * - codepoet - May 1, 2010 its really not...but in the project i used it in, it was allot simple.... * - julian - May 1, 2010 It's originally from pscode.com, it was a pretty for a pretty specific task and isn't very versatile (it only works if you want to trim a white edge. You could speed it up considerably. The code is pretty weird. * - codepoet - May 1, 2010 (May 1, 2010 07:55 PM)julian Wrote: It's originally from pscode.com, it was a pretty for a pretty specific task and isn't very versatile (it only works if you want to trim a white edge. You could speed it up considerably. The code is pretty weird. NO!! 😠it was originally posted on my website the leached!!! get the Right * - DexHacker - May 1, 2010 crow407 is right, it was on his web site first, later it was leached and posted on pscode.com * - julian - May 2, 2010 I was just googling to see the scenario where it was used and commented in case any one else was wondering. The project was posted on pscode in 2003, with the comment " I needed to do this at work, where we had logos in our information system." You have your age down as 18 on the forums. So you wrote it for work, aged 11. Whatever, I really don't care. * - rodkzf - May 2, 2010 Well, you should at least give a credit or maybe a link. I don't really like copy and paste people, no offence through * - codepoet - May 2, 2010 (May 2, 2010 07:56 AM)julian Wrote: I was just googling to see the scenario where it was used and commented in case any one else was wondering. The project was posted on pscode in 2003, with the comment " I needed to do this at work, where we had logos in our information system." You have your age down as 18 on the forums. So you wrote it for work, aged 11. Whatever, I really don't care. hahahaha....what makes you think i give my right age at a HACKING forum? the more info you give the less safe you become! |