AnsweredAssumed Answered

Transform image to PDF?

Question asked by e-no91 on Jun 12, 2014
What I've done is I edited mimetypes-extension-map.xml:

<?xml version="1.0" encoding="UTF-8"?>
<mime-info>
<mime-type type="image/pdf">
   <_comment>My custom format which is built on top of PDF</_comment>
   <glob pattern="*.myformat" />
   <sub-class-of type="application/pdf" />
</mime-type>
</mime-info>


Its okay when I convert from text/doc/odt to pdf, but it returns ' Transaction silently rolled back because it has been marked as rollback-only' error.
What is the correct way to add mimetype image/pdf for transformation, or to have function convert from image to pdf??

Apart from that, Previewer does not work at all on pdf when I transform any text to pdf after I edited this xml file.

Outcomes