PDF Metadata

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: XnTriq, helmut, xnview

Post Reply
Tsficl
Posts: 5
Joined: Tue Oct 10, 2017 2:43 am

PDF Metadata

Post by Tsficl »

Hi,

When I create a multipage PDF, nconvert writes the "Title" metadata as the filename. Is there a way to stop this?

Thanks.
cday
XnThusiast
Posts: 3976
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: PDF Metadata

Post by cday »

Tsficl wrote:When I create a multipage PDF, nconvert writes the "Title" metadata as the filename. Is there a way to stop this?
The following code options should work:

Code: Select all

-o filename       : Output filename
              Use # to specify position of numeric enumerator
              Use % to specify source filename
              Use $ to specify full source pathname
              Use $$ to specify source folder name
Can you create and post a minimal example that illustrate the issue you are having?

Note that if you run code in a batch file, some characters must be doubled to "escape" them, I'm not sure from memory whether it $ or % or both...
Tsficl
Posts: 5
Joined: Tue Oct 10, 2017 2:43 am

Re: PDF Metadata

Post by Tsficl »

I think my question was misunderstood. I was referring to the actual metadata in the PDF file. Say nconvert named the file "0.pdf", then 0.pdf will be the value in the "Title" field in Acrobat. The author, keyword etc fields remain blank. Is there a way to add/not add metadata to a PDF file created by nconvert?
cday
XnThusiast
Posts: 3976
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: PDF Metadata

Post by cday »

Tsficl wrote:I think my question was misunderstood. I was referring to the actual metadata in the PDF file. Say nconvert named the file "0.pdf", then 0.pdf will be the value in the "Title" field in Acrobat. The author, keyword etc fields remain blank. Is there a way to add/not add metadata to a PDF file created by nconvert?
Sorry I misunderstood your problem, possibly thinking of your earlier post referring to filenames.

I'm fairly sure NConvert has no provision for adding metadata to PDF files, unless you can see something I've missed.

There are, however, other utilities including some freeware utilities I believe that can do that, although I can't immediately suggest any myself.

Best to Google, or possibly XnTriq will come up with some suggestions late in the day or overnight!
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: PDF Metadata

Post by xnview »

Tsficl wrote:I think my question was misunderstood. I was referring to the actual metadata in the PDF file. Say nconvert named the file "0.pdf", then 0.pdf will be the value in the "Title" field in Acrobat. The author, keyword etc fields remain blank. Is there a way to add/not add metadata to a PDF file created by nconvert?
sorry but no metadata are saved in pdf
Pierre.
User avatar
XnTriq
Moderator & Librarian
Posts: 6336
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: PDF Metadata

Post by XnTriq »

BeCyPDFMetaEdit (freeware) allows you to change fields like Title in PDF files.
p145878.png
p145878.png (10.19 KiB) Viewed 1235 times
PS: 5 Best Free PDF Metadata Editor Software
Post Reply