Hi! On Wed, Feb 23, 2011 at 22:27, David Björkevik <[email protected]> wrote:
> Well, we my girlfriend and me just bought our first digital system camera, > and hope to do a lot of photography in the years to come. Being a nerd, I > immediately started to draw up the architecture for a photo storage and > sharing system. > > My idea is to use rawstudio as one component in this system. The user would > use the normal rawstudio GUI to crop and do adjustments. Then, the system > would be calling rawstudio as needed to create lower resolution images on > request from clients. > Sounds like quite a system :) Some kind of scripting/commandline system has been requested, but it is not at the top of the priority list. > I can elaborate on my ideas for the system, but it might be OT for the > list... > > I've noticed that rawstudio comes with a library; "librawstudio", would > that be useful for making my own batch mode exporter? I have not dug into > the code at all yet. > The library is mainly for supporting plugins, and it doesn't by itself provide a (simple) programming interface. The Rawstudio app is really pulling all the stuff together, so unless you want to code a lot for yourself, you are much better off modifying Rawstudio to suit your needs. Some pointers: Batch files are basicly xml files, which points to the image in the queue. The syntax is very simple: <rawstudio-batch-queue> <entry> <filename>/home/klaus/Pictures/adobe16.tif</filename> <snapshot>0</snapshot> </entry> ... </rawstudio-batch-queue> Find it in ".rawstudio/batch-queue.xml" in your home folder. And then in the source, replace "gtk_main();" with "rs_batch_process(rs->queue);" in the bottom of "src/gtk-interface.c". This will make rawstudio start up, process the batch and exit. Batch setting are stored in the gconf database in "apps/rawstudio", and entries starting with "batch". Also - remember to enjoy your new camera :) Regards, > David > Regards, Klaus Post http://www.klauspost.com
_______________________________________________ Rawstudio-users mailing list [email protected] http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-users
