0 files updated using DefaultScale

Started by jimbo, December 18, 2020, 05:32:13 PM

Previous topic - Next topic

jimbo

Hello! Using an anamorphic adaptor from Moondog on my iPhone 11, would love to process them in LR without needing to desqueeze them somewhere else. Tried the ol: exiftool -DefaultScale="4.0 3.0" * in the directory with the images, and I got:

    0 image files updated
1124 image files unchanged


So:

1) Your system type: Mac 10.15.7

2) The ExifTool version you are using (the output of the "exiftool -ver" command): 12.00

3) The specific command line you are using (or a sample script if having problems with the API):

exiftool -DefaultScale="4.0 3.0" *
exiftool -DefaultScale="4.0 3.0" "RAW_20201218_100822[1].dng"
exiftool -DefaultScale="4.0 3.0" RAW_20201218_100822_1.dng


The last one I changed the name of the image thinking the brackets were going to be a problem, no change

4) The console output from the command.
    0 image files updated
1124 image files unchanged



Some more things I tried:
exiftool -DefaultScale="4.0 3.0" "RAW_20201218_100822[1].dng" -v2
Writing SubIFD:DefaultScale
======== RAW_20201218_100822[1].dng
Rewriting RAW_20201218_100822[1].dng...
  Editing tags in: IFD0 SubIFD TIFF
  Creating tags in: IFD0 SubIFD TIFF
  FileType = DNG
  FileTypeExtension = DNG
  MIMEType = image/x-adobe-dng
  Rewriting IFD0
  Rewriting XMP
  Rewriting ExifIFD
  Rewriting MakerNoteApple
  Copying 64 image data blocks
Nothing changed in RAW_20201218_100822[1].dng
    0 image files updated
    1 image files unchanged



exiftool -a -s -validate -warning "RAW_20201218_100822[1].dng"
Validate                        : 2 Warnings (1 minor)
Warning                         : Non-standard format (undef) for IFD0 0x02bc ApplicationNotes
Warning                         : [minor] Undefined value for IFD0:NoiseReductionApplied


I tried with sudo. I had got this to work with photos from this same phone taken with a pervious version of iOS, and a previous OS (10.14) but no dice here. (I just pulled the command out of a history file)

When I run % exiftool -G1 -a "RAW_20201218_100822[1].dng" | grep DefaultScale I get zero rows (I scoured the output to make sure).

I'm sure I'm doing something very dumb here.

StarGeek

Odds are it's the same as this problem.  By default, exiftool would write it to the SubIFD but if your files don't have that, it won't be written.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

jimbo

Oh cool! glad to hear I'm not the only one. My searching foo was weak on this one.

Couple of questions that didn't seem to be answered in the other thread:

Is there a way to ask exiftool to _add_ the SubIFD?
Phil Harvey suggests to put it somewhere else, where would be a good place? Is there an example command for that?

Phil Harvey

#3
Quote from: jimbo on December 19, 2020, 09:41:48 AM
Is there a way to ask exiftool to _add_ the SubIFD?

No.

QuotePhil Harvey suggests to put it somewhere else, where would be a good place? Is there an example command for that?

It should go in the IFD of the image that it refers to.

- Phil

Edit: Fixed typo
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

jimbo

Thank you so much! I figured it out:


exiftool -IFD0:DefaultScale="1.333 1.0" "RAW_20201218_100822[1].dng" -v2
Writing IFD0:DefaultScale
======== RAW_20201218_100822[1].dng
Rewriting RAW_20201218_100822[1].dng...
  Editing tags in: IFD0 TIFF
  Creating tags in: IFD0 TIFF
  FileType = DNG
  FileTypeExtension = DNG
  MIMEType = image/x-adobe-dng
  Rewriting IFD0
  Rewriting XMP
  Rewriting ExifIFD
  Rewriting MakerNoteApple
    + IFD0:DefaultScale = '1.333 1.0'
  Copying 64 image data blocks
    1 image files updated


Couldn't have done it without y'alls help. I appreciate it!