Feature #572

exiv2 tool: It should be possible to insert newlines in text strings.

Added by Andreas Huggel over 8 years ago. Updated about 7 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:metadata
Target version:0.20

Description

Some people want line breaks in their strings. While it shouldn't be a problem with the C++ API, it is apparently not possible to do this with the exiv2 command line tool.

Additional information:

http://uk.groups.yahoo.com/group/exiv2/message/1371
There was another similar request for this in JPEG comments once.

Associated revisions

Revision 2004
Added by Andreas Huggel over 7 years ago

#572: Escape special characters in the JPEG comment (using the new function by Leo Sutic.

History

#1 Updated by Andreas Huggel over 8 years ago

On Linux in a bash shell, this works:

ahuggel@mowgli> exiv2 -v -M 'set Exif.Image.Model Yet another fancy
> Olympus camera' IMAGE.JPG

i.e., just hitting return inside a quoted string (single or double
quotes) and continuing on the next line.

So the remaining questions are
  • how to do it in Windows
  • how to do it in a command file

#2 Updated by Andreas Huggel over 7 years ago

  • Status changed from New to Resolved
  • Target version set to 0.20
  • % Done changed from 0 to 100

Special characters incl. newlines and carriage returns can be escaped now.

#3 Updated by Andreas Huggel about 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux