Author Topic: Lightroom plugin cr2hdr v3.0 DEV (WIP)  (Read 763762 times)

kichetof

  • Contributor
  • Senior
  • *****
  • Posts: 469
  • Take a beer and enjoy it!
Re: Lightroom plugin cr2hdr v2.1
« Reply #100 on: March 28, 2014, 05:04:32 PM »
Maybe some LR function doesn't works on 10.7 but I don't know!

Glad to know it works on 10.9 ! :)

nanomad

  • Administrator
  • Hero Member
  • *****
  • Posts: 2918
  • All your websites are belong to us
Re: Lightroom plugin cr2hdr v2.1
« Reply #101 on: March 28, 2014, 06:39:20 PM »
Sorry if it is an old question or if you already stated it.
Are planning on relasing the source code under a free software license?
EOS 1100D | EOS 650 (No, I didn't forget the D) | Ye Olde Canon EF Lenses ('87): 50 f/1.8 - 28 f/2.8 - 70-210 f/4 | EF-S 18-55 f/3.5-5.6 | Metz 36 AF-5

kichetof

  • Contributor
  • Senior
  • *****
  • Posts: 469
  • Take a beer and enjoy it!
Re: Lightroom plugin cr2hdr v2.1
« Reply #102 on: March 28, 2014, 06:46:38 PM »
Are planning on relasing the source code under a free software license?

I don't have the time to check what I need to paste into the code to make it under free software. I need to found the part of GNU GPL to add it.

The code is on open source on bitbucket.

nanomad

  • Administrator
  • Hero Member
  • *****
  • Posts: 2918
  • All your websites are belong to us
Re: Lightroom plugin cr2hdr v2.1
« Reply #103 on: March 28, 2014, 06:51:29 PM »
That is good enough for me

You may or may not hear from me soon (good news)
EOS 1100D | EOS 650 (No, I didn't forget the D) | Ye Olde Canon EF Lenses ('87): 50 f/1.8 - 28 f/2.8 - 70-210 f/4 | EF-S 18-55 f/3.5-5.6 | Metz 36 AF-5

kichetof

  • Contributor
  • Senior
  • *****
  • Posts: 469
  • Take a beer and enjoy it!
Re: Lightroom plugin cr2hdr v2.1
« Reply #104 on: March 28, 2014, 07:16:33 PM »
Updated source with GNU GPL V2 license :) It was faster as I thought

mad.eos

  • Freshman
  • **
  • Posts: 63
Re: Lightroom plugin cr2hdr v2.1
« Reply #105 on: March 28, 2014, 09:19:21 PM »
This project is warping to lightspeed! :-D
Canon EOS 1100D w/ 18-55mm | ML Nightly Build Tester

nanomad

  • Administrator
  • Hero Member
  • *****
  • Posts: 2918
  • All your websites are belong to us
Re: Lightroom plugin cr2hdr v2.1
« Reply #106 on: March 29, 2014, 10:20:08 AM »
We call it a killer application. Better not waste the opportunity ;D
EOS 1100D | EOS 650 (No, I didn't forget the D) | Ye Olde Canon EF Lenses ('87): 50 f/1.8 - 28 f/2.8 - 70-210 f/4 | EF-S 18-55 f/3.5-5.6 | Metz 36 AF-5

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3190
Re: Lightroom plugin cr2hdr
« Reply #107 on: March 29, 2014, 01:36:39 PM »
can you add some helpful feaure?

i usually group my shoots into collections.
now when i run your export plugin, the image gets added to the gallery, but not to the collection the source image was in.

-> can you check in which galleries the source image was and add the .dng there too?

@kichetof:
ping :)


edit: just realized that it is being added, but not grouped as in the library view.
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: paypal@g3gg0.de
ONLY donate for things we have done, not for things you expect!

kichetof

  • Contributor
  • Senior
  • *****
  • Posts: 469
  • Take a beer and enjoy it!
Re: Lightroom plugin cr2hdr v2.1
« Reply #108 on: March 29, 2014, 04:20:51 PM »
Ouch! Effectively, the photo is stacked with the original in the library view, is added to the collection but not stacked with original.

I read the API Ref and the only function I found is LRCatalog:AddPhoto which I use to import and stack in library view.

But for the Collection view, I don't know how to group with original, I'll read again and again to see if there is a solution.

garry23

  • Contributor
  • Hero Member
  • *****
  • Posts: 2228
Re: Lightroom plugin cr2hdr v2.1
« Reply #109 on: April 01, 2014, 09:00:13 PM »
Kichetof

Sorry to bother you, but I being thick!

I have loaded the latest version 2.1, which is clearly stated in the LR plug-in manager window. Also the plug-in runs as expected.

But...for the life of me I can not find a sub-menu to additional settings.

When I run the plugin it goes and does its stuff straight away and there is nothing about settings in the plug-in manager window.

