Author Topic: Dumping *entire* raw image to HTML  (Read 1244 times)


  • Newbie
  • *
  • Posts: 2
Dumping *entire* raw image to HTML
« on: October 17, 2012, 06:52:39 PM »
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( 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

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 12811
    • ExifTool Home Page
Re: Dumping *entire* raw image to HTML
« Reply #1 on: October 17, 2012, 09:06:50 PM »
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, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).


  • Newbie
  • *
  • Posts: 2
Re: Dumping *entire* raw image to HTML
« Reply #2 on: October 18, 2012, 01:05:55 AM »