Main Menu

Trailer example

Started by Archive, May 12, 2010, 08:53:57 AM

Previous topic - Next topic

Archive

[Originally posted by msbc on 2006-11-01 12:09:00-08]

Phil,

Can you provide an example of displaying the Canon DPP trailer in a CRW file and also how to delete it.

Thanks,

Mark

Archive

[Originally posted by exiftool on 2006-11-01 12:25:36-08]

Hi Mark,

I haven't yet added support for CanonDPP information in CRW images,
but I'll look into it.

Currently, trailers are supported only for JPEG and TIFF-based images
(like CR2).  For these, you would do this:

Code:
# a verbose hex dump will also dump the CanonDPP trailer
# (or use -v4 to dump more, or -v5 to dump the entire trailer):
exiftool -v3 image.cr2

# to delete the CanonDPP trailer:
exiftool -canondpp:all= image.cr2

- Phil

Archive

[Originally posted by exiftool on 2006-11-01 14:55:23-08]

Hi again,

Well, it turned out to be fairly simple to add trailer support for CRW images
once I learned how DPP adds the trailer to these files.  (I finally got
DPP to install properly so I could test this out, otherwise I couldn't
have done this -- there is a trick to adding trailers to CRW images since
the CRW itself has an important trailer that must come last in the file.)

I have just released 6.52 which now supports trailers in CRW images, so
the commands in my last post will now work for CRW too.

BTW, I took a quick look at where the crop information is stored in the CanonDPP
trailer, but haven't yet figured out the structure well enough  to be able to reliably
extract this information.  But this is on my list of things to do.

- Phil