Pascal, In message <1416939050.2260.39.ca...@obry.net> on Tue, 25 Nov 2014 19:10:50 +0100, Pascal Obry <pas...@obry.net> said:
pascal> > I'm noticing that your example has a specific paper size, A4. Are you pascal> > planning on giving the user the possibility for printing on pascal> > non-standard paper sizes? pascal> pascal> Not on the first implementation. I try to get it simple to have a chance pascal> to propose something will sound implementation and I hope other will pascal> step to enhance the module. Heh, I guess I'll make myself ready to hack at some point then ;-) pascal> > Also, since we're talking physical sizes (in whatever unit, let's keep pascal> > with cm for now), it might be nice to be able to give the page sizes pascal> > in cm and the printer's optimal dpi and have it figure the amount of pascal> > pixels needed and scale down/interpolate up (bicubic is the more pascal> > popular algorithm, is it not?) the image to fit. pascal> pascal> The size is computed by dt and the image is exported (with current pascal> export module) to fit the proper print area in the page. That didn't really answer my question... but since you currently will only have preset fixed sizes, the question is kind of moot (or a question for the future). pascal> > pascal> -- pascal> > pascal> -- print -- pascal> > pascal> -- pascal> > pascal> pascal> > pascal> This is the final print controls. We have: pascal> > pascal> pascal> > pascal> - the intent pascal> > pascal> - the printer profile pascal> > pascal> - the style pascal> > pascal> > Ah, yeah, the style... I remember asking this question about pascal> > exporting, so it applies here as well... pascal> > pascal> > When a style is applied and happens to use a module that's already pascal> > used when making the image, will the former replace the values of the pascal> > latter or will it add them? pascal> pascal> No, it will be added to it as it is done with the export module style. pascal> The style there is just added into the queue before going through the pascal> pipeline. well... last time I tried adding a style when exporting, the values of the modules in the style *replaced* the values from the image edit rather than adding to them... pascal> > An example, say I've noticed that whatever the calibration, the pascal> > printed image looks about one step darker than the image on my screen, pascal> > so I'd like to use a style when printing that uses the Exposure module pascal> > and has EV +1. Now, say that the image I manipulated already had an pascal> > EV correction (say -2, there are times when I want to darken the final pascal> > image), will the image end up being printed hugely overexposed (EV +1) pascal> > or will it be what I expected (EV -1, the sum of -2 and +1)? pascal> > Am I making my question clear? pascal> pascal> Yes, should work. Not unless the export module does things differently from when I tried last... pascal> > pascal> The [print] button using Gtk+ dialog. pascal> > pascal> pascal> > pascal> The print button will open the print dialog and will basiacally do pascal> > pascal> the following: pascal> > pascal> pascal> > pascal> - open the standard Gtk+ print dialog pascal> > pascal> here the user can select/change every option of the printer pascal> > pascal> (including the resolution) pascal> > pascal> pascal> > pascal> the user either Cancel or Print, if the later the following pascal> > pascal> is done: pascal> > pascal> pascal> > pascal> - export to 8bit or 16bit format (using export profile + intent pascal> > pascal> and possibly the selected style) pascal> > pascal> pascal> > pascal> - apply the printer profile if any pascal> > pascal> pascal> > pascal> - create the GtkPrintJob and send to printer pascal> > pascal> > I was going to ask if printing to file would be possible, but I guess pascal> > that's left to this print dialog, right? pascal> pascal> Not to file but to PDF if you have a PDF printer configured in CUPS. pascal> Should be enough, right? For preset sizes yeah... Ah well, I'll have to experiment. pascal> Anyway if you want to have a look: pascal> pascal> https://github.com/TurboGit/darktable/tree/print-module Thanks! Cheers, Richard -- Richard Levitte rich...@levitte.org http://richard.levitte.org/ "Life is a tremendous celebration - and I'm invited!" -- from a friend's blog, translated from Swedish ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ darktable-devel mailing list darktable-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/darktable-devel