EPS-- SVG  Conversion (Force white colored areas to transparency including background) ?

Hi,
I am trying to convert (export) an EPS image to SVG programmatically as follows, I am having difficulty in converting white areas on the image to transparency; could someone guide me what would be the solution please? 
Dim illusapp = New Illustrator.Application
Dim illusdoc As Illustrator.Document
illusdoc = illusapp.Open(fileStream.Name) //.eps file path 
Dim svgExportOptions As Illustrator.ExportOptionsSVG //Here I don’t have the provision of passing Transparency to True etc.
illusdoc.Export(destination, Illustrator.AiExportType.aiSVG, svgExportOptions) //destination is .svg file path
Thank you very much for your time in taking a look at!!
-SG

I need to do this programmatically ( I mean recognizing white spots on the .eps image and convert them to transparency).
Right now, I have implemented a .NET Web Service which interacts with Illustrator on the server. So if a user request .EPS image to be converted to .SVG, he/she just calls the service method which takes .eps image as an input and returns .svg content as an output. Behind the scenes, service interacts with Illustrator and does the conversion.
Below are few lines of code thru which I am achieving this. Part of this I would like to recognize the white spots/content in the .eps image and convert them to transparency before I convert/export to .svg file.
Dim illusapp = New Illustrator.Application
Dim illusdoc As Illustrator.Document
illusdoc = illusapp.Open(fileStream.Name) //.eps file path
Dim svgExportOptions As Illustrator.ExportOptionsSVG
illusdoc.Export(destination, Illustrator.AiExportType.aiSVG, svgExportOptions) //destination is .svg file path
Thank you all for your time; appreciate if you could share some of your thoughts on it.

Similar Messages

  • White Color are grey after rendering !

    Hello ! first post on this forum !
    I'm working on a composition whith white background ... but after rendering in format such as WMV, and playing this video on different players, the white background look soft grey ! any idea about this problem ?

    - broadcast safe colors
    - general Gamma adjustments done by your player
    - general Gamma adjustments due to color profile (mismatch)
    - limitations in the chosen CoDec/ compression
    Pick whichever is most likely. For most MPEG derivatives and WMV a color space compression is normal and unfortunately you cannot override these behaviors from within AE in most cases. You will have to use other tools. It is however absolutely possible to improve color perception by adjusting the colors before the compression. I recommend you check out The Meyers' tutorials on broadcast safe treatment or Aharon Rabinowitz podcast on creativeCOW to learn how expanding and compressing color ranges can improve perception and technical quality.
    Mylenium

  • AVI Files conversion in PE - Colors are weird and video is not smooth.

    Hi,
    I have an issue with AVI files. I have Sony Digital 8 Camcorder and through a different program I downloaded the tapes and made them into AVI files.
    I was trying to make a movie with premiere 7 using these AVI files. The quality was poor. There is no smooth motion of the movies, it was kind of moving frame by frame and also at the end of the movie faces and surrounding colors was weird (as if they are negative etc..)
    I chose the out put video quality to be high and format to be NTSC. I have a 3gig ram, Windows vista laptop.
    Am I missing something in movie making setting. Can someone help
    Thx...

    I have had a similar problem with sony dvd cam.Trying to read old files which were in ima format. accidentally I found the same files stored as MPEG, but Prel El 2 could pick up the files with clarity.
    I have found a freeware site winff.org which converted the problematic MPEG files to DVD files with great success.

  • Does Photoshop always blends transparent images with white color?

    It looks like merged-image-data in PSD files contains RGB data which is blended with white color (based on transparency). Is that correct for all versions of Photoshop/PSD? Can I disable it or change that color?

    I think you're misinterpreteting what you're seeing.  In the specific example you cited, IrfanView is reading the flattened composite, assuming you're saving as a Maximum Compatibility PSD, as it hasn't the ability to mix layers.
    Perhaps this flattened composite is what you're asking about.
    In the actual layers of the file, when Maximize Compatibility is not specified, Photoshop puts pure white in the pixels where there is complete transparency, but for partially transparent areas there's no premultiplication.
    Consider this sequence:
    -Noel

  • How can I make a color box indicator transparent?

    All, I would like to make a color box, which is part of a cluster in an array, transparent programmatically.  Instead of appearing transparent, it shows up with a LARGE "T" inside the color box, with a white background.  Because it is part of a cluster within an array, it will not work to use a property node... and because I would like to programmatically change the color, having it permanenty transparent (as proposed on another discussion topic) will also not work.  Can someone please help me turn a color box transparent programmatically?
    Thanks.
    Anthony

    The problem is that arrays of clusters cannot be passed into property nodes as falkpl has previously said. The attached jpeg shows how you would programmatically break the arrays into cluster, into elements, and then manipulate that color box to a transparent one. The T within the white color box indicates transparent though. If you were to attached that to a color attribute then you would see that object disappear (well I guess not since it's transparent )
    Grant H.
    National Instruments
    LabVIEW Product Marketing Manager
    Attachments:
    color box.JPG ‏21 KB

  • How do i get Firefox to print web pages in black and white only (colors are interpreted in grayscale and some are too light to be read)?

    i have a black and white laser printer. Firefox prints web pages by sending color images to my printer. The printer uses greyscale to interpret the colors. i really want Firefox to send black and white images to my printer, because with greyscale some of the colors are translated to print that is too light to be seen clearly.
    Can this be done?
    Thanks,
    Chazbo

    i just tried disabling adblock and checking if i had any no script or noscript sort of addon. i do not have a script killer. disabling adblock did not solve the issue.

  • The white colors in my screen are to bright. Help

    The white colors in my screen are to bright. There is no difference between different colors of white so I lose a lot of detail in images. What can I do. When I put my mac to sleep it was ok for a while but when I restarted my computer I lost it again.

    Brightness adjusts the blacks, contrast adjusts the whites.
    for a quick adjustment look at this 26  step chart
    A should be 255
    Z should be 0

  • How come Colors are Washed Out, FCE QT Conversion H.264

    I have searched this forum on this problem, but nothing I found directly addresses this.
    I have transcoded 1080p h.264 video to AIC, editing in FCE4 works beautifully. If I export to QT movie only converting to h264 original size, a 3 minute video becomes 3 GB but the playback in QT matches the colors I see in FCE. If I use FCE to QT conversion to a smaller size, 640x360 h.264, the colors get washed out. I tried MPEG Streamclip to convert the 3GB version, and the colors are beautiful, but even at 100% quality, the video looks slightly pixelated.
    Still on MAC OS X 10.5.8 with QT7. Any thoughts?
    Thanks,
    Nelson

    it's an old bug, and one I hoped had been fixed with the release of QT7.
    there is supposedly a field in the mov file which indicates the Gamma of the mov. from memory, QT is either not writing the value, or it's ignoring the value when the mov is played back. the bug is also evident in Safari. it only affects movies exported as H.264 (which is laughable since Apple has been heavily promoting H.264 for quite some time)
    I have an urgent project for friends overseas. this is not a welcome predicament.
    search the net for "quicktime gamma fix" and you'll find a raft of web pages regarding the problem. for example, Luxology Quicktime Gamma Fix.
    disappointedly,
    Gregory

  • IMac screen: the light colors are gone to white

    iMac screen: the light colors are gone to white. Not only in my windows, also in all browsers, etc. Must be a software problem, if I start up from an external disk it's OK. Possible a bad file in my User library but which one?? I did fresh install Snow Leopard, then it was OK again, but when I started some applications it went wrong again. Has anyone ever seen this?? I went to the Apple store and they could not help :-(

    Screenshots do not show what you are actually seeing on the monitor.
    Try holding the (Control Command Alt) keys and pressing the (Comma) key several times.
    Alternately go to: Apple / System Preferences / Universal Access and in the Display section make sure that Enhance contrast: is set to normal.

  • Can i make the setting and keyboard background black ? , because i have vision problem and the white color is too bright and cause pain and headache for me . thanks

    can i make the setting and keyboard background black ? , because i have vision problem and the white color is too bright and cause pain and headache for me . thanks

    Drmikekuna wrote:
    ... Sony AVCHD .. Canon SD ... Logitech .. Flip Mino HD. ..
    .. Certainly not the best idea for a professional but just fine for a guy who likes to edit for fun.
    that's were the fun stops on a MacOs-based system ..
    FC/e supports only a few 'standards': DV (as from miniDV cams), HDV (from miniDV devices), AVCHD (from most devices) and with a little trick, described on my website AVCHD-light (720p, as from many compact-stills) ..
    done.
    some Flips are supported by iMovie, which you can abuse as a converter tool.
    but 'non video standard' (=read 'video' as 'in TV') formats, resolutions and codecs ...
    a) manual conversion = less convenient
    b) loss of 'quality', e.g. when you blow-up tiny 480x320/15fps into video..
    FC/e is FC/pros lil' brother.. meant for a more.. adult workflow..
    if you like to wrestle with multi-formats, stay with Windows/Magix/..
    Windows=options, with a chance of getting lost
    MacOs=convenience, with a chance of getting restricted

  • Lack of smooth video flow, pixel activity in white colors when dvd burned.

    We have a 2008 HD AVCHD HDR SR12 sony video camera. We down loaded movies onto our macbook and burned dvd's on idvd. The result when viewed on hd tv was as follows. Lack of smooth video flow and pixel activity in white colors. The finished product looks fine on the computer screen. We are using maxell dvd-r and sony dvd accucore -r discs. We are home movie enthusiasts and do these for our family (amateurs).

    Hi
    Way over my head BUT my first thoughts is.
    • AVCHD is very demanding - are Your Macs up to it ?
    • I would secoure lot's of free space on internal (booth/strat-up) hard disks
    eg 25 or 50 or even more Gbs This is the scratch disk for iDVD and the video editor BUT
    also for Mac OS (UNIX) and QuickTime (the heart of iMovie, iDVD, FinalCut Express and Pro)
    Yours Bengt W

  • Can't get white color to stay white between color profiles

    Hello,
    I installed Photoshop CS4 and am using a Samsung flat panel monitor. I do web design and print design. Here is the problem:
    Web design:
    Color profile is set to Monitor Color
    Proof color is set to Monito RGB
    Proof Colors is checked
    When I save image through Save For Web, it looks fine in the preview box but in some browsers it has blue tint (even the white color now looks blue)
    I tried embedding the monitor coor profile into the exported JPEG and tried converting to sRGB and it always is a problem
    Print design:
    When I make a new CMYK document 300dpi the white now has a yellow tint.
    I tried to paint the entire image white (and the foreground color is clearly white) then go with the eyedropper it says its fff6db (yellowish)
    Proof Color: working CMYK
    CMYK Color: US Web Coated (SWOP) v2
    Color Managment Policies are all off
    What I want is an explanation of how I can make sure that the colors are correct on my screen such that what I see on the monitor is exactly what everyone will see on their browsers. And that there are no color shifts. I had version 6 at work and its fine, when I converted from RGB to CMYK the colors just got a little washed out but the whites remained white.
    -Max

    Web design - you're ignoring the display profile, twice.  What you see on your system is exactly what you'll see in the browsers. But nobody else will ever see it exactly the same way because you refer everything to your specific display.
    Print design - you're actually using the display profile, and that profile is wrong.  You're seeing a yellow tint because your monitor profile claims that the white is bluer than it really is, and Photoshop is correcting for that.  To get rid of the tint, you need a display profile that correctly describes your display.

  • How to avoid white color in photo taking in iphone 4s at night with flash?

    how to avoid white color in photo taking in iphone 4s at night with flash?

    HI Lisa91,
    Here is a link to a post about the same problem you are having and the same printer. You may find the posts helpful as some were able to find a solution. Post number 6 and number 12 specifically have found solutions that worked for them. Hope this helps some.
    If I helped you at all it would be great if you clicked the blue kudos star!
    If I solved your post please mark it as solved to help others.
    I'm a printer tech with HP.

  • Colors are displayed not correct

    Hi!
    I use lightroom 3.4.1 on Windows Vista 64bit with a Iiyama PRO LITE E2407 HDS monitor and a ATI Raedon HD3600. The colors of some images that I imported from my Canon EOS 500d into lightroom are "strange".
    If I display the same image with another program, e.g. XNVIEW or windows-live-photo-gallery the colors looks totally different. You can see the differece here:
    (http://wipux2.wifo.uni-mannheim.de/~kesnw/download/HPB/Farbwiedergabe_Lightroom_vs_XNView. PNG - larger)
    The ugly colors appear on both, RAW images and JPG images.
    Where can I influence the colors?
    Thanks,
    Peter

    "The default in Lightroom is ProPhoto RGB color space."
    You can set the choice of color space that's passed to CS5 in Edit menu, Preferences, External editing. That can be anything you want. So I'm assuming you've set ProPhoto RGB.You’re the expert here.  I just installed the product and the default was ProPhoto RGB.  I was just expressing my experience with the default install
    "Right click a file and select "Edit In" CS5."
    So LR passes the file to CS5 in ProPhoto, if you've set that in the preferences
    Once again I just installed Lihtroom with defaults.  Unless a user is made aware of the ramifications of default settings they will not necessarily discover it on their own
    "Do all your edits in CS5 and then "Save As" JPG."
    If you don't alter the colour space in CS5 (Edit menu, Convert to Profile...) then it will still be in ProPhoto, so that's how it will be saved in CS5. So this is not clearly described when using both products.
    "Use a broswer or any other 3rd party viewer and you will see the colors are washed out."
    Only if your browser color management isn't working. Either you don't have appropriate profile for the monitor, or you're not using a colour-managed program to display the image, in which case the colours look very washed out. If you have a calibrated and profiled monitor, and use a colour-managed program to view the image, then it doesn't matter what is the colour space of the image, colour management will sort it out and it will display correctly. The assumption is that JPG will be used on color profiled display is not consistent with the default save options.  Why would a “save as” color space be deferent from the export to JPG file?  They are both sRBG files and not consistent or clear to the end-user. 
    "In CS5 use the "File/Save for Web & Devices" and save a JPG version the colors are more accurate in the JPG"
    Yep, because save-for-web converts to sRGB. Normal monitors are approximately sRGB, so even if colour management isn't working (no monitor profile, or using unmanaged software) then when you display an sRGB image on a normal monitor, colours will be approximately (though not necessarily exactly) right.    Yes.  So the “Save As” option does state sRGB and does not distinguish any color spaces or differences in the menu.  So until you post or email the files, a user will ot see the effects of the settings.  Have you tried this?
    "If you then change the default in Lightroom to sRGB and run through the same sequence you get a better color match in the (step 2) “File/Save As” JPG."
    Again, I assume you mean changing the Edit menu, Preferences, External Editing and change the colour space used with CS5. If you set that to sRGB then, without having to do a conversion in CS5, the image is already sRGB, so if you save it then it will still be in sRGB, and it will display correctly on a monitor without a profile or using unmanaged software. Yes, but the “Save As” does not distinguish between sRGB or ProPhoto.  For example if I used a 3rd party asset management product to export the file to CS5 and used “Save As” in CS5 it would create a JPG file viewable in a unmanaged monitor/software/display more accurately.  I have been a long time Photoshop user, but new to LR.  These issues or lack of understanding on my part only occurred after I installed LR 3.  I'm assuming Adobe would like to have both LR and CS5 to work seamlessly together or is that a bad assumption?

  • Cell background colors are not showing in preview - help? - DW4

    Hi,
    I created a horizontal table for my menu bar, and gave each cell a different color by creating a separate class for each with background image - image is a block of color created in Photoshop. In design mode they look they way I want, but in preview (Safari) the colors don't show up at all - the whole area is gray, and all I see is the text for each cell. Can someone tell me what I'm doing wrong? Alternatively, is there a better way I can set this up to have different colors for each button?
    Thank you!

    Here is the HTML code, and the CSS code for the menu bar follows: 
         ul.MenuBarHorizontal           
    ></style><style type="text/css"><!body {     background-color: #FFF;     font-family: Arial, Helvetica, sans-serif;}-->
        h1.  
         ul.MenuBarVertical          
    [about | MS_about.html]
    [fiction | MS_fiction.html]
    [dramatic work | MS_dramaticwork.html]
    [arts | MS_arts.html]
    [contact | MS_contact.html]
    [blog | MS_blog.html]
    <!-- end #header ><div id="mainContent"><p> </p><table width="950" border="0" cellspacing="10" cellpadding="12">        <tr>          <td width="106"><p> </p></td>          <td width="766"><p> </p>            <p>Miriam Seidel is a writer, critic and curator whose work is informed by her background in art, music and dance. </p>          <p> </p>          <p> </p>          <p> </p>          <p> </p>          <p> </p>          <p> </p>          <p> </p>          <p> </p>          <p> </p>          <p> </p>          <p> </p></td>        </tr>        <tr>          <td colspan="2" bgcolor="#CCCCCC"><p>c Miriam Seidel 2011 all rights reserved</p></td>        </tr>    </table><script type="text/javascript"><!var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", );var MenuBar2 = new Spry.Widget.MenuBar("MenuBar2", );var MenuBar3 = new Spry.Widget.MenuBar("MenuBar3", );//></script></body>     <! end #mainContent --></div></html> 
    CSS CODE:
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */ 
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding /ul.MenuBarHorizontal/ Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html /ul.MenuBarActive{     z-index: 1000;     font-family: Arial, Helvetica, sans-serif;     font-size: medium;     color: #FFF;     background-color: #FFCC99;     background-repeat: no-repeat;     left: auto;     top: auto;     right: auto;     bottom: auto;}/ Menu item containers, position children relative to this container and are a fixed width /ul.MenuBarHorizontal li/ Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) /ul.MenuBarHorizontal ul/ Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item /ul.MenuBarHorizontal ul.MenuBarSubmenuVisible/ Menu item containers are same fixed width as parent /ul.MenuBarHorizontal ul li/ Submenus should appear slightly overlapping to the right (95%) and up (-5%) /ul.MenuBarHorizontal ul ul/ Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible 
    /* Submenu containers have borders on all sides /ul.MenuBarHorizontal ul/ Menu items are a light gray block with padding and no text decoration /ul.MenuBarHorizontal a/ Menu items that have mouse over or focus have a blue background and white text /ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus{     background-color: #6C9;     color: #999;     font-family: Arial, Helvetica, sans-serif;     font-size: medium;     font-style: normal;     line-height: normal;     font-weight: normal;     font-variant: normal;     text-decoration: none;     text-align: center;     vertical-align: middle;     height: 50px;     width: 115px;}/ Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible{     background-color: #FFCC99;     color: #FFF;     font-family: Arial, Helvetica, sans-serif;     text-decoration: none;     font-size: medium;}
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) /ul.MenuBarHorizontal a.MenuBarItemSubmenu{     background-image: url(SpryMenuBarDown.gif);     background-repeat: no-repeat;     background-position: 95% 50%;     text-align: center;}/ Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) /ul.MenuBarHorizontal ul a.MenuBarItemSubmenu{     background-image: url(SpryMenuBarRight.gif);     background-repeat: no-repeat;     background-position: 95% 50%;}/ Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) /ul.MenuBarHorizontal a.MenuBarItemSubmenuHover{     background-image: url(SpryMenuBarDownHover.gif);     background-repeat: no-repeat;     background-position: 95% 50%;}/ Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover{     background-image: url(SpryMenuBarRightHover.gif);     background-repeat: no-repeat;     background-position: 95% 50%;}
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe /ul.MenuBarHorizontal iframe/ HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */@media screen, projection{     ul.MenuBarHorizontal li.MenuBarItemIE     {          display: inline;          f\loat: left;          background: #FFF; 
    Date: Mon, 20 Jun 2011 15:30:46 -0600
    From: [email protected]
    To: [email protected]
    Subject: Re: cell background colors are not showing in preview - help? - DW4 
    NEED to see the code.
    Otherwise it's like dialing a random phone number, and asking whoever answers, where you left your keys.
    >

Maybe you are looking for

  • How to play youtube videos on MacBook Pro

    how do I get youtube videos to play.

  • What are the Update tables?

    In LO Delta scenario, Data posted parallel into document tables and update tables. What are the Document tables? What are the Update tables? Give example for Application 11, which is document tables, and update tables?

  • Late 2012 Mac mini i7 to run dual Dell UltraSharp U2412M WITHOUT using the reported HDMI out problem port?

    I've been reading about all the problems new Mac Mini users are having with trying to expand their desktop using the HDMI port.  ie: snowy screens, fuzzy text, blackouts etc etc.  My Mini is due to arrive in a couple days and I have two Dell UltraSha

  • Standard Web Template

    We are using Portal and BI for Netweaver 2004s.  We want to create our own Web Application Template to be used for Ad-hoc analysis.  We have created the template in the WAD and named it "ZZ_0ANALYSIS_PATTERN_T001". We have entered this Template name

  • Apple menu

    The sleep, restart, and shut down in the apple menu do not respond. There is no box asking if I really want to do this. Also, the restart after downloading software does nothing.