Add One More Function to Graphics

Please Post general technical questions here, like how to register, or install the plug-in

Add One More Function to Graphics

Postby Deacon » Tue Mar 16, 2010 2:38 pm

What isn't provided, as far as I can, is a way revert to the original image once changes have been applied. This is common to have an "undo" chain and it ought to be available here, otherwise users will be forever screwing up their images OR their clients.
Cheers,

Bart
Deacon
 
Posts: 1
Joined: Tue Mar 16, 2010 6:09 am

Re: Add One More Function to Graphics

Postby MonkeybreadSoftware » Tue Mar 16, 2010 2:49 pm

Well, how could we do that without you doing it?

You as the database developer can make your tables organized in the way that you save versions of images.
The plug-in has no way to store a backup.

I can suggest you organize your image table like this:

A string field for the filename, a container field for the image data and a number field for the version number.
Now if you show image named x, you go and pick the one with the highest version number.
If the user modifies an image, you create a new record and save the new image.
For an undo, you would delete the newest record.

Okay?
Maybe I have time to make a sample if needed.

Greetings
Christian
Over 30000 functions in 1400 classes in one plugin collection.
The Monkeybread Software Realbasic Plugins.
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

Watch our REALbasic podcast in iTunes or on our website.
MonkeybreadSoftware
 
Posts: 88
Joined: Wed Sep 19, 2007 9:51 am


Return to General Technical Questions

Who is online

Users browsing this forum: No registered users and 1 guest

cron