~ubuntu-branches/ubuntu/precise/exiv2/precise

« back to all changes in this revision

Viewing changes to samples/write2-test.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2010-07-09 19:43:59 UTC
  • mfrom: (1.1.12 upstream) (11.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100709194359-7w1hbf33l7d2rgmq
Tags: 0.20-2
Upload to unstable - cleared with debian-release

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
  Abstract : ExifData write unit tests for Exif data created from scratch
4
4
 
5
5
  File     : write2-test.cpp
6
 
  Version  : $Rev: 1937 $
 
6
  Version  : $Rev: 2156 $
7
7
  Author(s): Andreas Huggel (ahu) <ahuggel@gmx.net>
8
8
  History  : 26-Jun-04, ahu: created
9
9
 
140
140
    write(file, edMn8);
141
141
    print(file);
142
142
 
143
 
    std::cout <<"\n----- One Sony MakerNote tag\n";
 
143
    std::cout <<"\n----- One Sony1 MakerNote tag\n";
144
144
    Exiv2::ExifData edMn9;
145
145
    edMn9["Exif.Image.Make"]      = "SONY";
146
146
    edMn9["Exif.Image.Model"]     = "DSC-W7";
147
 
    edMn9["Exif.Sony.0x2000"] = "0 1 2 3 4 5";
 
147
    edMn9["Exif.Sony1.0x2000"] = "0 1 2 3 4 5";
148
148
    write(file, edMn9);
149
149
    print(file);
150
150