Crop image based on pixel color

2005-10-29 Thread Roger . E . Eller
Imagine a jpg or png image (any format really) that has white space all around the image. What would be the most efficient way to sample the colors (quickly) and determine a rect that can be used to crop the image? Has this been done before? Got scripts? Kind regards, Roger Eller <[EMAIL PROTEC

Re: Crop image based on pixel color

2005-10-29 Thread Scott Rossi
Recently, [EMAIL PROTECTED] wrote: > Imagine a jpg or png image (any format really) that has white space all > around the image. What would be the most efficient way to sample the > colors (quickly) and determine a rect that can be used to crop the image? > Has this been done before? Got scripts?

Re: Crop image based on pixel color

2005-10-29 Thread Roger . E . Eller
A few moments ago, Scott Rossi <[EMAIL PROTECTED]> wrote: > Recently, [EMAIL PROTECTED] wrote: > >> Imagine a jpg or png image (any format really) that has white space all >> around the image. What would be the most efficient way to sample the >> colors (quickly) and determine a rect that can be

Re: Crop image based on pixel color

2005-10-29 Thread Chipp Walters
Hi Roger, You might want to check out "altMakeTransparent" and "imageTransparencyDemo", stacks I wrote a little while ago which would make a specified color rangers transparent in an image. just enter into the msg box: go URL "http://www.altuit.com/webs/altuit2/RunRev/ImageTrans.rev"; and go