online cheap medications order generic bactrim price, and buy cheap online buy cheap discount lasix, and cheap pharmacy lipitor without rx, and online ordering accutane review, and order cheap how much acyclovir to kill, and buy cheapest synthroid order online, and pharmacy cheapest cheap baclofen pill, and order online directions for taking clomid, and online cheap medications cheap hydrochlorothiazide without rx, and cheap pharmacy purchase amoxil cod overnight delivery, and cheap pharmacy arimidex online overnight, and buy cheap online buy buy zithromax pill online, and order online online valtrex prescription in utah, and buy cheapest buy cheap discount online flagyl, and buy online zovirax (acyclovir) cheapest, and buy cheap how to buy prozac online without a rx, and cheap pharmacy cash on delivery paxil, and cheap pharmacy diflucan cod delivery next day, and purchase no prescription propecia cancer prevention, and generic medications neurontin and online overnight delivery, and purchase no prescription norvasc fedex shipping, and online ordering purchase doxycycline next day cod, and ordering online feminizing effects of premarin, and buy cheap online buspar and wellbutrin, and online cheap medications order overnight retin-a, and

Import EPS files in AlivePDF!

Here is an upcoming feature I added today to AlivePDF, which will allow you to use EPS assets (.ai or .eps) on pages. This is a very cool feature to embed vector content :)

A new method addEPSImage will be available which takes an EPS file and render it on the current page.

myPDF.addPage();
myPDF.addEPSImage ( new epsFile() as ByteArray, 5, 5 );

The first release will not handle everything, but complex artwork will be easily embeddable, here is an example of what I just generated (with an .ai file from Adobe Illustrator) with the forthcoming AlivePDF release ;)

