Kodak ProBack 645M copy TextualInfo Tags to exif tags

Started by Alex Matiash, August 01, 2017, 03:54:51 PM

Previous topic - Next topic

Phil Harvey

Quote from: Alex Matiash on August 04, 2017, 07:51:23 AM
I was unable to determine what exactly prevents CaptureOne from displaying tiff with metadata copied from raw, so I ended with manually copying necessary tags ("-Make<Make" and so on).
Obviously it is not the most elegant way, because command line is very long. I was googling the way to solve my task before my first post here, and during googling (I believe) I saw mention of some way to ask ExifTool to load tags list (or something like that) from file, and use it in command line. I mean something like exiftool -tagsfromfile "tags.txt" .... Is it true, or I forgot\misunderstood what I read?

You can put your command-line arguments in a txt file and use the -@ option to use it:

exiftool -@ my_args.txt ...

QuoteAlso - near tiffs named as source raws I have pano tiffs with name like img_N-img_N+K.tif. Could you please tell me how to attach metadata from img_N.raw to this pano?

exiftool -tagsfromfile %d/%5f.raw -ext tif DIR

QuoteP.S. Is it possible to write metadata to the end of file instead of start? It would drastically speed up process in case of heavy files.

No, sorry.  ExifTool always writes the metadata first.

- Phil
...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 ($).

Alex Matiash

Quote from: Phil Harvey on August 04, 2017, 08:03:21 AM
You can put your command-line arguments in a txt file and use the -@ option to use it:

exiftool -@ my_args.txt ...

Probably I'm doing something wrong, because it tells me
Warning: Invalid tag name 'makernotes:lens" "-make<make" "-model<model" "-software<software" "-datetimeoriginal<datetimeoriginal" "-exposuretime<exposuretime" "-fnumber<fnumber" "-exposureprogram<exposureprogram" "-iso<iso" -artist="alex matiash" -copyright="alex matiash" ' - d:/photos/2017/2017-07-21/4G8X9640.tif

in response to command exiftool.exe -@ args.txt "d:\photos\2017\2017-07-21\4G8X9640.tif"

I attached args.txt. It works when I use this string as command line arguments to the ExifTool, but does not when called via -@

StarGeek

Each arg needs to be on a separate line, see -@ docs.  Also, you don't need quotes in an arg file.  Try this

-overwrite_original
-tagsfromfile
%d%f.dcr
-focallength<makernotes:lens
-Make<Make
-Model<Model
-Software<Software
-DateTimeOriginal<DateTimeOriginal
-ExposureTime<ExposureTime
-FNumber<FNumber
-ExposureProgram<ExposureProgram
-ISO<ISO
-artist=Alex Matiash
-copyright=Alex Matiash
* 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).

Alex Matiash


Alex Matiash

Hi all, it's me again. And now I have the opposite problem: exifTool does not remove all metadata on "exiftool.exe -all= File". Actually:


C:\Program Files (x86)\Portable\ExifTool>exiftool.exe -all= 4H4J1127.tiff
Warning: [minor] Can't delete IFD0 from TIFF - 4H4J1127.tiff
    1 image files updated

C:\Program Files (x86)\Portable\ExifTool>exiftool.exe -s 4H4J1127.tiff
ExifToolVersion                 : 10.60
FileName                        : 4H4J1127.tiff
Directory                       : .
FileSize                        : 95 MB
FileModifyDate                  : 2017:10:20 12:39:12+03:00
FileAccessDate                  : 2017:10:20 12:39:12+03:00
FileCreateDate                  : 2017:10:20 12:38:01+03:00
FilePermissions                 : rw-rw-rw-
FileType                        : TIFF
FileTypeExtension               : tif
MIMEType                        : image/tiff
ExifByteOrder                   : Little-endian (Intel, II)
SubfileType                     : Full-resolution Image
ImageWidth                      : 4080
ImageHeight                     : 4080
BitsPerSample                   : 16 16 16
Compression                     : Uncompressed
PhotometricInterpretation       : RGB
ImageDescription                :
Make                            : Kodak
Model                           : ProBack645
StripOffsets                    : 364
Orientation                     : Unknown (9)
SamplesPerPixel                 : 3
RowsPerStrip                    : 4080
StripByteCounts                 : 99878400
MinSampleValue                  : 0
XResolution                     : 72
YResolution                     : 72
PlanarConfiguration             : Chunky
ResolutionUnit                  : None
Software                        : 3.4.0.MH.ADF
ModifyDate                      : 2017:10:16 13:31:03
Artist                          :
Copyright                       :
ImageSize                       : 4080x4080
Megapixels                      : 16.6

