Dumping *entire* raw image to HTML

Started by solvingPuzzles, October 17, 2012, 06:52:39 PM

Previous topic - Next topic

solvingPuzzles

I'm using Exiftool to process/analyze some raw images. My images are in the Canon CR2 raw image format.

Here's an example raw image to work with: IMG_5524.CR2(http://dl.dropbox.com/u/35993/Raw_Images_10-15-12/IMG_5524.CR2). This is what the image looks like as a small JPEG:


I'm trying to use the -htmldump flag to output all of the raw image data to an HTML file.
    exiftool -htmldump IMG_5524.CR2 > IMG_5524.html

It looks like Exiftool is only outputing a very small chunk of the raw data to HTML. In the output HTML (IMG_5524.html), there are several lines like this: [snip 1046954 lines]. For example:


I tried using the -all:all flag, but I still got only a small subset of the data printed to HTML. How can I get Exiftool to dump the ENTIRE raw data to HTML?


A few other notes:

- Raw text is fine too; HTML isn't the only acceptable format. I just want real text as opposed to binary data.

- Motivation: From a big-picture perspective, I want to test some alternative methods for demosaicing and denoising raw images. Exiftool seems like an easy method for converting raw images from binary format to usable pixel values.

Phil Harvey

The verbosity level controls the amount of these large data blocks that is printed.  Add -v5 option to the output to write as much as possible (maybe too much! -- you will wind up with an HTML file with more than 1000000 lines, which will be very slow to generate and display in your browser).

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