Search found 145 matches

by kernadec
Sun Mar 19, 2023 9:41 am
Forum: Feature Requests and Wishlists
Topic: Fred, please CanvasGadget() and surface with alpha support
Replies: 19
Views: 1367

Re: Fred, please CanvasGadget() and surface with alpha support

Hi, @mesa in your previous code the colors displayed in the canvas window are 32 bit colors whereas in the demivec code the 24bit colors are respected as well as their values ​​ it is just that the display of the alpha value must be blocked at 255 because with "Color Picker" the colors wit...
by kernadec
Sat Mar 18, 2023 7:25 am
Forum: Feature Requests and Wishlists
Topic: Fred, please CanvasGadget() and surface with alpha support
Replies: 19
Views: 1367

Re: Fred, please CanvasGadget() and surface with alpha support

Hello, Demivec, thank you for your code which I modified a little to compare it with ImageGadget using the IDE tool: Color Picker with alpha mode, we can clearly see the differences in the displays. so CanvasGadget() arrived at the beginning of 2012 we are in 2023 since we have processors which will...
by kernadec
Thu Mar 16, 2023 5:15 pm
Forum: Feature Requests and Wishlists
Topic: Fred, please CanvasGadget() and surface with alpha support
Replies: 19
Views: 1367

Re: Fred, please CanvasGadget() and surface with alpha support

hi, @Caronte3D
updated previous code to compare colors with imageGadget()
Best Regard
by kernadec
Thu Mar 16, 2023 5:11 pm
Forum: Feature Requests and Wishlists
Topic: Fred, please CanvasGadget() and surface with alpha support
Replies: 19
Views: 1367

Re: Fred, please CanvasGadget() and surface with alpha support

hi, @Caronte3D
updated previous code to compare colors with imageGadget()
best Regard
by kernadec
Thu Mar 16, 2023 9:30 am
Forum: Feature Requests and Wishlists
Topic: Fred, please CanvasGadget() and surface with alpha support
Replies: 19
Views: 1367

Re: Fred, please CanvasGadget() and surface with alpha support

hi, here is an alpha test in 24bit we obtain a color close truncated Best Regard If OpenWindow(0, 0, 0, 300,300, "Test Canvas RGBA (alpha in 24bit)", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) c.i = 0 c1.i = 0 b1.i = RGBA(Random(255),Random(105), 0, 100) b2.i = RGBA(0, Random(255),...
by kernadec
Thu Mar 16, 2023 7:58 am
Forum: Feature Requests and Wishlists
Topic: Fred, please CanvasGadget() and surface with alpha support
Replies: 19
Views: 1367

Re: Fred, please CanvasGadget() and surface with alpha support

hi, @Caronte3D
the usefulness of alpha when drawing with alpha objects overlaid
on the canvas you will have colors whose alpha value you cannot get with the point(xy) command
and that's annoying because any drawing software does this perfectly
Best Regard
by kernadec
Thu Mar 16, 2023 7:48 am
Forum: Feature Requests and Wishlists
Topic: Fred, please CanvasGadget() and surface with alpha support
Replies: 19
Views: 1367

Re: Fred, please CanvasGadget() and surface with alpha support

hi, I am an idiot. :oops:
and I do not master the English language.
Best Regard
by kernadec
Wed Mar 15, 2023 6:18 pm
Forum: Feature Requests and Wishlists
Topic: Fred, please CanvasGadget() and surface with alpha support
Replies: 19
Views: 1367

Re: CanvasGadget Function Point(x,y) in RGBA

hi, why so much discussion around a request as simple as this one.
To sum up,
Fred should give us the alpha channel for CanvasGadget()
all is said
Best Regard
by kernadec
Wed Mar 15, 2023 9:20 am
Forum: Feature Requests and Wishlists
Topic: Fred, please CanvasGadget() and surface with alpha support
Replies: 19
Views: 1367

Re: CanvasGadget Function Point(x,y) in RGBA

hi, Demivec thank you, ok there is ImageGadget() to do that thank you. but like CanvasGadget()
is designed for drawing, I don't see why it should stay 24 bit
while we now have 64-bit processors and all images have
at least 32 bit why stay with canvasGadget in 24 bit
Best Regard
by kernadec
Mon Mar 13, 2023 8:21 pm
Forum: Feature Requests and Wishlists
Topic: Fred, please CanvasGadget() and surface with alpha support
Replies: 19
Views: 1367

Re: CanvasGadget Function Point(x,y) in RGBA

Hi, Stargate ok thank you,
but the canvas is a drawing surface where you can use transparency but you can't recover color from fades to transparency
so why stay in 24 bits i think it's time now that the machines are more advanced with giga of ram so why not CanvasGadget
best regard
by kernadec
Mon Mar 13, 2023 11:11 am
Forum: Feature Requests and Wishlists
Topic: Fred, please CanvasGadget() and surface with alpha support
Replies: 19
Views: 1367

Fred, please CanvasGadget() and surface with alpha support

hello Fred it seems to me that it would be time to have with CanvasGadget the Point(x,y) function
which could return us a color in RGBA
best regard
by kernadec
Thu Nov 10, 2022 7:08 am
Forum: General Discussion
Topic: CloseWindow crash
Replies: 4
Views: 418

Re: CloseWindow crash

hi, :wink:

Code: Select all

#editMapWindow = 0

If IsWindow(#editMapWindow)
CloseWindow(#editMapWindow)
EndIf
bye
by kernadec
Thu Oct 14, 2021 9:19 am
Forum: Coding Questions
Topic: Smoother FillArea routine
Replies: 7
Views: 1599

Re: Smoother FillArea routine

hello,
Really nice thanks @ STARGÅTE, Michael Vogel
Best Regards
by kernadec
Tue Aug 24, 2021 8:13 am
Forum: Applications - Feedback and Discussion
Topic: [IDE Tool] LazyCoder
Replies: 37
Views: 17845

Re: [IDE Tool] LazyCoder

hi,
Thank you, for this coding help tool :D
cordially