The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniGraffle General (http://forums.omnigroup.com/forumdisplay.php?f=10)
-   -   Creating Stencils from png images (http://forums.omnigroup.com/showthread.php?t=31472)

Kaz219 2014-04-23 02:10 AM

Creating Stencils from png images
 
2 Attachment(s)
Hello,

I have a couple of images that I use regularly and I thought about putting a stencil together.

Know, here is the issue I'd like to solve: the images represent non-square objects, meaning, there is transparent pixels in the corners for example. The original files are either png or adobe illustrator.

In both cases, if I draw a line from one object to another, the line will always stop at the invisible square around the object. How do I get the line to go up to the actual image? Is there a special image format which will allow for this after importing in omnigraffle?

Attached a screenshot of the issue and one example with “native” omnigraffle icons, where the issue isn't happening (electrical component).

Cheers

john.gersh 2014-04-24 12:42 PM

The default behavior for lines and objects is for a line drawn to an object to connect to the center of the object. Subsequently the line will be invisible inside the object. Unfortunately OG considers its bounding box to be the boundary of an image regardless of transparency. The schematic symbols in the other example are vector objects, so that doesn't apply.

There are two ways around this:

Hold down the option key when drawing the line. Then it won't connect to the object and it will show through transparent areas in the image.

If you need the line to be connected in the interior of the image's bounding box add a magnet to the image object with the magnet tool and connect to it. Transparency in the image will now act as you'd expect.

Kaz219 2014-04-24 10:04 PM

[QUOTE=john.gersh;130222]If you need the line to be connected in the interior of the image's bounding box add a magnet to the image object with the magnet tool and connect to it. Transparency in the image will now act as you'd expect.[/QUOTE]

That's exactly what I was looking for. I didn't realize that magnet let lines behave differently than objects. Thanks!


All times are GMT -8. The time now is 03:11 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.