Page 1 of 1

Loadbrush Alphachannel = true (fails)

Posted: Tue Mar 30, 2021 12:51 am
by Plexus2002
When I try to start my program written in HW8 with HW9 the Loadbrush =true, it fails?
Hollywood complains png pictures not have an Alphachannel picture.
But it works fine before in Hollywood 8.
Why is that?
More:
I paint this brush picture in ppaint and make an Alphachannel in here..
New bug in HW9?

Re: Loadbrush Alphachannel = true (fails)

Posted: Tue Mar 30, 2021 9:49 am
by Bugala
This one interests me since I have some porgrams that rely on loading alphachannels.

Can you send Andreas an example brush so he can try it himself to see if he can find out what is wrong there.

Re: Loadbrush Alphachannel = true (fails)

Posted: Tue Mar 30, 2021 10:28 am
by Plexus2002
Yes somthing is screwed in HW9 when I do Alphachannel with PPpaint för use in HW9...with HW 8 No problem..
But me can send he picture that I know worked before.

Re: Loadbrush Alphachannel = true (fails)

Posted: Tue Mar 30, 2021 10:38 am
by jPV
You'll have to use LoadTransparency instead of LoadAlpha for palette based PNGs now, it was kind of a bug in HW8 regarding this :) PPaint saves 8bit palette based PNGs and they don't have alpha channel.

Re: Loadbrush Alphachannel = true (fails)

Posted: Tue Mar 30, 2021 10:39 am
by Plexus2002
Ok I try that soon

Re: Loadbrush Alphachannel = true (fails)

Posted: Tue Mar 30, 2021 7:53 pm
by airsoftsoftwair
Yes, that's not a bug. It's Hollywood 8 that allowed you to load an alpha channel that wasn't really one. Use "LoadTransparency" instead.