Re: Paint Undo?
- From: "Ste (news)" <steve.DELETE@xxxxxxxxxxxxxxx>
- Date: Fri, 04 May 2007 13:39:13 +0100
In article <463b1262$0$21835$db0fefd9@xxxxxxxxxxxxxx>,
Rob Kendrick <nntp@xxxxxxxx> wrote:
You can do it quite memory efficiently, too. You don't need to store
the entire bitmap; only what has changed. Also, you can quite easily
reduce the undo granularity (say, to when the tool changes, rather than
when a pixel is modified) and still have a useful function that doesn't
rapidly gobble memory.
I'd bet that animated GIFs store differences between frames quite
efficiently which is much the same as you'd do for undo in Paint (with even
more scope for optimisation). You just need to keep some compressed info
about the diffs after each action. It's not rocket science and as Paint is
mostly only useful for icon-sized graphics, it probably wouldn't use up
enough memory for you to notice the undo buffering.
Steve
--
Steve Revill @ Home
Note: All opinions expressed herein are my own.
.
- References:
- Paint Undo?
- From: arthur
- Re: Paint Undo?
- From: Richard Porter
- Re: Paint Undo?
- From: Rob Kendrick
- Paint Undo?
- Prev by Date: Re: To Upgrade or Not. What's the difference?
- Next by Date: Re: Paint Undo?
- Previous by thread: Re: Paint Undo?
- Next by thread: Re: Paint Undo?
- Index(es):
Relevant Pages
|