@BGPIC 1 and AROS

Report any Hollywood bugs here
ntromans
Posts: 69
Joined: Fri Jan 11, 2013 12:06 am

Re: @BGPIC 1 and AROS

Post by ntromans »

airsoftsoftwair wrote: Mon Jun 17, 2024 9:43 pm
ntromans wrote: Wed Jun 12, 2024 2:38 pm Just checked this on my Samsung n130 (native graphics driver), ArosOne 2.5 installed. Using @BGPIC does not load the alpha channel, but this does

LoadBGPic(1,"appleimg.png",{LoadAlpha=TRUE})

So looks like an issue with @BGPIC.
Using LoadBGPic() instead of @BGPIC shouldn't make a difference. AFAIR in contrast to OS4 and MorphOS AROS doesn't support windows with alpha transparency, does it? So LoadBGPic() and @BGPIC will load the alpha channel but it won't be drawn correctly because AROS doesn't support it.
Really sorry, my mistake. This was from some old code i was experimenting with a few years ago. I remembered I'd got it working (as in the area around the apple as transparent), but now I come to look again a bit more carefully, elsewhere in the code I'd put LoadBGPic(1,"appleimg.png",{tranparency=#BLACK}) and that's wat worked. Sorry about the confusion and my failing memory,

Nigel.
User avatar
Juan Carlos
Posts: 932
Joined: Mon Sep 06, 2010 1:02 pm

Re: @BGPIC 1 and AROS

Post by Juan Carlos »

ntromans wrote: Thu Jun 20, 2024 11:39 pm
airsoftsoftwair wrote: Mon Jun 17, 2024 9:43 pm
ntromans wrote: Wed Jun 12, 2024 2:38 pm Just checked this on my Samsung n130 (native graphics driver), ArosOne 2.5 installed. Using @BGPIC does not load the alpha channel, but this does

LoadBGPic(1,"appleimg.png",{LoadAlpha=TRUE})

So looks like an issue with @BGPIC.
Using LoadBGPic() instead of @BGPIC shouldn't make a difference. AFAIR in contrast to OS4 and MorphOS AROS doesn't support windows with alpha transparency, does it? So LoadBGPic() and @BGPIC will load the alpha channel but it won't be drawn correctly because AROS doesn't support it.
Really sorry, my mistake. This was from some old code i was experimenting with a few years ago. I remembered I'd got it working (as in the area around the apple as transparent), but now I come to look again a bit more carefully, elsewhere in the code I'd put LoadBGPic(1,"appleimg.png",{tranparency=#BLACK}) and that's wat worked. Sorry about the confusion and my failing memory,

Nigel.
You don't worry, in my case I change the transparent graphic for a solid one for AROS, only I would only like it if some AROS fan had informed me of this little problem, so as not to do the same thing in all my programs, putting a transparent graphic as the Nero-style start cover. :oops: :oops:
Post Reply