Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The ImageEPS function in TCPDF (6.0.004) is not fully implemented and the documentation states the following:</p> <pre><code>/** * Embed vector-based Adobe Illustrator (AI) or AI-compatible EPS files. * NOTE: EPS is not yet fully implemented, use the * setRasterizeVectorImages() method to enable/disable rasterization of * vector images using ImageMagick library. * ... */ public function ImageEps(...){/*...*/} </code></pre> <p>TCPDF (6.0.004) checks an eps meta-data for its creator. If the creator is Adobe Illustrator, a version check is made and if the version is above 8 an error is generated. Creators other than Adobe Illustrator are not checked and the function is allowed to continue. It does not seems like TCPDF parses the PS prolog and this is probably one reason why not all AI versions are supported. Here is what <a href="http://partners.adobe.com/public/developer/en/ps/PLRM.pdf" rel="nofollow">PostScript Language Reference</a> says about the prolog section:</p> <ul> <li>The prolog is a set of application-specific procedure definitions that an applica- tion may use in the execution of its script. It is included as the first part of every PostScript file generated by the application. It contains definitions that match the output functions of the application with the capabilities supported by the PostScript language.</li> </ul> <p>Since the prolog is not parsed, it is troublesome to interpret the file correctly.</p> <p>Inkscape (0.48.3.1 r9886) creates epses with cairo and no error will occur and the function will continue. TCPDF will partly interpret the eps, but since it does not output anything, the output is probably removed by some error handling. But that is just a guess.</p> <p>I had more success with exporting my eps to a svg with inkscape -D --file=filename.eps --export-plain-svg=filename.svg and using <code>ImageSVG</code> instead. Note: this function is not fully implemented either, so I can't guarantee that it will work. I have only tested a pretty basic eps.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload