A lot of thought have been put into where Rawstudio stores its data about your image files. Our base philosophy is that you should be able to keep your images wherever you like. That means we set up these basic rules:
So to accommodate this, we most importantly choose that your settings are stored alongside your images, and not in a central database. This gives us the most flexibility in and satisfies most of the points above, but of course this still presents some challenges. I will go into specifics below.
This includes all of the sliders in the adjustment panel, crop, rotation, etc. This is always stored in the same folder as your images, or to be precise in a folder called “.rawstudio” inside your image folder. In this folder we store:
When you move your images around, the folder and its content should be moved along with it. As long as you do that your settings for the images will be retained.
This enables a feature that you may find very helpful. It you have a reasonable fast card reader, it will enable you to work on the images on your flash card. That means, you can put the Flash card in your reader, and look and work on the images there – no need to transfer them first. You can then pop the card right back into the camera, and keep shooting – and when you are done, you can still copy your images to your computer, and your settings will still be there (if you copied the settings folder along, of course).
Read-only media of course presents a different challenge. When Rawstudio discovers that it cannot create a folders for its settings, it will instead store your metadata in the “.rawstudio” in your home directory. More specific in a subfolder called “read-only-cache”, with each image being identified from an MD5 of 1KB of the centre of the image file.
So basically, if you move your photos, move the entire folder so the “.rawstudio” folder, or remember to copy it along if you are moving single images. Then your settings will be preserved.
Tagging is a bit different compared to image settings, since we want to be able to search through them. For tags we primarily employ a single database, that contain images, their complete path and their tags.
Of course this presents its fair bit of problems, so to be able to maintain the flexibility we set out for above. So to maintain this, we also store a backup of your tags alongside the images. This is stored in a single xml file, which will be read back whenever you open a directory. This will re-add your tags, if you moved the directory or open it on another computer.
When you search your tags we then sort out the files that doesn’t exists any longer, and simply skips them.
So if you for one reason or another have lost your tag database (btw, called library.db in home/user/.rawstudio), just re-open your image folders to re-add them. You can of course use the “Open Recursive” feature, though it may take a while depending on your image library size.
General settings for your application are stored the the gconf database. These are mostly UI settings, and pretty easy to set up on a new system, so losing them shouldn’t be a big deal.
Lens selection information and camera default settings are stored in the “.rawstudio” in your home folder. These can be transferred to a new system if these selections are very useful for you.