Problem with eps transparency, Illustrator CS4

Hi!
I truly hope you can help me with this because I really can't find the answer myself.
I need to save eps-versions of the files I make in the Illustrator.
I have made a script (using Javascript) to get the right settings for eps automatically and it has worked fine, but now that I upgraded to CS4 there's suddenly a problem. Script used to work so that any excess transparency around the image was cropped off. Now it remains there and causes problems later in the processes where these eps-files are used.
If I look at the eps-files in the Photoshop I can see that the size of the artboard remains there as transparency.
Here are the settings for saving eps in the script:
function getEPSOptions()
var epsSaveOpts = new EPSSaveOptions();
epsSaveOpts.cmykPostscript = true;
epsSaveOpts.embedAllFonts = true;
epsSaveOpts.includeDocumentThumbnails = false;
epsSaveOpts.preview = EPSPreview.None;
  return epsSaveOpts;
I noticed that I can crop the transparency off with this line:
saveDoc.cropBox = saveDoc.visibleBounds
But the problem here is that if the size of the illustration is larger than artboard this will actually make the size of the eps-file bigger.
I need a solution where the tranparency is cropped off, but the artboard area is never made larger by the script...
Any ideas? Anyone?

Heh ... I happened to write a function for exactly this just the other day. Not sure how this goes exactly with visible vs geometric bounds. Depending on exactly what you need, it might be problematic.
myDoc = app.activeDocument;
var docBounds = (function() {
myDoc.LeftPoint = myDoc.pageItems[0].left;
myDoc.RightPoint = myDoc.pageItems[0].left + myDoc.pageItems[0].width;
myDoc.TopPoint = myDoc.pageItems[0].top;
myDoc.BottomPoint = myDoc.pageItems[0].top - myDoc.pageItems[0].height;
for (i=0;i<myDoc.pageItems.length-1;i++) {
myDoc.LeftPoint = (myDoc.pageItems[i].left < myDoc.LeftPoint) ? myDoc.pageItems[i].left : myDoc.LeftPoint;
myDoc.RightPoint = (myDoc.pageItems[i].left + myDoc.pageItems[i].width > myDoc.RightPoint) ? myDoc.pageItems[i].left + myDoc.pageItems[i].width : myDoc.RightPoint;
myDoc.TopPoint = (myDoc.pageItems[i].top > myDoc.TopPoint) ? myDoc.pageItems[i].top : myDoc.TopPoint;
myDoc.BottomPoint = (myDoc.pageItems[i].top - myDoc.pageItems[i].height < myDoc.BottomPoint) ? myDoc.pageItems[i].top - myDoc.pageItems[i].height : myDoc.BottomPoint;
return [myDoc.LeftPoint,myDoc.TopPoint,myDoc.RightPoint,myDoc.BottomPoint]
myDoc.artboards[0].artboardRect = docBounds;

Similar Messages

  • Problem with reinstalling Adobe Illustrator CS4 on new pc

    Using a new PC with Windows 7.  Upon reinstalling and inputting serial number, prompt appears..."We looked inthe default locations for qualifying products installed on this machine but none found.  You may verify upgrade eligibility now by completing fields to the right."  Choices given do not include Adobe Illustrator CS4.  What next?  I appreciate the help.

    I have a disc in the same box  that says CS3.  I thought that was an older version.  Should I try installing that disc first?  It seems to have a different serial number. Thanks so much for your help.  I appreciate it. 
    Date: Mon, 3 Sep 2012 15:25:41 -0600
    From: [email protected]
    To: [email protected]
    Subject: problem with reinstalling Adobe Illustrator CS4 on new pc
        Re: problem with reinstalling Adobe Illustrator CS4 on new pc
        created by Jeff A Wright in Downloading, Installing, Setting Up - View the full discussion
    It is looking for the qualifying product which entitles you to use the Illustrator CS4 update.  Did you have an older version of Illustrator which upgraded from?
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4670448#4670448
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4670448#4670448. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Downloading, Installing, Setting Up by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Guys ,i have encountered a problem with my adobe illustrator cs4

    i am using illustrator cs4.i have a problem with type along the path feature.i have made some changes to it which i dont remember.so now the text is appearing one below the other rather tha appearing one after the other.how do i reset the settings.plz help!!!!

    Hi teja1995,
    I suspect that you need to adjust the in and out points of the text on the path. Try watching this tutorial, "Putting type on a path," in the Illustrator CC Creative Cloud Learn show to learn how to do this successfully.
    Hope this helps!
    Best,
    Rita Amladi

  • I'm having problems with CS2 (mainly illustrator and photoshop

    I'm having problems with CS2 (mainly illustrator and photoshop ) randomly shutting down while trying to save a file. Reformatted my laptop for fear of a virus and reloaded... I have gotten nowhere.
    Please Help!

    CS3 still had issues with the preferences becoming corrupt, so a possible workaround would be to reset the preferences.
    The file is called AIPrefs and is located under 'Documents and Settings/User/Application Data/Adobe/Adobe Illustrator CS3 Settings'. It is a hidden file. Delete it with Illustrator closed and when you launch the program again the file will be rebuilt.
    May be it is also sounds like you need more memory for your computer. If you can navigate to your computer's memory controls, and allow your operating system to use a portion of your hard disk drive (HDD) as RAM (maybe 2Gb or so) it may solve your issue.
    How is about: http://www.filerepairforum.com/forum/adobe/adobe-aa/illustrator/383-%E2%80%8Bcorrupted-fon ts-in-illustrator-file-urgent-help-need – resource has non-commercial specialty
    Third party software Illustrator Repair Kit also must be good solution
    It has free demo version at:- http://www.illustrator.repair/
    Hope this will be helpful.

  • Problem with update Photoshop, Illustrator and Indesign CS6

    Hi all. I have problem with update Photoshop, Illustrator and Indesign CS6 on OSx 10.8.4. Application are OK but update (bug fixies) not working. Update failed. (U44M1P7)

    Hi El Gondo,
    The following might explain and help solve the problem...
    U44M1P7 - Updates :
    http://helpx.adobe.com/creative-suite/kb/error-u44m1p7-installing-upda tes-ccm.html
    U44M1P7, U44M2P7 - Creative Cloud Help / Can't apply Extension Manager update 6.0.2 | Mac OS :
    http://helpx.adobe.com/creative-suite/kb/unable-apply-extension-manage r-update.html
    Thanks!
    Ankit

  • I am getting problem with eps image coordite while rotating in AI Script

    I am getting problem with eps image coordite while rotating in AI Script

    "Problem"? Uh, *what* problem?
    "AI Script"? There is no such thing.
    I'm willing to interpret "cordite" as "coordinate" but you must provide more (a LOT more) information before anyone can volunteer to help you. You are not posting to an automated system that retrieves stock answers from a database. You are asking Real People to help you. (And this is a user-to-user forum, so it's all voluntary as well.)

  • Issues with save in Illustrator CS4

    When I try to save a file in Illustrator it takes ages for the "Illustrator Options" dialogue to appear, upwards of 30 seconds. During this time illustrator is frozen. I have tried saving a file with just a single line in it and all swatches brushes etc deleted and this still occurs so it is independent of file size and complexity. Also it happens regardless of the file type I am saving, eps ai etc.
    This also occurs when saving a file with the same name (Ctrl+S), it just takes ages and freezes Illustrator in the meantime, though obviously no dialogue box appears.
    Once the progress bar appears it seems to progress at the correct speed, it's just there's that initial long pause before saving commences.
    Files also open at the right speed.
    Saving different files in other programs e.g. psd files in Photoshop works fine, so I'm sure this is an Illustrator problem rather than a drive or hardware problem.
    I am running CS4 on a PC and have run updates recently. This problem just started occurring a day or two ago.
    Any help or pointers would be very much appreciated!

    ok i think I've got this sorted. I found the thread where someone was having a similar problem because of installing a new printer so changed my default printer to adobe pdf (even though I have had the same printer for years) and this solved the problem.
    A new conflict must have just started for some reason, perhaps something to do with switching to cable broadband and the new equipment related to that (?)

  • Problems with fonts in indesign cs4

    I have the problem with using the font Arial Narrow bold and Helvetica and maybee there is more fonts.
    Im using windows 7 64 bit, and installing the font as it should be.
    But it dosnt show op when it works with indesign cs4 / illustrator / photoshop.
    But it works fine with word.
    Can it be a installingproblem or ??
    mvh. Mr. Mox

    Hi Peter
    Thanks for trying to help.
    I have installed the file from your link. And there is no issues with the windows.
    Is there a hotfix for Adobe cs4. The fonts works ok with word program.
    I have just change the computer ( with windows xp  and  there was no problems. And now its installed with windows 7 64 bit.
    And therefore installed and reactivated the Adobe programs
    mvh. Mr Mox

  • Printing problem with Epson R290 Illustrator and inDesign

    I am running CS2 on Leopard and have recently purchased an Epson R290. The first time I used it with Illustrator and InDesign it worked fine but now whenever I print anything it prints a tiny version (about a sixth of the real size) of the design in the top left corner of the page. It does this both with new documents and old ones that used to print ok.

    Since I posted the message about this problem I have discovered that it can be worked around by choosing a higher quality print. ie if you choose plain paper when printing from Illustrator or InDesign the printer prints a reduced size image but if you choose Ink jet mat or glossy the print comes out fine. I don't have this problem with Photoshop but that may be that I always print high quality from that application. I don't use Appleworks Draw so don't know whether this solves the problem for that application but iWork documents print ok.

  • Resolution problem with pdf presentation from CS4 in Bridge

    I have CS4 and am consistently having problems creating multipage pdf files using Bridge; though they are created using 300 dpi files in Photoshop CS4 the resulting multipage pdfs from Bridge are not print quality. I never had a problem with this before Bridge was required to create pdf presentations. The files used to create the presentation in Bridge are either psd or Photoshop pdf at 300 dpi. I am completely self-taught in Photoshop and my skill level is moderate at best, but I am not finding anything to help me so far in searching google and forums. Does anyone have any info to point me in the right direction? thanks-

    Have you applied all the updates for photoshop cs4 including this one:
    win:
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=4228
    mac:
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=4229

  • Is there anyone having problem with Clone Stamp in CS4?

    Good Morning, I am using Photoshop CS4 Extended with Windows Vista Ultimate 64 bit.  My computer is a Dell XPS 430, WITH 8GB of ram, 1.5TB of disk space,   ATI Radean HD 4800 Series adapter with 512MB memory.   When I bring up an image in Photoshop and click on Clone stamp I get the error message "could not use the clone stamp because of a program error."  I can still use Clone Stamp, but with some wied reults.  Sometime the middle of the brush turns bright white and do nothing.  Again it will clone the item clicked on, but would move the spot being cloned.  Other times when the brush is move from the spot being cloned it will clone other area without cliking on them.
    I have uninstalled and reinstalled Photoshop 4 times.  I have created a new account with administrative rights, which I unistalled and reinstalled Photoshop.  Two of the times that I uninstalled Photoshop I also used the Photoshop script to make sure all of Photoshop were uninstalled. I have also cleaned the register of Photoshop before reinstalling Photoshop.  Another item used to make sure there was no error with Vista was Windows cleanup installed tool.
    Yesterday I checked my laptop and I am getting the same results as my PC.  The most recent thing that has been updated on both the PC and Laptop was Windows updates and Camera Ram 5.4.  Attached is a copy of a wierd result using clone tool.  I just clicked on the image and the orange spot appeared.  Is there anyone else who is having similar problems with Clone Stamp?

    Have you applied the Photoshop 11.0.1 Patch?
    Have you updated the video drivers?
    If that doesn't help, try resetting your preferences as described in the FAQ.
    http://forums.adobe.com/thread/375776?tstart=0
    You either have to physically delete (or rename) the preference files or, if using the Alt, Ctrl, and Shift method, be sure that you get a confirmation dialog.
    This resets all settings in Photoshop to factory defaults.
    (A complete uninstall/re-install will not affect the preferences and a corrupt file there may be causing the problem.)

  • Problem with thumbnails in Bridge CS4

    I was having a problem with Adobe Bridge crashing on me when I was looking at a large amount of images - like all my 2011 images. I'd read online that I needed to purge my cache and delete my preferences by holding down the ctrl key when starting Bridge and choosing all three options to "reset preferences", "purge entire thumbnail cache" and "reset standard workspace".
    I did this, but it really did not solve my problem. I'm still working on that. It did create a problem that all my raw files show up without thumbnails, and I can't for the life of me figure out how to regenerate these thumbnails. I've tried downloading the camera raw plugin and installing that again and it does not help.
     My raw files are from a Pentax K100d and are pef files.
    I went back to some old photos, in my 2010 folder.  When it first came up it showed the thumbnail for just a brief moment.  It then went blank and then up popped that stupid little flower icon that I seen when there is no thumbnail.
    Any help would be appreciated.

    Thank you so much for your response.
    I am running 64 bit Vista. I have CS4 and found that the latest version of Camera Raw that I could install was version 5.7.  I found the install instructions on the Adobe site.  As it told me to do, I downloaded the zip file for version 5.7 and extracted.  I moved the Camera Raw.8bi file from the top directory into C:\Program Files (x86)\Common Files\Adobe\Plug-Ins\CS4\File Formats and moved the Camera Raw.8bi file from the Win64 folder into C:\Program Files\Common Files\Adobe\Plug-Ins\CS4\File Formats.
    Does this look right to you?
    I can double-click on any of my raw "pef" files and I can edit them in Camera Raw, no problem.  I can also look at the "about Camera Raw" and see that it shows version 5.7.
    It just won't generate thumbnails.
    This worked in the past.  What happened to mess things up is a long story.  I got a new camera, a Nikon D5100.  What I did not realize was that this camera was too new for CS4 to be able to recognize.  The updates that include this camera are only for CS5.  At some point after I got this camera and came home with a ton of vacation pictures - saved as Raw + Jpg (so I had a ton of photos) bridge started crashing.  I don't know if it was the size and or number of photos that I was trying to have visible in Bridge at one time or what.  I started Goggling what could be the problem.  I found one source say that I needed to reset the preferences and such and that I should start Bridge while holding the ctrl key and choose all three items to reset.  I did this and my thumbnails that were there for all my old photos shot with my Pentax k100d went away.  I just see a flower icon in their place.  I've not been able to get them back.  I have since moved all those big photo files to another folder and the crashing has stopped.  Now I just have the problem that I caused.
    What bothers me is that I saw a post here in this forum that says to never use the "purge cache" option from the edit > preferences box in Bridge.  I can't find this post again.  I have done this also before I saw that.  I have also moved my cache to another location so that it had to create a new one. Still this does not work.  I've restarted Bridge, rebooted, "purged the cache for the selection" and "generate high quality thumbnail".  Nothing I've tried works.
    Would reinstalling Bridge help?  Do I have to install all of Photoshop?  Do I have to uninstall first?

  • Problems with flash transparent drop down menu over html in some browsers

    Hi everyone... this is my first post and it's about an issue
    that's causing me a few problems.
    I'm currently designing/ building my company's web site, the
    test page be viewed here: www.musflashtv.com/test.htm
    1) This layout contains an embeded flash movie (.swf) with a
    transparent background, this is the main navigation.
    The flash navigation has a drop down menu that animates down
    and covers the html page (containing links) below.
    The problem is that in most current browsers such as; Firefox
    2.0.05 (links below template don't work), Netscape 8.1.3
    (navigation drop down and links don't work) and Opera 9.10 (links
    below template don't work), any links just below the 'invisible'
    transparent area coverd by the navigation can't be clicked 'through
    the flash file'. The exception is IE 7.0, everything is fine there.
    (it hasn't been tested in any mac browsers though).
    Because the area below the navigation on
    www.kitachi.info/work is one large dummy jpeg file, the link below
    would be a much better example to look at.
    http://www.musflashtv.com/shows/ind...tlight-Sessions
    The flash navigation is embedded in the html (tlp) template
    file using the code below and aligned using an external style
    (.css) sheet, this html code not only embeds the flash movie but it
    also tells the browser to display it's background and as
    transparent. The flash movie is embedded in a layer that sits above
    the table.
    3) The flash embed code:
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
    name="shows-navigation-tranparent" width="851" height="300"
    align="top" class="flash-navigation"
    id="shows-navigation-tranparent">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie"
    value="flash/navigation-tranparent.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="transparent" />
    <param name="bgcolor" value="#000000" />
    <param name="SCALE" value="exactfit" />
    <embed src="flash/navigation-tranparent.swf" width="851"
    height="300" align="top" quality="high" wmode="transparent"
    bgcolor="#000000" name="navigation-tranparent"
    allowscriptaccess="sameDomain" type="application/x-shockwave-flash"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    scale="exactfit" />
    </object>
    Does anybody know of any code that can solve this problem or
    know a different way of creating a flash navigation with a drop
    menu that can be embeded over html?
    Any help or advice would be greatly appreciated especially as
    this issue is holding back progress in a big way.
    Thanks in advance guys!
    Adie

    It's IE-only behaviour as a result of changes Microsoft made
    last
    year to their browser, regarding how Active Content (Flash,
    Quicktime etc)
    is handled, after losing a high profile court case.
    http://blog.deconcept.com/2005/12/15/internet-explorer-eolas-changes-and-the-flash-plugin/
    Background:
    http://en.wikipedia.org/wiki/Eolas
    See also
    http://www.adobe.com/devnet/activecontent/
    If you're running Dreamweaver 8.0.2, the fix is already built
    into DW's
    interface.
    If not, try
    http://blog.deconcept.com/swfobject/
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "swizzle_16" <[email protected]> wrote in
    message
    news:eqr0ib$48r$[email protected]..
    > Help please, I've put together a website using a drop
    down menu system
    > that
    > needs to drop down over a flash animation - I've managed
    to get the drop
    > downs
    > to go in front of the animation using the transparent
    tag - but each
    > option has
    > to be clicked on twice to get the link to work.
    >
    > Does anyone know how I can change it so the link needs
    to be only clicked
    > once?
    > The drop down menu system I've used is : * AnyLink Drop
    Down Menu- ©
    > Dynamic
    > Drive (www.dynamicdrive.com)
    >

  • Issues with eyedropper in illustrator CS4

    I've just moved onto Illustrator CS4,a nd ahve discovered several glitches with the eyedropper tool, in that you will try to sample a fill and stroke from another object, and it will show in the stroke and fill boxes that it has taken on this appearance, but the object itself doesn't change. Or sometimes it will take on the stroke, but not the fill. the only way i've gotten around this is to use the pathfinder tool to divide the object by itself, and then the eyedropper seems to work. major pain though.
    does anyone know if there is any way to stop this happening?
    thanks

    Check your graphics driver configuration and install a new one/ different one. Also check your color profiles, should you be using any. Since sampling is done at the preview level, there may simply be an issue here where it sometimes cannot correctly "see" what's beneath. Also of course look for invisible layers or visible layers with seemingly nothing on them. Some of them may have appearances applied that would "block" everything. Sometimes a drop shadow on a stray line or point can have the weirdest effects... Other than that I'm not aware of standing issues with this, but anything is possible.
    Mylenium

  • Problems with Playback in CS5, CS4 (gotoAndPlay command)

    I've encountered a really frustrating issue a couple times now throughout the past year, both in CS5 and CS4.  I get to a certain point in a project where it just seems Flash does not want to cooperate anymore.  It's difficult to even explain what the issue is because it doesn't seem to  be triggered by one thing in particular, and often produces different results.  It's almost as if the file becomes corrupted. 
    Here's what will happen:
    *I will create symbols and place each one in its own frame on the main timeline, so that I can see them easily.  The assets will usually contain animation inside the symbol. When I'm working on a particular symbol, I will put a gotoAndStop command on the first frame of the main timeline, pointing it to the symbol I want to test.  So if I'm making a tea kettle, and have placed it on frame 4, I will put a "gotoAndStop(4);" command on the first frame.
    *At a certain point, I will start having problems with test movies using this gotoAndStop method, even if I don't change any the scripting.  Sometimes it will turn off layers that aren't supposed to be guides.  Other times it will show me a blank frame.  If I replace the gotoAndStop command with a  stop command on the particular frame I want, my project will display correctly. 
    If it were a relatively small project, I would deal with it and test everything with the Stop command.  However, this is a fairly big, complex project, and in my experience, this issue seems to contaminate other files that these assets are copied to.
    *I've double checked the scripts inside of the symbol, which are all simple "stop();" or "gotoAndPlay("label");" commands, and there's no error showing up in the Output window.
    *The most random things will trigger this problem.  Sometimes, it's adding a shape tween to the symbol.  Other times, I could turn off the background layer in the main timeline by making it a guide, and all my other layers would show up.  But this background layer shouldn't affect anything, as it only has a "stop();" command inside.  I was able to fix the problem once by saving the FLA as an Uncompressed Flash Document (xlf).  When I opened the new file, it would play back correctly, but eventually, it'd break again. 
    I was having similar problems in CS4 on another project.  In one case, we discovered we could fix the problem temporarily by deleting a single tiny line in one of the symbols.  Eventually, it would pop up again, though.  Another time, I could fix it by blowing away all the linkage identifiers, but that doesn't seem to be working this time. 
    It's very odd.  Anyone have any ideas?

    She didn't export it for CS4. If she had it wouldn't be an INDD file. She needs to export to IDML and you need to realize that this document may not look like it does in CS5.
    You do need to upgrade if you want to work successfully with this other designer. Worth noting, in case you don't, is that you cannot upgrade individual components of the suite. Personally, I recommend Design Premium as the best bang for the buck.
    Here's why: http://www.theindesignguy.com/purchase-advice.shtml
    You find a link a Amazon on that page, which as far as I can tell is the best place to buy with free shipping and for the most part no sales tax.
    Bob

Maybe you are looking for