Comments 28

  1. marc wrote:

    Thibault,

    Great work again. I was wondering if you had any request for a datagrid with the ability to color certain cell based on some conditions?
    Do you have any idea how I would implement this?

    Marc

    Posted 28 Oct 2009 at 1:28 am
  2. Eok Ngo wrote:

    Cool addition! Been waiting for some form of vector graphics support. Major Kudos!

    Posted 28 Oct 2009 at 2:23 am
  3. matej wrote:

    Looks great not just feture but also picture :) .

    Posted 28 Oct 2009 at 9:39 am
  4. cristi wrote:

    That’s a great feature… I wanted to insert a vector header and footer.

    Posted 28 Oct 2009 at 6:32 pm
  5. Wayne wrote:

    Hi Thibault,

    Fantastic work once again – I was doubtful of EPS integration – mainly as it doesn’t appear with FPDF (at least, not to my knowledge) but this another great step forward for AlivePDF!

    Just out of curiousity – will it handle images (jpegs/tiffs) pasted into vector shapes – i.e. routed out images?

    Posted 02 Nov 2009 at 11:59 am
  6. Tristan Smith wrote:

    This is great stuff! Is there (or will there) be the ability to add vector content straight from within Flash as well?

    Posted 05 Nov 2009 at 4:06 am
  7. Dan W wrote:

    Thibault,
    Thanks for a great tool!

    I see this function is in the beta but I can’t seem to get it to accept an EPS file. Is it not yet functioning? If it is how would I go about doing it?

    Dan

    Posted 25 Nov 2009 at 3:12 am
  8. Thibault Imbert wrote:

    Hi Dan,

    You mean that you are having an error message ?

    For the moment this method only accept EPS files under or equal to version 8.0. Try saving to this version with Illustrator, it should work.

    let me know,

    Thibault

    Posted 26 Nov 2009 at 12:50 am
  9. Dan W wrote:

    Thibault,
    I must have missed that it needed to be saved to version 8.0. It works beautifully now (well aside from an odd color issue on an element that was using CMYK color, but I can just adjust the Illustrator file to fix that.)

    Thanks for your help!
    Dan

    Posted 30 Nov 2009 at 10:00 am
  10. Marcel wrote:

    Hey man nice work!

    The most interesting thing for me is that its possible to add eps/ai or emf to the pdf document and to get a high quality print.

    SO I’m really curious about that feature.
    I checked the AlivePDF (0.1.5 RC) but it seems that it’s not added yet.

    DO you know when it’s gone be ready for a testing?

    thanks a lot!
    Marcel

    Posted 09 Feb 2010 at 2:49 pm
  11. Thibault Imbert wrote:

    Hi Marcel,

    Yes it is, check the addEPSImage API. Just make sure your EPS or AI file is saved under version 8.0 or less.

    let me know,

    Thibault

    Posted 09 Feb 2010 at 3:08 pm
  12. Marcel wrote:

    Hey Thibault,

    yeah thanks I found that but i got some strange thing.
    In the exported pdf it seemed that the red and the blue channel where interchanged.

    So i changed the code in the PDF.as under addEPSImage()

    line 3809
    to that and it worked.
    I just changed the red and the blue channel.

    if (cmd ==’Xa’ || cmd ==’XA’)
    {
    /*
    r = chunks.pop();
    g = chunks.pop();
    b = chunks.pop();
    */
    b = chunks.pop();
    g = chunks.pop();
    r = chunks.pop();

    could it be that you read out the r,g,b and push it to the stack in that order and pop it in the same order?

    But during testing you would realise it f.e. the tiger.ai example looks pretty odd if the channels are interchanged.

    Do you had similar issues in AlivePDF (0.1.5 RC)?

    cheers Marcel

    Posted 10 Feb 2010 at 10:57 am
  13. Thibault Imbert wrote:

    Hi Marcel,

    Great fix, thanks I noticed this one yesterday. I am happy you fixed it ;) It’s been fixed in the latest SVN drop.

    best,

    Thibault

    Posted 10 Feb 2010 at 12:01 pm
  14. Hank wrote:

    Hey,
    sounds great…unfortunately i am bloody beginner ..would be a pleasure to get some help: where can i find ‘new epsFile’ (this constructor doesn`t exist in the latest version) respectively how can i import an eps-file?
    THX

    Posted 18 Feb 2010 at 2:24 am
  15. Michael Richardson wrote:

    Hi there Thibault. Quite a few people are interested in taking swf vector objects on the _runtime_ stage and exporting that (as vector forms and images) into PDF: just what is seen/arranged on the stage as seen by the user. For many of us, this would be a tremendous boon! Can you illuminate? Thanks for your marvelous efforts here.

    Posted 21 Feb 2010 at 6:58 pm
  16. Christoph Ketzler wrote:

    Hi

    I have a EPS file saved out of Illustrator CS4 with campotibilty to Illustrator 8. But the resulting EPS file has Null bytes in it. Unfortunately readUTFBytes stops at the first null byte. Does someone know a solution to save the EPS without these null bytes.

    Many Thanks
    Christoph

    Posted 25 Feb 2010 at 2:22 pm
  17. Eskil Janson wrote:

    Thanks, Wonderful work!

    Eskil

    Posted 10 Mar 2010 at 12:56 pm
  18. Rich wrote:

    Hi

    I’m really keen to integrate AlivePDF into an application I’m working on. It would be great to be able to open an existing PDF as a template and overlay data but….

    I’m more than happy with building the template using EPS.

    Is there any chance that you could post a few lines showing how to include an EPS image.

    How do you get the EPS file as a byteArray?

    Kind Regards

    Rich

    PS – Amazing job :)

    Posted 12 Mar 2010 at 10:43 pm
  19. PR wrote:

    This is a great feature.. but I am unable to get my .eps file into the needed ByteArray. Does anybody have some sample code for that portion?

    Posted 17 Mar 2010 at 10:00 pm
  20. PR wrote:

    Answering my own question… (and noticed a few others had the same question)

    The full code to do this looks something like:

    //declare/embed the .eps file
    [Embed( source="../assets/myFile.eps", mimeType="application/octet-stream" )]
    private var myEPSFile:Class;

    //now, while building your PDF, convert to ByteArray
    var image:ByteArray = new myEPSFile() as ByteArray;

    //finally, add to PDF
    p.addEPSImage(image);

    This really works nicely – when I resize, things stay nice and crisp.

    Nice work on this! (and hopefully the above helps some others)

    Posted 17 Mar 2010 at 10:43 pm
  21. Thibaut M. wrote:

    Hi all !

    I work with the sofware Aptana Web. I use AIR with Ajax. I don’t really know how to use AlivePDF with that configuration. In that website : http://www.drybydesign.com/2010/02/26/adobe-air-alivepdf-without-flex/, the author give us a method to extract the library.swf from the SWC file. I’ve don’t know how he does that so I copy the files from his example.

    Now I can use AlivePDF in Javascript and I don’t know how to use addEPSImage() function… That function could be THE solution to the project that I work on.

    Thank you for your help !

    PS: I hope my english is understandable…

    Posted 07 Apr 2010 at 4:07 pm
  22. Chris wrote:

    Hi and thank you for the excellent software! I am running into an odd issue with vector support in v1.5 – I am able to embed .ai files but not .eps files. Using AI 8 for both – and the same routine: I instantiate the embedded Class as ByteArray and pass it to addEPSImage().

    I notice that when passing the .ai byte array to PDF.as line 3676 returns a very long string, but the .eps file only returns ÅÐÓÆ.

    Does that ring any bells or help determine what is happening?

    Thank you kindly,
    Chris

    Posted 20 Apr 2010 at 9:19 pm
  23. Chris wrote:

    Figured it out.
    Found this semi-related post discussing the tiff-preview in eps files and how to get rid of them: http://forums.wolfram.com/mathgroup/archive/2000/Feb/msg00119.html

    After deleting the binary, everything worked as expected.

    Thanks!
    Chris

    Posted 20 Apr 2010 at 9:44 pm
  24. Chris wrote:

    Thibault,
    I ran into an issue where an embedded, red asset displayed as blue. In searching for a cause, I noticed that you implemented a change in PDF.as on lines 3809 and 3811. When I revert that change, I get the result I am expecting – my red asset displays as red. Is there something I should be doing in my source file (version 8 .eps ) so that I do not need to toggle your code?

    I changed:
    r = chunks.pop();
    g = chunks.pop();
    b = chunks.pop();

    back to:
    b = chunks.pop();
    g = chunks.pop();
    r = chunks.pop();

    Let me know if there is anything I can do to help you understand my question, and thank you for an excellent product!
    Chris

    Posted 01 Sep 2010 at 7:49 pm
  25. sonofakrick wrote:

    I have found that when I am embedding the eps file, it was also returning a null value causing the app I am working to puke.

    I have CS4 and CS5 on a couple of machines here and thought that one would work over the other when saving to a legacy format. Still did not work. I changed the file to a native legacy Illustrator file format (.ai) and that did the trick. So, if anyone else is having an issue with the latest and greatest from Adobe saving back into the eps file format, give the .ai extension a try.

    Posted 18 Oct 2010 at 4:32 pm
  26. Jason wrote:

    I am having some issues with this and just can’t figure out what is wrong.

    I have created a file in both eps and ai formats. Both are saved to illustrator 8. Also I have outlined all text and and made sure it was an RGB file. I don’t know if that last step is necessary or not.

    Anyway when I try to load my .eps file I get an error that a term is undefined at PDF.as 3680.

    When I load the .ai file it runs the code with no errors but nothing loads on the page. When I open the generated PDF I get an error message that says:

    “An error exists on this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem.”

    Any Ideas what is going on? How do I get this to work? ai or eps doesn’t matter to me.

    Posted 26 Oct 2010 at 12:01 am
  27. Marcel wrote:

    Hi everybody,

    we’d like to use AlivePDF and its ‘addEPSImage’ functionality in one of our projects. Adding the EPS works fine, but we need to also rotate the EPS. Does anyone know how this could be accomplished?

    Thank you, greetings
    Marcel

    Posted 09 Nov 2010 at 4:53 pm
  28. Kenneth wrote:

    Hi,
    I was trying out the addEPSImage function. Somehow, I cannot load any of my eps files. I am sure they are in Illustrator 8. When I try with the file in the demo, it works fine. Am I missing anything??

    Thanks,
    Kenneth

    Posted 06 Aug 2011 at 2:27 am

Trackbacks & Pingbacks 1

  1. From eps files - StartTags.com on 26 Jan 2010 at 2:41 am

    [...] files (Encapsulated PostScript Files) are VECTOR files, not digitized embroidery files. It is theAlivePDF – Import EPS files in AlivePDF!Import EPS files in AlivePDF! Here is an upcoming feature I added today to AlivePDF, which will [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *