On Sat, Jun 30, 2012 at 2:30 AM, Camilo Polymeris <[email protected]> wrote: > On Fri, Jun 29, 2012 at 8:32 AM, Fabian Kneißl <[email protected]> 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 >>>> files. >>> >>> 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 ? > > Yes, exactly. > > 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 [1] 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.
Just added the out-type (jpeg, png & tiff) and compression (defaults to 90) options. Was also thinking of a max-size option to specify maximal height or width of output image. Does that make sense? I shoot 10MP raws, so it is not much of an issue for me, but maybe if I had a 24MP or more camera, I would prefer them to be resized after development. > Regards, > Camilo _______________________________________________ Shotwell mailing list [email protected] http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell
