Forgot Password
Pentax Camera Forums Home
 

Reply
Show Printable Version Search this Thread
4 Likes  
Sigma 8- 16 mm lens correction / metadata in PS & LR - especially at 8 mm
Posted By: beholder3, 02-21-2012, 06:07 AM

[deleted]

Last edited by beholder3; 08-11-2013 at 06:39 AM. Reason: [deleted]
Views: 13,796
04-21-2012, 11:44 AM   #16
Pentaxian




Join Date: Dec 2011
Posts: 1,154
Original Poster
[deleted]


Last edited by beholder3; 08-11-2013 at 07:34 AM. Reason: [deleted]
04-21-2012, 05:20 PM   #17
Site Supporter
cali92rs's Avatar

Join Date: May 2011
Location: Long Beach, CA
Posts: 3,197
Yes, I double checked and quotes are needed, at least on the command line. According to Phil Harvey, double quotes are required for windows, double or single will work with Mac.
Regarding the GUI, I would absolutely love to be able to use it, unfortunately it's for Windows only
Thanks again, you've made this lens a lot more enjoyable to me.
04-25-2012, 05:32 PM   #18
Pentaxian
Transit's Avatar

Join Date: Aug 2007
Location: Whanganui NZ
Photos: Gallery | Albums
Posts: 3,880
Great thread !
My 8-16 is in the post
Are LR and PS the only programs that correct at 8mm ?

Pete
05-17-2012, 12:54 PM   #19
Pentaxian




Join Date: Dec 2011
Posts: 1,154
Original Poster
[deleted]


Last edited by beholder3; 08-11-2013 at 07:32 AM. Reason: [deleted]
05-17-2012, 01:41 PM   #20
Pentaxian
Transit's Avatar

Join Date: Aug 2007
Location: Whanganui NZ
Photos: Gallery | Albums
Posts: 3,880
thanks !
all a moot point as the 8-16 is still in the post...I think they are making it especially
Pete
02-12-2013, 02:35 PM - 2 Likes   #21
dbh
Inactive Account




Join Date: Jan 2007
Location: Edmonton
Photos: Gallery
Posts: 404
This post inspired me to make a batch file which, since I have found it to be quite useful, I thought I'd share here.
Assuming you already have created/edited your .ExifTool_config file as described by the OP, you can put the following into a file called something like "Process_8mm.bat"

O:\Photography\Utils\EXIF\exiftool -progress -overwrite_original -k -ext dng -ext pef -r "-exif:FocalLength<copy2:FocalLength" "-exif:FocalLengthIn35mmFormat<Calc35mm" -if "not $FocalLength ge 10" "%1"

Now you can drag and drop either an individual file or a folder full of files onto this batch file. All the parameters are documented in Phil Harvey's Exiftool onboard help listing, but here's a rundown.
Only PEF and DNG files whose focal length value is not greater than or equal to 10 (meaning <10 or missing) will be affected, no backup will be created, and the output will be displayed for your confirmation.

Hope this helps someone.

Last edited by dbh; 02-12-2013 at 02:56 PM.
02-13-2013, 10:49 AM   #22
New Member




Join Date: Feb 2012
Posts: 14
QuoteOriginally posted by dbh Quote
This post inspired me to make a batch file which, since I have found it to be quite useful, I thought I'd share here.
Hope this helps someone.
Hello,
I'm very interested in your batch file, but I'm not able to let it work...Since I'm computer illiterate, could you please help me?

I followed these steps:
- put exiftool.exe into d:\Program Files\Utility
- created in the same directory .ExifTool_config file
- pasted into .ExifTool_config the following lines:

%Image::ExifTool::UserDefined = (
'Image::ExifTool::Composite' => {
Calc35mm => {
Require => 'copy2:FocalLength',
ValueConv => '$val * 1.5'},
},
);

- created sigma8.bat in d:\Program Files\Utility
- pasted in sigma8.bat your line:

d:\Program Files\Utility\exiftool -progress -overwrite_original -k -ext dng -ext pef -r "-exif:FocalLength<copy2:FocalLength" "-exif:FocalLengthIn35mmFormat<Calc35mm" -if "not $FocalLength ge 10" "%1"

- dropped a folder containing 22 DNG files (1 taken at 8mm.) over sigma8.bat
... nothing happens. the DNG taken at 8mm. has an empty field for focal length
What did I wrong?

QuoteQuote:
Assuming you already have created/edited your .ExifTool_config file as described by the OP,
Who/What is the OP?

Can I use your bat file in ExiftoolGui (much more user friendly)?

Thank you.

Last edited by samandal; 02-13-2013 at 11:11 AM.
02-13-2013, 11:44 AM   #23
dbh
Inactive Account




Join Date: Jan 2007
Location: Edmonton
Photos: Gallery
Posts: 404
QuoteOriginally posted by samandal Quote
Hello,
I'm very interested in your batch file, but I'm not able to let it work...Since I'm computer illiterate, could you please help me?

I followed these steps:
- put exiftool.exe into d:\Program Files\Utility
- created in the same directory .ExifTool_config file
- pasted into .ExifTool_config the following lines:

%Image::ExifTool::UserDefined = (
'Image::ExifTool::Composite' => {
Calc35mm => {
Require => 'copy2:FocalLength',
ValueConv => '$val * 1.5'},
},
);

- created sigma8.bat in d:\Program Files\Utility
- pasted in sigma8.bat your line:

d:\Program Files\Utility\exiftool -progress -overwrite_original -k -ext dng -ext pef -r "-exif:FocalLength<copy2:FocalLength" "-exif:FocalLengthIn35mmFormat<Calc35mm" -if "not $FocalLength ge 10" "%1"

- dropped a folder containing 22 DNG files (1 taken at 8mm.) over sigma8.bat
... nothing happens. the DNG taken at 8mm. has an empty field for focal length
What did I wrong?


Who/What is the OP?

Can I use your bat file in ExiftoolGui (much more user friendly)?

Thank you.
I haven't tried ExiftooleGui so can't advise you on that one.
I think the problem you are having with the batch file is because your path to the exiftool program has a space in it so you will need to put quotes around it like so:
"d:\Program Files\Utility\exiftool" -progress etc...

The OP is the Original Poster, Beholder3

02-13-2013, 03:04 PM   #24
New Member




Join Date: Feb 2012
Posts: 14
QuoteOriginally posted by dbh Quote
I think the problem you are having with the batch file is because your path to the exiftool program has a space in it so you will need to put quotes around it like so: "d:\Program Files\Utility\exiftool" -progress etc...
You're correct! Now it works.
Many thanks.
03-06-2013, 06:10 AM   #25
New Member




Join Date: Nov 2010
Posts: 6
Hello!

One question: Does this workaround also work after an update of Lightroom or Camera Raw or must I repeat the steps after each update?
Thanks.

Daniel
03-06-2013, 03:57 PM   #26
Pentaxian




Join Date: Dec 2011
Posts: 1,154
Original Poster
[deleted]

Last edited by beholder3; 08-12-2013 at 01:36 AM.
03-07-2013, 04:45 AM   #27
New Member




Join Date: Nov 2010
Posts: 6
Thank you for this information!
Unfortunately my workaround donīt work: Changing metadata with exiftool and the .bat works. After I have reimported the pictures into Lightroom I actualize the metadata an the right focal length is displayed.
But when I want to start the lens correction it doesnīt anything happen (with pictures <10mm). With pictures >10mm the lens correction is working fine...
Does anyone know what I have to change?
03-07-2013, 07:05 AM   #28
Site Supporter
cali92rs's Avatar

Join Date: May 2011
Location: Long Beach, CA
Posts: 3,197
Has anyone used this lens with the DxO module...apparently it is supported now? Do yoh still have to modify the exif data?
03-07-2013, 03:27 PM   #29
Pentaxian




Join Date: Dec 2011
Posts: 1,154
Original Poster
[deleted]

Last edited by beholder3; 08-12-2013 at 01:36 AM.
03-07-2013, 06:02 PM   #30
Pentaxian
Digitalis's Avatar

Join Date: Mar 2009
Location: Adelaide.
Posts: 8,535
QuoteOriginally posted by bossa Quote
you don't seriously expect Pentax to help out a competitor do you
hehe that sounds like something Tom or Greg would come out with...
Reply

Bookmarks
  • Submit Thread to Facebook Facebook
  • Submit Thread to Twitter Twitter
  • Submit Thread to Digg Digg
Tags - Make this thread easier to find by adding keywords to it!
mm
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
More ??? About lens correction & anti-shake CDW Pentax K-5 5 06-08-2011 12:09 AM
Adjusting Lens descriptions in metadata lats Pentax SLR Lens Discussion 2 10-31-2010 11:16 PM
K-7 Hightlight Correction & Shadow Correction & Raw Christopher M.W.T Pentax DSLR Discussion 6 06-10-2010 03:32 PM
For Sale - Sold: Sigma EX DG 100-300mm/4 &amp; Metz 48 AF-1 Flash &amp; Adaptall P/KA w/ 28mm 2.5 lens OrenMc Sold Items 15 04-15-2010 03:30 PM
Lens Metadata in Lightroom Pentaxke Digital Processing, Software, and Printing 5 03-19-2008 09:14 PM



All times are GMT -7. The time now is 06:40 AM. | See also: NikonForums.com, part of our network of photo forums!
  • Red (Default)
  • Green
  • Gray
  • Dark
  • Dark Yellow
  • Dark Blue
  • Old Red
  • Old Green
  • Old Gray
  • Dial-Up Style
Hello! It's great to see you back on the forum! Have you considered joining the community?
register
Creating a FREE ACCOUNT takes under a minute, removes ads, and lets you post! [Dismiss]
Top