-
Notifications
You must be signed in to change notification settings - Fork 2
PDF Info set to default, transparent PNGs do not work #3
Copy link
Copy link
Open
Description
It seems the PDF has a default title and creator set which may be a mistake in the code on line 145:
content += _addInfo("Test", "Nolan")
I fixed it by just removing these two strings. Passing anything to _addInfo seems kind of useless since we pass these during the initial PDF creation at PDF.newPDF(), PDF.setTitle(), and PDF.setCreator() so this should just pull from the main variables these set:
func _addInfo():
var ret = str(len(_xref)) + " 0 obj\n<<\n"
if not _title.is_empty():
ret += "/Title (" + _title + ")\n"
if not _creator.is_empty():
ret += "/Creator (" + _creator + ")\n"
ret += ">>\nendobj\n"
return ret
Also, no matter what I do, I cannot get PNGs to have transparency which makes layering images over each other a mess. I'm not sure if this is just not possible or if there may be another bug somewhere.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels