Jump to content
JHEarcht

transparent background in bitmaps

Recommended Posts

VW 2013, WindowsXP, Nvidia Quadro FX3000 graphics card

I sometimes use VW as a general purpose graphics application because it can handle both bitmaps and vector images. But I always have one frustrating problem. Imported PNGs & GIFs with transparent backgrounds display with black backgrounds. Ordinarily I would just select the image and change the fill in the attributes palette. But the selected item doesn't show up in the palette. The first image below has a clear background when opened in a bitmap application, but the inner areas are white. The second image is what I get when imported into VW. The fill is always black, but sometimes the inner white areas are transparent. Obviously, VW has no problem with clear backgrounds. So I assume the problem is with PNG & GIF files.

Is there any way to import a PNG with transparency in VW 2013?

fist%20bullet%20crop%2004-03-2015.png

Bullet_black%20background%2005-11-2015.jpg

Edited by JHEarcht

Share this post


Link to post

It should just do that automatically, however I have had some PNGs that Vectorworks has difficulty with. There is a trick to fix it directly in photoshop related to the color system, but i forget those steps, apologies, i'll try to find them and make an article for it.

However, opening it and saving it as a different format that still supports transparency (even in Paint) should work, I believe BMP and TIFF work as well.

Share this post


Link to post

Also: Sometimes you just have to select the image once its imported into Vectorworks and set the fill to None, but that can vary from image to image.

Share this post


Link to post

I am not sure if this is the preferred method but its what I do:

In photoshop select the white areas of the image and change. For HSB they would be 0,0,100%. Change this to 0,0,99%. The difference is not discernible. (see attached). Save as a PNG

In VW import the image file as a PNG and then turn off the solid colour fill. (see attached).

The white gets knocked out and the white inside stays as it is not pure white.

Maybe others know a better way to do this.

Edited by barkest

Share this post


Link to post

Thanks for your responses, but the problem is that none of those methods makes any difference. When I import the PNG into another graphics app, it has a clear background. But when I import it into VW, it is treated like a bitmap, with an added black background, but with no editable attributes. When I select the image, the attributes palette indicates no line or fill to manipulate. Apparently, VW is converting the PNG during import, into a bitmap without transparency. This problem goes back to much earlier versions than 2013.

Have any of you tried to save and import the image in my first post? If so, can you change the black background to clear? Thanks.

Edited by JHEarcht

Share this post


Link to post

Apologies, in Vectorworks 2015 it comes in with the transparent background as it should be. Vectorworks 2013 looks like it was never patched to correct this, as I see the same issue you describe, but no further patches or service packs will be released for that version or older ones.

(As a side note, images will always convert and say "Bitmap" in Vectorworks, thats just what image imports are called regardless of if they include transparencies or not, it doesn't mean they've become .BMP specifically.)

Share this post


Link to post

Thanks for your support. After trying a variety of graphic formats, I finally discovered that a Macintosh PICT file will import with a clear background. So I have now finished my little non-architectural side project.

Share this post


Link to post

I copy/paste a Photoshop image (mountain bike brake rotor) into Vectoworks, then use the attributes palette to remove the white background. That part works.

But when I try to flyover or view it on it’s side it won’t. I can draw other objects in the window and fly around those, but the image remains flat on the screen while flying around other images.

I can also Save it as a bitmap image and import into VW. Then I can flyover it, but can’t push/pull the image to give it 3 dimensions.

What the heck am I doing wrong! Must be missing my basic procedures in Vectorworks.

Any help would be appreciated!

Dan

Share this post


Link to post

Sounds like you need to import the image as a new resource, then make a texture of the image and apply it (OIP Render tab) to the selected 3d object. OR, import the image as a resource and apply it as an image fill to a 2d object.

PushPull converts to generic solid (always?) except Sub Face mode which creates a separate object. The generic solid or new object must have a color fill in order for the texture to show.

Post back if things are still messing up.

-B

Share this post


Link to post

I had this same problem in VW 2014—importing a png turned the formerly transparent background black. The SOLUTION (for me anyway) was to open the png in a photo editor, save as a bmp, and import the bmp file type instead.

 

T

Share this post


Link to post
1 minute ago, slothrop said:

I had this same problem in VW 2014—importing a png turned the formerly transparent background black. The SOLUTION (for me anyway) was to open the png in a photo editor, save as a bmp, and import the bmp file type instead.

 

T

 

This should no longer be needed after 2017, there is direct support for exporting alpha transparency now. But for 2016 and earlier this ^ is still the way to go.

Share this post


Link to post

Anyone tried the difference between being an interlaced PNG and not?

 

i remember there was a big issue many years ago with alpha channels and interlacing, 

Share this post


Link to post

I had no idea that interlacing could affect the way VW interprets PGNS.  I thought that interlacing only affected how Webpages loaded the image...It would be good to know this - and to establish a best practice for creating these images.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×