Hybrid PDF support

• Dec 23, 2017 - 14:19

Hi,

I think that "export as hybrid PDF" option (PDF with the .mscz file attached to it) would be very hepful for musescore because:

a) when "import pdf", it can just grab the .mscz from the PDF directly and recover the partiture; and
b) if the original .mscz gets corrupted, you might "recover" your partiture from the PDF.

Sincerely,
Franz


Comments

In reply to by franzrogar

+1
nice idea!
Of course you can also attach files to PDFs with Acrobat or free software like pdftk. But the Hybrid PDF would make life easier and undependent from PDF-Readers to be able to open these attachments.
(With pdftk e.g. you can attach files to PDFs with this command:
pdftk music.pdf attach_files music.mscz output music_with_mscz.pdf
or attach a file to a specific page (indicated as comment):
pdftk music.pdf attach_files music.mscz to_page 1 output music_with_mscz.pdf

In reply to by musikai

It can also be done with litePDF [1] (last version of the library is opensource). They even provide with a source code example of attachments [2]. Being based on PoDoFo, my guess it's multi-OS (Linux, Windows, Mac at least).

[1] https://litepdf.sourceforge.io/
[2] https://litepdf.sourceforge.io/attachments.cpp.html

EDIT: you can also extract the files with the example they provide, so it could be called in the "import pdf" menu. Just suggestions ;-)

Do you still have an unanswered question? Please log in first to post your question.