<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">%!PS-Adobe-3.1 EPSF-3.0</div><div class="">%%BoundingBox: 0 0 10 10</div><div class="">newpath</div><div class="">0 0 moveto</div><div class="">0 10 rlineto</div><div class="">10 0 rlineto</div><div class="">0 -10 rlineto</div><div class="">closepath</div><div class="">0.1 0.4 0.7 setrgbcolor</div><div class="">fill</div><div class=""><br class=""></div><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">On May 31, 2016, at 21:20, Carpii UK <<a href="mailto:carpii.uk@gmail.com" class="">carpii.uk@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Had a couple of hours spare today, so set about trying to see how I could generate an eps file from script (bash/PHP)<div class=""><br class=""></div><div class="">Saving a 10*10 flat color eps from Illustrator resulted in a 400k file. As Allan says, much of it will be boilerplate and error handling, but either way, its not practical to strip that down to a barebone vector eps.</div><div class=""><br class=""></div><div class="">Looking at the other software tools I had available, it seems many of them don't actually create a true vector image, but simply embed a rasterised bitmap inside an EPS wrapper (in which case it offers none of the advantages of EPS, as we may aswell revert to PNG).</div><div class=""><br class=""></div><div class="">Can anyone recommend some tools which are able to produce small eps files, but are still actually vectors?</div><div class=""><br class=""></div><div class="">Playing with ImageMagick at the moment, but Im not yet convinced thats not rasterising the end result also</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On 31 May 2016 at 15:56, Jacob Carlborg <span dir="ltr" class=""><<a href="mailto:doob@me.com" target="_blank" class="">doob@me.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2016-05-31 15:12, Allan Odgaard wrote:<br class="">
<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
You need to also close stdout/err, example:<br class="">
<br class="">
     pid = fork do<br class="">
       STDOUT.reopen(open('/dev/null', 'w'))<br class="">
       STDERR.reopen(open('/dev/null', 'w'))<br class="">
<br class="">
       sleep 5<br class="">
     end<br class="">
     Process.detach(pid)<br class="">
</blockquote>
<br class=""></span>
Ah, that worked. Thanks.<span class="HOEnZb"><font color="#888888" class=""><br class="">
<br class="">
-- <br class="">
/Jacob Carlborg</font></span><div class="HOEnZb"><div class="h5"><br class="">
<br class="">
<br class="">
_______________________________________________<br class="">
textmate mailing list<br class="">
<a href="mailto:textmate@lists.macromates.com" target="_blank" class="">textmate@lists.macromates.com</a><br class="">
<a href="http://lists.macromates.com/listinfo/textmate" rel="noreferrer" target="_blank" class="">http://lists.macromates.com/listinfo/textmate</a><br class="">
</div></div></blockquote></div><br class=""></div>
<br class="">_______________________________________________<br class="">textmate mailing list<br class=""><a href="mailto:textmate@lists.macromates.com" class="">textmate@lists.macromates.com</a><br class="">http://lists.macromates.com/listinfo/textmate</div></blockquote></div><br class=""></body></html>