snapshot(), reset() not working.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

snapshot(), reset() not working.

Diyer
has something changed with imaggeprocessor snapshot and reset. i use a
program with mouselistener and snapshot and reset. it works only till
version 1.38d. The next version i tried was 1.38j and it did not work. but
the undo operations work for standard draw operations.
Reply | Threaded
Open this post in threaded view
|

Re: snapshot(), reset() not working.

Michael Schmid
Hi Doray,

I had no such problems with my plugins. Version 1.38k changes the way  
how getPixelsCopy works, but according to your description that's not  
your problem.

The only change of ByteProcessor between 1.38c and 1.38j is using the  
same data for calculation and display under java 1.6, introduced in  
1.38h. FloatProcessor is unchanged between these versions (I don't  
have 1.38d).

This indicates that your problem is not due to a change of  
ImageProcessor snapshot and reset but has some other reason.


Michael
________________________________________________________________

On 7 Mar 2007, at 09:44, dorai iyer wrote:

> has something changed with imaggeprocessor snapshot and reset. i use a
> program with mouselistener and snapshot and reset. it works only till
> version 1.38d. The next version i tried was 1.38j and it did not  
> work. but
> the undo operations work for standard draw operations.
Reply | Threaded
Open this post in threaded view
|

Re: snapshot(), reset() not working.

Wayne Rasband
In reply to this post by Diyer
> has something changed with imaggeprocessor snapshot and reset.
> i use a program with mouselistener and snapshot and reset. it works
> only till version 1.38d. The next version i tried was 1.38j and it did
> not work. but the undo operations work for standard draw operations.

Starting with v1.38i, ImageJ no longer creates a snapshot (undo) buffer
for PlugInFilter plugins that return the NO_CHANGES flag.

-wayne