C:\Program Files (x86)\Portable\ExifTool>


It is not a problem for me, but it is for the CaptureOne, which is unable to open tiffs with this data inside. As far as I understand - it gets stuck on tag "Make" and following.
Unfortunately, I was unable to ask google correctly enough, so could anybody help me, please?

Hayo Baan

Exiftool did remove all metadata. The info you are seeing is not metadata but file information. This you can't remove or otherwise there wouldn't be a file. Run exiftool -g0:1 -a on your file and it will show you where the info is coming from. Looks like the file not opening in CaptureOne is related to something else. How did you create that tiff file?
Hayo Baan – Photography
Web: www.hayobaan.nl

Alex Matiash

QuoteExiftool did remove all metadata.
I'm not sure, here is a screenshot of the beginning of this file:

All metadata listed by -s are visible.
QuoteRun exiftool -g0:1 -a on your file and it will show you where the info is coming from.
C:\Program Files (x86)\Portable\ExifTool>exiftool -g0:1 -a 4H4J1127.tiff
---- ExifTool ----
ExifTool Version Number         : 10.60
---- File:System ----
File Name                       : 4H4J1127.tiff
Directory                       : .
File Size                       : 95 MB
File Modification Date/Time     : 2017:10:20 12:39:12+03:00
File Access Date/Time           : 2017:10:20 12:39:12+03:00
File Creation Date/Time         : 2017:10:20 12:38:01+03:00
File Permissions                : rw-rw-rw-
---- File ----
File Type                       : TIFF
File Type Extension             : tif
MIME Type                       : image/tiff
Exif Byte Order                 : Little-endian (Intel, II)
---- EXIF:IFD0 ----
Subfile Type                    : Full-resolution Image
Image Width                     : 4080
Image Height                    : 4080
Bits Per Sample                 : 16 16 16
Compression                     : Uncompressed
Photometric Interpretation      : RGB
Image Description               :
Make                            : Kodak
Camera Model Name               : ProBack645
Strip Offsets                   : 364
Orientation                     : Unknown (9)
Samples Per Pixel               : 3
Rows Per Strip                  : 4080
Strip Byte Counts               : 99878400
Min Sample Value                : 0
X Resolution                    : 72
Y Resolution                    : 72
Planar Configuration            : Chunky
Resolution Unit                 : None
Software                        : 3.4.0.MH.ADF
Modify Date                     : 2017:10:16 13:31:03
Artist                          :
Copyright                       :
---- Composite ----
Image Size                      : 4080x4080
Megapixels                      : 16.6

Looks like this data is written to place where it should not be.
QuoteLooks like the file not opening in CaptureOne is related to something else.
No, it is the cause. Because the same file before copying metadata, or after copying but then opened and saved in Photoshop, is opened by C1 as it should. Copying all metadata with exifTool, and removing it also with exifTool leaves file without exif, but with some orphaned non-image data.
QuoteHow did you create that tiff file?
By copying all metadata from raw to tiff with exifTool. Keep in mind, that the raw is from really old camera, and the whole topic is about working around it's non-standardness.

Phil Harvey

See FAQ 7 for deleting all metadata from a TIFF image.

- Phil
...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 ($).

Alex Matiash