![]() |
Picture Cropping Challenge
I hope someone can help me. I've read the posts on how to
programatically crop pictures in Excel through VBA. I would like to do this based on where I have image data in a picture making the following assumptions. 1. Picture is pre-loaded into in a shape range object. 2. Image itself is a picture surrounded by a lot of the same color. eg A multicolored ball surrounded by Green pixels. I would like to traverse the pixels from left to right, right to left, etc. As soon as green is not detected, I would like to signify this as the top, left, etc. boundary so that when I crop, only the image itself is isolated. Once I know these boundaries, I can use the cropping function in VBA to finish the job. Any help would be greatly appreciated! |
All times are GMT +1. The time now is 04:53 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com