DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Request JPG Caption Metadata CR/LF not just LF  (Read 5,523 times)

Jeffrey Klute

  • Data Vision Services
  • Supporting Member
  • Joined in 2020
  • **
  • Posts: 10
Request JPG Caption Metadata CR/LF not just LF
« on: July 16, 2020, 11:11 AM »
Currently SC separates multiple items in the Caption/Description written to the metadata by LF characters only (x0A). That doesn't play well with all photo editing software, for example from Nikon's ViewNX 2:

20200716 054948 Screenshot.jpg

In the photo editing process it's one more step needed. I must go into the tags/metadata and replace the LF characters with CR/LF pairs, and then it looks like this:

20200716 055121 Screenshot.jpg

I request that the separate items that need to go in the metadata be separated by CR/LF pairs (x0D x0A) and not just LF (x0A). Hopefully this can be done one way or another, as it is additional work for every capture to properly separate these items.

BTW, I'm using Preferences:
Advanced Tweaking > Image File Format > Default Image File Format: JPG
The Basics > File Naming > New Screenshot File Template > Automatically generate comment/note for each capture:
  %filename%
  %datetime%
  %windowtitle%
  %scrapetext%

In addition, the "space comma space" sequence between the date and time should be replaced with just a space! Then it would look like this:

20200716 061404 Screenshot.jpg

Jesse, if these changes could be made then I would give this feature 5/5 stars!
Necessity and Desire are the Mother and Father of Invention

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Request JPG Caption Metadata CR/LF not just LF
« Reply #1 on: July 16, 2020, 05:51 PM »
Shouldn't be a problem.  Note you can also set your own custom date format.

Jeffrey Klute

  • Data Vision Services
  • Supporting Member
  • Joined in 2020
  • **
  • Posts: 10
Re: Request JPG Caption Metadata CR/LF not just LF
« Reply #2 on: July 16, 2020, 11:26 PM »
Shouldn't be a problem.  Note you can also set your own custom date format.
Yes, I know, but I don't know where you got the " , " thing, that makes no sense at all, and I think it might "rub users the wrong way". And there isn't a way to insert a CR character, which two of my photo-editing programs need to see.

I look forward to testing out a new version with these changes, and will report ASAP upon release.

Thanks!
Necessity and Desire are the Mother and Father of Invention

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Request JPG Caption Metadata CR/LF not just LF
« Reply #3 on: July 16, 2020, 11:45 PM »
I agree, a space before and after the comma does not make sense, must be a typo, i will check.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Request JPG Caption Metadata CR/LF not just LF
« Reply #4 on: July 29, 2020, 07:14 AM »
Can you try the new beta and see if the CRLF issue is fixed:
Download beta version (4.39.0 BETA) from here (or portable).

Jeffrey Klute

  • Data Vision Services
  • Supporting Member
  • Joined in 2020
  • **
  • Posts: 10
Re: Request JPG Caption Metadata CR/LF not just LF
« Reply #5 on: July 30, 2020, 11:17 AM »
Can you try the new beta and see if the CRLF issue is fixed:
Download beta version (4.39.0 BETA) from here (or portable).

Sure will, I'll let you know soon.
Necessity and Desire are the Mother and Father of Invention

Jeffrey Klute

  • Data Vision Services
  • Supporting Member
  • Joined in 2020
  • **
  • Posts: 10
Re: Request JPG Caption Metadata CR/LF not just LF
« Reply #6 on: July 30, 2020, 12:09 PM »
Yes, that works in Nikon's ViewNX 2, as well as continuing to work in Jeffrey's Image Metadata Viewer.

For these settings:
20200730 064656 Screenshot.jpg

ViewNX 2:
20200730 065921 Screenshot.jpg

Jeffrey Friedl's Image Metadata Viewer:
20200730 065739 Screenshot.jpg

BUT, for %datetime% we're still seeing " , " separator:
20200730 070645 Screenshot.jpg

Thank you very much for the improvement!
Necessity and Desire are the Mother and Father of Invention

Original address: https://www.donationcoder.com/forum/index.php?topic=50154.0