Jump to content

Importing jpg files as images


Recommended Posts

Your original post asks for image in a polygon. I think that means an image cropped to fit inside a non rectangular shape. Sorry if this sounds pedantic:

The photo imports as a rectangle, and you may need to use it with part cropped out to a non rectangular shape. VW can't do the crop, but you can mask out parts with a rectangle with a hole(s) in it to reveal the part(s) you want. The holes can have any shape - polygon, circle, etc. Draw the rectangle with a fill color (white would be common), and the shapes for the holes. Select base and holes. Use the Clip Surface command (read about it in VectorWorks help). Delete the hole shapes leaving the rectangle as a polygon with holes clipped out of it. Place this poly in front of the image and the image will show through the holes. Group the image and poly, and send it back or forward to work with other elements in the drawing.

Another approach is to use other image editing software to make unwanted areas of the image transparent (alpha channel masking). VW can't do the alpha work, but the mask/image group described above can be exported as a png which can then be alpha'd by other software.

If you are working 3d, then image textures are the way to go.

-B

Link to comment

Benson, while what you are suggesting works, I think it is the hard way. Image fill is a much easier way to get the same (or similar) end result.

From the Resource Browser do New Resource in ...

Select Image and browse to the image file.

Draw/Select the polygon in the drawing. In the Attributes Palette, select Image as the fill type. Depending on the size of the image and the size of the polygon, it is likely to come in as black. Click the Settings (wrench) button next to the Image Fill in the Attributes Palette. Uncheck the Repeat check box. Change the I Length and/or the J Length to an appropriate size. Use the Attributes Mapping Tool to move the image around to properly fill the polygon.

Pat

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...