How to control "title" of converted PDF

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

Moderators: XnTriq, helmut, xnview

Haagen
Posts: 1
Joined: Mon Feb 19, 2024 12:44 pm

How to control "title" of converted PDF

Post by Haagen »

Hi there!

I am using Nconvert (Windows) to convert an existing PDF into a new PDF file to change its compression format, DPI, and color format. Works as a charm with this command:

nconvert.exe -o "%OutputFile%" -out pdf -c 1 -multi -dpi 300 -binary nodither -clean -rmeta -xall "%InputFile%"

However, the new PDF file's metadata field "title" is always populated with the file name of the output file. Is there a way to control the content of this field? In other words: I want the "title" field to be empty and no other metadata to be written as well.

Is there a way to accomplish this with Nconvert?

By the way, if I perform a similar operation in XnConvert (batch processing in XnView) no metadata is written to the new PDF file, as desired/expected.
NikVentura
Posts: 2
Joined: Sun Apr 28, 2024 8:29 pm

Re: How to control "title" of converted PDF

Post by NikVentura »

Привет!
а разве в nconvert можно из PDF получать PDF? или это в старых версиях было?. Мне в последней версии выдает ошибку ругается что PDF это не рисунок(((

DeepL translation:
Hi! Is it possible to get PDF from PDF in nconvert? Or is it in older versions? In the latest version it gives me an error that PDF is not a picture(((((
cday
XnThusiast
Posts: 4136
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: How to control "title" of converted PDF

Post by cday »

NikVentura wrote: Sun Apr 28, 2024 8:37 pm DeepL translation:
Is it possible to get PDF from PDF in nconvert? Or is it in older versions? In the latest version it gives me an error that PDF is not a picture(((((
Do you have Ghostscript installed, x32/x64 as NCnvert x32/x64?