News:

Interested in some really terrific mobile apps? Visit www.turboapps.com for details.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

PNG alpha channel no transparency

Started by Frederick Lm, November 06, 2017, 11:30:52 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Frederick Lm

I insert a png file with alpha channel, but TurboCAD show a white background, is there a way to turn on transparency?
TurboCAD Platinum 2021 64-bit

Majo

Please, look in to this thread -> https://goo.gl/Zbvzup if you are working in RedSDK Native Draw.
Maybe help you.
WorkPC->HP Z6 2x Xeon Gold 6138 CPU, 192GB RAM, NVIDIA RTX 4060 Ti, Win11 Pro 64bit

TC Pro Plat x64
www.invent.sk, www.facebook.com/marian.jurcak

nikkipollard

You could also try this.
In the selection info palette, on the image page, uncheck opaque back ground
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Frederick Lm

Quote from: Majo on November 07, 2017, 03:16:32 AM
Please, look in to this thread -> https://goo.gl/Zbvzup if you are working in RedSDK Native Draw.
Maybe help you.

My problem is not 3D texture. I am working in 2D, need to insert a picture with alpha channel, rendering is set to Native Wireframe. I can confirm my picture is OK as it works in another CAD software.
TurboCAD Platinum 2021 64-bit

Frederick Lm

Quote from: nikkipollard on November 07, 2017, 03:22:28 AM
You could also try this.
In the selection info palette, on the image page, uncheck opaque back ground

That is the first thing I tried, but didn't work.
TurboCAD Platinum 2021 64-bit

Dean

Quote from: Frederick Lm on November 07, 2017, 06:20:22 PM
Quote from: nikkipollard on November 07, 2017, 03:22:28 AM
You could also try this.
In the selection info palette, on the image page, uncheck opaque back ground

That is the first thing I tried, but didn't work.

Hi,
make sure "perspective" view is OFF when "opaque background" is unchecked.
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

Frederick Lm

Quote from: Dean on November 07, 2017, 07:25:54 PM
Hi,
make sure "perspective" view is OFF when "opaque background" is unchecked.

Yes, no perspective in camera setting. Drawing is on World Plan.

I think TurboCAD detect the image has alpha channel, as another image does not have the Opaque Background option. But the Opaque Background didn't work. The image with alpha channel was created in Inkscape.
TurboCAD Platinum 2021 64-bit

John R

#7
For me, the transparent areas show up "filled in" in TurboCAD. I think maybe this is setup backwards.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

nikkipollard

#8
files saved with gimp seem to work.
I am not really familiar with inkscape - so I could be saving incorrectly.
When I open  a  png file created with Inkscape in the gimp there is a white background, which is why the turn opaque background off
is not working, with a png file created in inkscape, in Turbocad.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Frederick Lm

#9
Quote from: nikkipollard on November 07, 2017, 09:53:24 PM
files saved with gimp seem to work.
I am not really familiar with inkscape - so I could be saving incorrectly.
When I open  a  png file created with Inkscape in the gimp there is a white background, which is why the turn opaque background off
is not working, with a png file created in inkscape, in Turbocad.

Inkscape version 0.92.2
GIMP version 2.8.22

I open the Inkscape created png in GIMP, I see the checker background so transparency is OK. In GIMP I add a white background layer below the image, filled another color on the background, the background color change but the png image layer still in intact.

Edit:
Both sprial.svg and sprial.png are save by Inkscape, GIMP open the png correctly. In TC the png is just white background even Opaque Background is checked.
TurboCAD Platinum 2021 64-bit

nikkipollard

On my system
I am not having a problem with png files created in illustrator, or gimp only files created in Inkscape.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Andy H

Quote from: nikkipollard on November 08, 2017, 04:29:18 AM
On my system
I am not having a problem with png files created in illustrator, or gimp only files created in Inkscape.

Nikki,   are you using GDI mode,   it works OK for me in GDI mode, but is buggy in RedSDK mode.

From what I've read on the Redway site, in many programs images are referenced using the top left corner of the image,  but RedSDK references the bottom left, and has to do some re-formatting, maybe this re-formatting is what messes up transparency in RedSDK. (just a wild guess).

Dean

Yep,
> same as Andy

Redsdk will drive you nuts :P

"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

nikkipollard

Yes I am in gdi mode. I gave up on RedSDK ages ago.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

nikkipollard

Not to sound too stupid but why are you saving as a png? Wouldn't a pdf file work better?

Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Frederick Lm

Quote from: nikkipollard on November 08, 2017, 06:04:25 AM
Not to sound too stupid but why are you saving as a png? Wouldn't a pdf file work better?

There is no way to insert a pdf file in TurboCAD, and I need to insert an image with transparency background PNG is a good choice.

I confirm transparency work in GDI native draw. Can I render a still image with RedSDK without select it in Native Draw?
TurboCAD Platinum 2021 64-bit

nikkipollard

You can underlay a pdf.
I prefer them to png files because they are still vector files
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Torfinn

I played with the other 3 options inside Image Property, the "black ones is original pictures, mine are jpg's.
And it work in Native Draw and Draft also.

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB