+1 vote

Can one import a PDF file into a Godot app while it is running?
I need to import a PDF file, where every page of the PDF file can be handled in Godot app as a separate .PNG or .JPG

Also...

Can one export (to the user:// directory) a PDF file from a Godot app?
I need to create a PDF file out of several different .PNG or .JPG files and then export the finished PDF with my Godot app.

I ran a brief search already, nothing really came up...
I am guessing this is something that a custom-made plugin for Godot might do.
I don't know any C++

Does anyone has any insight into import/export of PDF files within a Godot app?

in Engine by (18 points)

2 Answers

+1 vote

Godot doesn't provide built-in support for importing or exporting PDFs. You will have to create a C++ module or call an external command that can convert from/to PDF to do this.

by (12,869 points)
0 votes

I'm not sure if this is any help (or if the module still works), but back 2016, some coded a C++ module to add PDF exporting ability to Godot. It's available here.

by (14 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.