deleting every other line in an image

Jim Ault JimAultWins at yahoo.com
Mon Nov 12 20:54:34 EST 2007


On 11/12/07 4:50 PM, "Josh Mellicker" <josh at dvcreators.net> wrote:

> I wonder if there is a way to use some kind of crude  "nearest
> neighbor" resizing method where I can resize to 50%, that will not
> blend the lines but just throw away every other one.
Wilhelm Sanke has an amazing set of image filters (could be more than 100)
available in his stacks.
<http://www.sanke.org/Software/SeamlessTiles2.zip>

------- his post from Sept 2007 -----------------
Sub-button "import image real size" of the menu of btn "import image"
contains a reference to a deleted button "reset imported image unc" and
therefore triggers an error dialog.

Please, delete the last word "unc" (and the space before "unc") of the
wrong button name in the relevant 4 lines of the script or download the
corrected version 2 from
<http://www.sanke.org/Software/SeamlessTiles2.zip>

Sorry for the inconvenience. I dislike such hastily produced bugs,
although I seem to be in good company considering the number of new bugs
introduced especially with pre- or beta-releases of some programs.

"unc" stands for "uncompressed". I had tried to find out the speed
difference of retrieving an image from a custom property using
"compressed" vs. "uncompressed" imagedata. The result is that resetting
an image from uncompressed data is faster for image sizes < 1024,
whereas from >1024 on compressed data are faster.

Regards,

Wilhelm Sanke
<http://www.sanke.org/MetaMedia>
-------------------------------------------------
Jim Ault
Las Vegas



On 11/12/07 4:50 PM, "Josh Mellicker" <josh at dvcreators.net> wrote:

> 
> On Nov 12, 2007, at 4:32 PM, François Chaplais wrote:
> 
>> 
>> Le 13 nov. 07, à 01:05, Jim Ault a écrit :
>> 
>>> Why not use the Thumbnail Stack that Eric Chatonet has on his
>>> tutorial page?
>>> Just use 1/2 * the Height and get a smoother jpg since you will be
>>> sampling
>>> to get the smaller image.
>>> 
>> 
>> yes, but the downsizing is probably not performed by the
>> subsampling that Josh wanted (btw, Josh, do you have wavelet or sub-
>> band filtering in mind?)
> 
> Hi François,
> 
> Wow! I don't need those, but it is very impressive if you have
> implemented those algorithms!
> 
> What I am hoping to do is simply throw away every other line and
> construct a new image only consisting of every other line.
> 
> I wonder if there is a way to use some kind of crude  "nearest
> neighbor" resizing method where I can resize to 50%, that will not
> blend the lines but just throw away every other one.





More information about the use-livecode mailing list