I'm running Windows 7 64bit mode, with the latest LR.

Hope you can help.

kichetof

  • Contributor
  • Senior
  • *****
  • Posts: 469
  • Take a beer and enjoy it!
Re: Lightroom plugin cr2hdr v2.1
« Reply #110 on: April 01, 2014, 10:56:02 PM »
Hi garry,

I think I know your "problem". It seems that you did a confusion.

The settings are available in the export window and not in the plugin manager window.

The window shortcut is: Ctrl + Maj + E
The mac shortcut is: Commande + Maj + E

I hope it solved your problem ;)

garry23

  • Contributor
  • Hero Member
  • *****
  • Posts: 2228
Re: Lightroom plugin cr2hdr v2.1
« Reply #111 on: April 02, 2014, 12:06:30 AM »
Kichetof

That was it!

Many thanks.

Cheers

Garry

lasfede

  • New to the forum
  • *
  • Posts: 20
Re: Lightroom plugin cr2hdr v2.1
« Reply #112 on: April 05, 2014, 09:52:28 AM »
Awesome!!!! Thank you so much!!!!

szDE

  • New to the forum
  • *
  • Posts: 12
Re: Lightroom plugin cr2hdr v2.1
« Reply #113 on: April 13, 2014, 08:13:24 PM »
Super-useful plugin! Thank you, kichetof.

If I may, I'd like to suggest some additional settings:
  • Multithreading (ie. Barracuda GUI).
  • Delete original (convert and erase).
  • Define command-line parameters (ie. --soft-film=x).
  • Define custom cr2hdr.exe files (ie. 20-bit variant).
  • Define presets (ie. standard, --soft-film=2, --soft-film=4, etc.).
  • Ability to skip confirmation box when using plugin on bunch of different files (jpegs and cr2 together). Just silently skip jpegs.

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: Lightroom plugin cr2hdr v2.1
« Reply #114 on: April 13, 2014, 08:36:41 PM »
For a GUI, it might be interesting to parse the command-line options from the help text and create widgets from that.

For example:

- simple boolean options (except maybe for debug ones): create a checkbox, e.g. --compress => [X] Compress (and as a tooltip, print the help text from the command-line; here, "Lossless DNG compression")

- the --no- options can be negated like in gcc. For example, the --no-fullres option: in the default configuration fullres is enabled, and you disable it with --no-fullres. In the --fast configuration (which turns it off) you can re-enable it with --fast --fullres (but keep all the other fast processing). So, in this case, a checkbox named Fullres and enabled by default might make sense.

- options with numeric arguments: those are identified by %d or %f (they can have as many parameters as there are wildcards).

kichetof

  • Contributor
  • Senior
  • *****
  • Posts: 469
  • Take a beer and enjoy it!
Re: Lightroom plugin cr2hdr v2.1
« Reply #115 on: April 13, 2014, 11:49:52 PM »
@szDE greats ideas!

  • Multithreading (ie. Barracuda GUI). For multithreading I don't know how to add it, but you can run multi export.
  • Delete original (convert and erase). Version 2.1 export to a temp folder and keep original after conversion, I don't want to make this decision but I can add an option

I add all this good ideas on my todo list :)
  • Define command-line parameters (ie. --soft-film=x).
  • Define custom cr2hdr.exe files (ie. 20-bit variant).
  • Define presets (ie. standard, --soft-film=2, --soft-film=4, etc.).
  • Ability to skip confirmation box when using plugin on bunch of different files (jpegs and cr2 together). Just silently skip jpegs.

For a GUI, it might be interesting to parse the command-line options from the help text and create widgets from that.

For example:

- simple boolean options (except maybe for debug ones): create a checkbox, e.g. --compress => [X] Compress (and as a tooltip, print the help text from the command-line; here, "Lossless DNG compression")

Excellent infos!
I'll add it for Easter or just after :)


Thanks for your feedback!

szDE

  • New to the forum
  • *
  • Posts: 12
Re: Lightroom plugin cr2hdr v2.1
« Reply #116 on: April 14, 2014, 11:50:53 AM »
kichetof,
  • Multithreading (ie. Barracuda GUI). For multithreading I don't know how to add it, but you can run multi export.

Barracuda GUI achieves multithreading by running multiple instances of cr2hdr simultaneously, in background. Perhaps, there's a way to do it the same way in your plugin?

  • Delete original (convert and erase). Version 2.1 export to a temp folder and keep original after conversion, I don't want to make this decision but I can add an option

It would be great to have the ability to make it optional in export preset. This way it would be possible to define multiple cr2hdr presets.

kichetof

  • Contributor
  • Senior
  • *****
  • Posts: 469
  • Take a beer and enjoy it!
Re: Lightroom plugin cr2hdr v2.1
« Reply #117 on: April 14, 2014, 10:21:53 PM »
Barracuda GUI achieves multithreading by running multiple instances of cr2hdr simultaneously, in background. Perhaps, there's a way to do it the same way in your plugin?

Ok ! You can run multiple instances from LR ;) Select 1 photo, export to cr2hdr, select 3 photos on the same time and export to cr2hdr, select 10 photos and export to cr2hdr on the same time, and you have 14 photos on export to cr2hdr on "parallel" with LR ;) (3 tasks on parallels, 1 with 1, 1 with 3 and 1 with 10)

It would be great to have the ability to make it optional in export preset. This way it would be possible to define multiple cr2hdr presets.

I add it on the todo with cr2hdr options :)

batman

  • New to the forum
  • *
  • Posts: 3
Re: Lightroom plugin cr2hdr v2.1
« Reply #118 on: April 17, 2014, 10:04:47 PM »
When converting dng files all metadata gets stripped, camera settings etc.  Everything works fine with cr2 files though!

I'm using:
Windows 8.1 x64
Lightroom 5.4
cr2hdr 2.1

kichetof

  • Contributor
  • Senior
  • *****
  • Posts: 469
  • Take a beer and enjoy it!
Re: Lightroom plugin cr2hdr v2.1
« Reply #119 on: April 20, 2014, 07:26:55 PM »
When converting dng files all metadata gets stripped, camera settings etc.  Everything works fine with cr2 files though!

doh ‽ I don't know why. Maybe dcraw bug with dng ? A1ex do you have an idea?

swinxx

  • Hero Member
  • *****
  • Posts: 606
Re: Lightroom plugin cr2hdr v2.1
« Reply #120 on: April 20, 2014, 09:58:31 PM »
Great plugin! Thx so much. That is absolutly useful!!

garry23

  • Contributor
  • Hero Member
  • *****
  • Posts: 2228
Re: Lightroom plugin cr2hdr v2.1
« Reply #121 on: April 21, 2014, 12:19:30 AM »
Following the example of kichetof with his Dual-ISO Lightroom Plugin, I have created a (near) seamless plug-in-like workflow for CeroNoice. The only limitation is that it is Windows based: sorry Mac users.

What I have done is create a .exe file to run CeroNoice, which can be used as an external editor in LR.

To set up the workflow, simply put the required files in a processing folder, ie CeroNoice.exe etc, together with my .exe, called CeroNoice Bracketing.exe.
Set up an external editor preset in Lightroom, with the following attributes:
1.   Export original (can be .cr2 or .dng);
2.   No file naming;
3.   Post processing = open in other application (ie point to CeroNoice Bracketing)

Finally, set up a ‘watched folder’ in LR, where the 32-bit processed .tif will be returned. The returned file will have the image name of the lightest orginal, with _32-bit appended.

Once set up, all you do is select, from darkest to lightest, the input images, export via the CeroNoice Bracketing preset and carry on working. In a few seconds the output file will appear in the LR watch folder (which I call 32-bit Procesing, for easy identification).

All working files, ie LR exports are deleted. You can move the 32-bit Tif or simply leave in the 32-bit Processing folder.

I have found LR handles the CeroNoice created Tifs well.

I am not going to fill up this post with more details, as I often sense not all are interested in such ‘specific stuff’. However, if there is enough interest I will willingly pass on my LR set up and .exe to anyone who wishes to use it, ie PM me or indicate your interest in this post.


kichetof

  • Contributor
  • Senior
  • *****
  • Posts: 469
  • Take a beer and enjoy it!
Re: Lightroom plugin cr2hdr v2.1
« Reply #122 on: April 21, 2014, 09:28:15 AM »
V2.2 BETA

I've added:
  • cr2hdr optional arguments
  • You can mute alerts from option (except fatal error)

On Mac the optional args works very well. Windows users please test!

Download cr2hdr 2.2 BETA and let me know if it works for you!


  • Delete original (convert and erase). Unfortunately, there is nothing on the SDK to do that
  • Define command-line parameters (ie. --soft-film=x). cr2hdr optional arguments done!
  • Define custom cr2hdr.exe files (ie. 20-bit variant). I'm waiting final version to add it
  • Ability to skip confirmation box when using plugin on bunch of different files (jpegs and cr2 together). Just silently skip jpegs. Done !

Happy Easter

Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 8890
Re: Lightroom plugin cr2hdr v2.1
« Reply #123 on: April 21, 2014, 09:54:41 AM »
MLFunctions.lua missing? Failure to add module ...

Ciao
Walter

kichetof

  • Contributor
  • Senior
  • *****
  • Posts: 469
  • Take a beer and enjoy it!
Re: Lightroom plugin cr2hdr v2.1
« Reply #124 on: April 21, 2014, 10:08:30 AM »
@Walter remove all the files and download this