[Shotwell] Shotwell-Rawstudio interoperability idea : integration back into Shotwell pipeline
cpolymeris at gmail.com
Fri Jun 29 23:30:23 PDT 2012
On Fri, Jun 29, 2012 at 8:32 AM, Fabian Kneißl <fabian at kneissl-web.net> wrote:
> Am 29.06.2012 13:17, schrieb Lucas B. Cohen:
>> On 2012.06.27 10:39, Camilo Polymeris wrote:
>>> I thought we could add a command line similar to this:
>>> rawstudio --input something.raw --output something_developed.jpeg
>>> This would fire up rawstudio in a "one image" mode, [...] plus
>>> automatically save
>>> the developed file on exit. Shotwell could then integrate this file
>>> into its pipeline, just like it does with something_modified.jpeg
>> Out of curiosity, juut to see if any of my very basic development
>> knowledge has any real world use, how do you envision Shotwell would
>> "integrate this file into its pipeline" ? Would it react upon seeing the
>> Rawstudio child process returning 0, then try to import the produced
>> file living in what was the second parameter passed to rawstudio
>> (something_developed.jpeg), which I imagine would have to be an absolute
>> path ?
Currently, when there is no camera development available or the user
selects "Shotwell" as their developer, the program uses libraw to do
the development and produces a jpeg. So, most of the infrastructure is
already in place. We (or rather, the shotwell devs :P) would basically
add a third option ("external developer" or something) and have
shotwell do what you describe.
> By the way: The raw developer software UFRaw  already supports this
> process. You can specify commandline arguments to where the developed file
> should be saved, e.g. "ufraw --out-type=jpeg --compression=90
> --output=something_developed.jpg something.raw". Then, the software opens,
> lets you edit the photo and writes the jpeg.
I didn't know that. Cool. This means adding this feature to shotwell
would be A Good Thing, even if rawstudio isn't compatible (yet).
The commandline I implemented for rawstudio currently only supports
the --output command, but this works exactly the same. If the patch is
accepted, I intend to add the other options, and will try to keep it
ufraw-compatible. Thanks for the pointer.
More information about the Shotwell