Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default 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!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connect a number to a picture bank and import that picture to exce Dennis Hedo Excel Discussion (Misc queries) 1 March 22nd 10 02:17 PM
cropping Tim Z. Excel Discussion (Misc queries) 3 April 24th 09 09:59 PM
Why is Print Preview cropping off data? Chris Lukowski Excel Discussion (Misc queries) 0 April 17th 07 09:06 PM
insert a picture in to a comment but picture not save on hard disk Pablo Excel Discussion (Misc queries) 0 February 21st 07 03:48 PM
Intelligent picture cropping onceuponatime Excel Programming 0 January 3rd 06 07:44 PM


All times are GMT +1. The time now is 01:59 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"