Question

Make object fade from solid to transparent

Asked by: mayday175

How do I make an object/stencil fade from solid to transparent (ie. solid on the left to transparent on the right?

I have an object (a Network Locations - Cloud stencil) that goes off the right hand edge of the page. When printed, this object it is cut at the page boundary and doesn't look very professional. I have tried to overlay this object with a white square that fades from transparent to solid white (at the page edge) as per instructions here (http://blogs.msdn.com/saveenr/archive/2008/02/06/visio-2007-trick-transparent-gradients.aspx) in order to soften the page boundary when printed. On the screen this object appears to fade to white ok (ie. the same colour as the paper), but it does not print this way.

I figure the fix for this is get rid of the white overlay and make the original object (the cloud stencil) fade to transparent. Is it possible to add a gradient to make this object/stencil transparent on one side? I have saved this object as an SVG and opened it in Inkscape, but cos of the different gradients within the sub-objects of this stencil, I can't make it behave as I'd like. Anyone have any ideas?

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2008-07-10 at 22:27:32ID23556277
Tags

microsoft

,

visio

,

2007

Topics

Microsoft Visio

,

Graphics

,

Photos & Graphics Software

Participating Experts
3
Points
0
Comments
14

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. fading mask
    This is probably basic flash but I'm not finding the help in the usual places. I created a mask later with a movie clip that contains a square graphic fill that starts at alpha 0 and tweens to alpha 100. I was hoping this would fading everything thats under the mask in, but ...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: scottPosted on 2008-07-11 at 20:40:39ID: 21987546

I'm not sure which cloud shape you're using, but you can create your own and then use the method from the blog post you cite to make it transparent on one side. Use the Freeform tool on the drawing toolbar to create your cloud -- just be sure that your last mouse click is on top of your starting point so the shape gets "closed". Doing this creates a cloud with white fill, to which you can apply Saveen's technique from the blog.

I've attached two samples -- actually it's the same cloud in both cases. The one on the left uses a blue pattern color and is sitting on the (white) page background. The cloud on the right sits on a blue background and is exactly like the blog example, i.e., both the fill color and pattern color are white.

Does this accomplish what you need?

 

by: mayday175Posted on 2008-07-13 at 16:37:52ID: 21994780

Thanks for the feedback Scott, but I was wanting to use the standard Visio stencil... it matches all my other diagrams (for continuity throughout my network diagrams) and has the required connector points built into it.

The first attached image is the "Cloud" I'm working with. You will see that it is actually a cluster of clouds grouped as a single object.  I'm trying to apply a global gradient to this object so that it behaves like your example (see the second attached image). However, changing the colour or gradient of the fill acts upon each sub-object individually in an undesired way

If this is not possible, I guess I'll just need to save this cloud stencil as a high res image and manually apply a white gradient like I have in the attached low res example.

 

by: scottPosted on 2008-07-13 at 18:22:56ID: 21995063

Do you use the five connection points on the outer edge of the cloud and attach your own lines to them or do you use the control handles to draw lines extending outward from the center of the cloud?

If you just use the connection points, it's very easy to add connection points to any shape. Consequently, you could use the freeform tool to create a cloud that looks almost exactly the same as the prebuilt cloud (without or without the interior cloud shapes, which brings me to...)

Do you really want the interior clouds? If not, it's very easy to ungroup the cloud shape, remove the interior clouds and re-add the connection points.

If you use the control handles, it would be more work but not that hard to add the control handle line-drawing subshape to any cloud.


If not, it would a little bit of work but we could unbrou

 

by: scottPosted on 2008-07-13 at 19:54:48ID: 21995376

ignore last line of previous post!

 

by: mayday175Posted on 2008-07-15 at 22:25:02ID: 22013417

I'm not so concerned with the connector points, I don't intend to relocate this object often and so am not concerned with the connection lines rerouting automatically. What I am concerned with is the continuity of visual appearance by using standard Visio shapes throughout my multi-page document. To this end, I have made a higher res raster image (suitable for printing as part of an A3 sized map) of the example I 've provided above and set the transparency to start & finish exactly where I need it. Saved as a PNG (to support the alpha blending) and then imported into Visio. The end result it what I'm looking for, albeit not as neat and tidy as a vector image that does the same thing.

If anyone has a better idea of how to modify an existing built-in stencil (ie. not create a new one) to apply a graduated transparency to it, please let me know. Otherwise I'll be rewarding the points to myself ;)

 

by: mayday175Posted on 2008-08-03 at 18:54:13ID: 22149514

I've upped the points to max... does anyone know how to resolve this using vector images only?

 

by: scottPosted on 2008-08-04 at 04:46:18ID: 22151556

Sorry, but I can't help with vector images. I haven't looked but suspect there is a zone or two related more to image manipulation -- you might add a non-Visio zone like that to the question to broaden the range of experts who can help.

 

by: fileinsterPosted on 2008-08-18 at 08:04:11ID: 22252525

If you want to fade to transparent you can create it manually:

Select the shape you want to fade and go to the fill properties. Once here select the fill pattern of 30 ( or anything above 25, depending on what you want to do).
Then, show the ShapeSheet (Window menu, show shapesheet). Go to the "Fill Format" section and change the "FillForegndTrans" value to 100%. That should give you a fade to transparent effect!!!!

 

by: mayday175Posted on 2008-08-18 at 15:55:57ID: 22256065

Sorry fileinster, that doesn't work. The solution you suggest is what I've referred to in my first post and (as per my first post) "cos of the different gradients within the sub-objects of this stencil, I can't make it behave as I'd like."

If this "cloud" stencil was a single object then yes, your suggestion would probably work. But since this stencil is made from multiple objects (see the images I've posted above), applying a gradient causes the cloud's colours to change undesirably and the FillForegroundTrans field doesn't have any affect.

Since this "cloud" stencil is readily available as one of Visio's builtin stencils, anyone can test ideas before posting. I don't think the solution I'm looking for can be done (easily)... so it looks like I'm left with my existing solution of exporting the stencil as a raster image and applying a transparent gradient to that.

If anyone is good with Inkscape, I could export this stencil from Visio as an SVG and open it for editing in Inkscape.

Thanks
Mayday175

 

by: fileinsterPosted on 2008-08-19 at 06:08:22ID: 22259369

You're right!
That can't be done; you can apply the transparency to each individual component object, but not to the object as a whole.
The reason for this is the fill is not applied to the group; it is applied to individual items. I don't think applying a gradual transparency to the individual items won't give you the effect you are looking for either.

 

by: Genome_A_WPosted on 2008-09-03 at 07:22:23ID: 22377528

if this was in photoshop then i would just apply a mask. then fade off the end of that mask (simply using a very large round eraser with 0% hardness) creating the desired effect. Can a similar method be used in the program you are using?

 

by: mayday175Posted on 2008-09-03 at 17:08:36ID: 22383206

That sounds like what I have already done using GIMP... to apply a graduated transparency, as per my example image above. Last time I used Photoshop it was for raster images only, whereas I'm trying to do this using vector graphics (ala Illustrator or Inkscape). Since the the original image is a vector stencil it can be scaled to any size with pixel perfect reproduction... and I'd like to apply my graduated transparent modification using the same vector technology. However, as previously discussed, this stencil is made up of multiple sub-objects (3 internal clouds)... a transparency could be applied to each one individually (as per SaveenR's blog), but not to the image as a whole.

I've all but given up on trying to complete this challenge, I don't think it can be done and I've not heard of any advice (here and elsewhere) that is of any further assistance. My current solution, as stated above, is to export the stencil as a high res PNG and apply a transparency to it. This results in an image that is much larger (in disk size) than the vector stencil and does not scale with pixel perfect resolution at different resolutions (ie. on screen vs on print).

If any further experts are able to assist, read this whole article carefully... everything you need to know should already be here and there's no point giving me advice that has already been given. I already have a raster solution (easy), what I'd like is a vector solution (hard/impossible?).

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...