Project

General

Profile

Feature #572

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

Added by Andreas Huggel about 13 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
metadata
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

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 (diff)
Added by Andreas Huggel almost 12 years ago

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

History

#1

Updated by Andreas Huggel almost 13 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 almost 12 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 over 11 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF