Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - kichetof

#401
@szDE greats ideas!

Quote from: szDE on April 13, 2014, 08:13:24 PM

  • 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 :)
Quote from: szDE on April 13, 2014, 08:13:24 PM

  • 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.

Quote from: a1ex 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")

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


Thanks for your feedback!
#402
There're some problems with the latest update of Xcode 5.1

When I compile cr2hdr I encounter this error:


make cr2hdr
REBUILDING
[ README   ]   module_strings.h
[ gcc      ]   cr2hdr
clang: error: unknown argument: '-mno-ms-bitfields' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
make: *** [cr2hdr] Error 1


If I disable -mno-ms-bitfields on Makefile.cr2hdr, it works fine!

QuoteCR2HDR_CFLAGS=-m32 -mno-ms-bitfields -O2 -Wall -I$(SRC_DIR) -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing

I tried to bypass this error to set CFLAGS with CFLAGS=-Wunused-command-line-argument-hard-error-in-future and CFLAGS=Wno-error=-Wunused-command-line-argument-hard-error-in-future but nothing to do. Only remove the flag works for the moment

Some infos here, here and here
#403
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 ;)
#404
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.
#405
Updated source with GNU GPL V2 license :) It was faster as I thought
#406
Quote from: nanomad on March 28, 2014, 06:39:20 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.
#407
Maybe some LR function doesn't works on 10.7 but I don't know!

Glad to know it works on 10.9 ! :)
#408
Quote from: LazR on March 28, 2014, 03:18:49 PM
FYI - I pulled the cr2hdr exec from the package content of the cr2hdr gui app that works with my system and even that one gives me the same error when executing it in the Mac terminal.

uh ?! When you run outside LR it works, but in my plugin no.

Which command do you use into the terminal ?

could you run "ls -l" on the folder where cr2hdr for the plugin is. It's really strange
#409
The cr2hdr app on my plugin was build on my system (Mac 10.9.2) and maybe I'll have to enable something to be backward compatible.

I'll read how to build with backward compatibility. Thanks for your feedback
#410
uh?! I don't understand...

Quote from: LazR on March 28, 2014, 04:57:55 AM
2014-03-28 03:52:02 +0000, DEBUG   Command for cr2hdr: exec "/Lightroom Catalogs/Plugins/cr2hdr.lrplugin/bin/cr2hdr" "/Volumes/Photo Vault 1/Underwater Photos/2014 Photos/2014-03-27/ML/140327-092716-0001-dualiso.cr2" > "/Volumes/Photo Vault 1/Underwater Photos/2014 Photos/2014-03-27/ML/140327-092716-0001-dualiso.txt"

Could you try to run into a Terminal this command and let me know:

"/Lightroom Catalogs/Plugins/cr2hdr.lrplugin/bin/cr2hdr" "/Volumes/Photo Vault 1/Underwater Photos/2014 Photos/2014-03-27/ML/140327-092716-0001-dualiso.cr2"

(If quote failed, remove it)

Maybe there are some restriction in 10.7.5 but it's too old and my head doesn't remember...

When you launched cr2hdr into a terminal in my last request, do you use cr2hdr exec from my plugin or from another one ?
#411
So strange!

The plugin work well, but the execute command for cr2hdr doesn't works...

Could you uninstall the plugin, install this version and paste the output log (normally MLDualISO.txt into your home folder or documents folder). You can replace your username/name if you want but keep space if present.

I hope I'll solve your problem quickly!
#412
Hi LazR,

Could you try to run cr2hdr into a terminal a paste the output. Maybe I'll can determine what the problem is with that.
#413
V2.1 :)

Quote from: Danne on March 25, 2014, 05:06:59 PM
"With v2, you can't import into a subfolder. I can add a field to add a custom name to create a new subfolder on the top folder"

Hehe, I like the sound lf that

You can now!
#414
Yeah good news !!

Maybe we will be able to drive magic lantern :)
#415
V2.0.12 to download ;) Try and report me if it works (... or not :))

forget to update portuguese correction, 2.0.2 now up to date ;)
#416
Quote from: camagna on March 25, 2014, 06:25:49 PM
There must be something wrong. in LR (5.3, Mac 10.9.2) I get this errors on plugin loading:

Plug-in error log for plug-in at: /Users/xxxx/Library/Application Support/Adobe/Lightroom/Modules/cr2hdr.lrplugin

**** Error 1

An error occurred while attempting to run one of the plug-in's scripts.
Could not load toolkit script: MLFunctions

**** Error 2

Could not load the post-processing filter from this plug-in.
Could not load toolkit script: MLFunctions

Very strange ! I've the same configuration, I'll investigate why you have this error.

Quote from: mad.eos on March 26, 2014, 12:26:04 AM
What happened? I installed v2 now it creates to a temp folder but then it's not available! Creates the dng file but then when I try to develop "Folder could not be found" am I missing something? What am I doing wrong? My workflow is doomed! LOL

Switching back to 1.03! You're still the man Kich! With all this help, and your hard work, i'm sure this problem will be solved in no time!  ;D

The copy/move fail on windows, maybe you have this problem

------------------------------------------------------------------------------------------


Windows, windows, windows .......

I think I found why it's bug! my custom functions is not loaded... I need to found how to read it!


====================================================

Please try to replace MLExportServiceProvider.lua with this version. It works on my windows.. I really need a Windows VM at home ;)
#417
Quote from: tomuse on March 25, 2014, 09:04:18 PM
Could you try to replace MLExportServiceProvider.lua with this version : https://bitbucket.org/kichetof/lr_cr2hdr/raw/b92125f660783c6bfd4bd44b8debf9af15153e41/MLExportServiceProvider.lua

Yes after changing this lua a Lightroom error come "unable to move the file" because the import and the export folder are the same.

After trying the modified version, could you try this one https://bitbucket.org/kichetof/lr_cr2hdr/raw/9cfa2803f006fd17af6cb6731415a61fa014fe2c/MLExportServiceProvider.lua
and let me know ! I replaced move by copy


After copy this lua File i became a Error "unable to copy the file" the same like above same Import / Export folder

My Folder form the CR Files is on Volume G:\...\DUAL_ISO - DNG\ The Error come always on the Volume C:\

Okay thanks for the report! It's the move/copy functions that is problematic on windows only... always windows, always...


Quote from: Luiz Roberto dos Santos on March 25, 2014, 11:53:30 PM
Why export AdobeRGB? 0k, this is non-bayer, but why tag it?

Do you prefer sRGB or ProPhoto ? I think is the best profil for export to cr2hdr, but if you think it's not, tell me the best :)

Quote from: Luiz Roberto dos Santos on March 25, 2014, 11:53:30 PM
Anyway, I had some free time so I took the liberty to translate correctly to pt-br:
Note: the blue is the correct translation.

TranslatedStrings_br.txt
:)

Many thanks for your corrections! I'll add on the next stable version :)
#418
Quote from: Danne on March 25, 2014, 05:06:59 PM
"With v2, you can't import into a subfolder. I can add a field to add a custom name to create a new subfolder on the top folder"

Hehe, I like the sound lf that

Could you try this version on mac it'll works fine :) (not tested yet)

forget what I said. Not so simple
#419
Could you try to replace MLExportServiceProvider.lua with this version : https://bitbucket.org/kichetof/lr_cr2hdr/raw/b92125f660783c6bfd4bd44b8debf9af15153e41/MLExportServiceProvider.lua

and tell me if you receive an error message after conversion.
I forgot to parse move function to check if success to move the file. That's not solve the problem, only for identifying the crash

After trying the modified version, could you try this one https://bitbucket.org/kichetof/lr_cr2hdr/raw/9cfa2803f006fd17af6cb6731415a61fa014fe2c/MLExportServiceProvider.lua
and let me know ! I replaced move by copy
#420
Quote from: fotogemeinschaft_de on March 25, 2014, 03:15:42 PM
On my System (Windows 8.1; LR 5.2) the new version (2.0) doesn't open a window and doesn't export a file anymore. Before this new version it was ok.

If you right click on picture on click on cr2hdr, no windows open. To see the windows, you need to go to Export... and select cr2hdr ;) but it doesn't explain why you don't have the result file... maybe it's the same problem from tomuse.

Quote from: Danne on March 25, 2014, 03:18:28 PM
converting directly to a subfolder for instance named "ML". Maybe I,m missing something.

With v2, you can't import into a subfolder. I can add a field to add a custom name to create a new subfolder on the top folder ;)

Quote from: tomuse on March 25, 2014, 03:31:01 PM
Yes this is correct, after the conversation the DNG file is under the TEMP Folder in Lightroom, but the dng File will not be move in the original Folder. Under the Version 1.03 the workflow is running

So, the conversion work, but the move doesn't works (strange!) Do you have a file with the exactly same name of the output file ?

All your problem appears on Windows or Mac ?

Unfortunately, I don't have a Windows desktop under my hand now to try it. But I use LR function to check file and move file, I was hoping it would work out of the box
#421
Quote from: Danne on March 25, 2014, 02:24:19 PM
Nice one! Good work on being able to rename files.
I have one problem. When trying to export to a subfolder all I get is a copy from the original file, no conversion i being made as when I export to the same folder? This worked in former versions.
Thanks again for all your work on this.



It's really strange, why you don't have ML Logo + the explanation text on your export windows ?

With the v2, I export cr2+xmp files to a temporary folder (not needed after conversion) and move the result file from temp folder to original folder. After all conversion, the temp folder is deleted!
#422
cr2hdr v2 available now :)

@g3gg0 I've added a new way to export, no need to remove cr2&xmp files ;) thanks for your try
#423
Quote from: g3gg0 on March 23, 2014, 04:25:19 PM
this causes to block even the first export.

trying "start /B cmd.exe /C del /F /Q" now - looks good ;)

Yeah so good ! Thanks

I found an other way to move ;)
#424
Quote from: g3gg0 on March 23, 2014, 01:29:04 AM
command line: C:\Windows\system32\cmd.exe  /K del   "D:\Users\g3gg0\Pictures\Kamera\2013_07_17\NO8A5896-dualiso.cr2" "D:\Users\g3gg0\Pictures\Kamera\2013_07_17\NO8A5896-dualiso.xmp"
current directory: C:\Program Files\Adobe\Adobe Photoshop Lightroom 4.4\

uh ‽ Why do you have /K on the command ‽

Could you try to change on line 28

local rm = MAC_ENV == true and 'exec rm ' or 'start /B del '

with

local rm = MAC_ENV == true and 'exec rm ' or 'start /B /WAIT del '

I don't have access on windows now to try to resolve it. I hope /WAIT solve that!

OR maybe... on windows I can't remove a lots a file with del (maybe one by one)
#425
Quote from: g3gg0 on March 22, 2014, 01:26:48 AM
-> can you check in which galleries the source image was and add the .dng there too?

Good idea ! I add it to the todo list!

I read the sdk to optimize the actual code and add all the new features after :)

Quote from: qqluqq on March 22, 2014, 03:40:44 PM
He seems to think half of my images aren't dual iso while they all are, is there a way to force him to do it anyway?

To force cr2hdr, you need to manually drag'n'drop to the exe cr2hdr and reimport to lightroom. If you obtain "The image does not appear to be dual iso" I can't do anything to solve it ;)