Search found 5 matches

by Sailor
Wed Jan 12, 2022 11:50 pm
Forum: Coding Questions
Topic: display image
Replies: 27
Views: 3424

Re: display image

Thanks all, I get part of it, know what I was doing wrong, and made it work.
It's enough to get me started. I will have more stupid questions in the future.
by Sailor
Wed Jan 12, 2022 11:00 pm
Forum: Coding Questions
Topic: display image
Replies: 27
Views: 3424

Re: display image

Excuse me, I've been writing code my whole adult life, the last 20 years I've spent coding with MATLAB processing retinal images that led to 32 peer reviewed papers and 2 patents.

The code I posted was EXACTLY what the replier posted. It didn't work, I got a white screen. I didn't change a single ...
by Sailor
Wed Jan 12, 2022 10:34 pm
Forum: Coding Questions
Topic: display image
Replies: 27
Views: 3424

Re: display image

blank window.
What did I do wrong?
CompilerIf #PB_Compiler_OS = #PB_OS_Windows
imagefile.s = #PB_Compiler_Home + "examples\sources\Data\PureBasic.bmp"
CompilerElse
imagefile.s = #PB_Compiler_Home + "examples/sources/Data/PureBasic.bmp"
CompilerEndIf
If OpenWindow(0, 0, 0, 500, 300, "ImageGadget ...
by Sailor
Wed Jan 12, 2022 10:06 pm
Forum: Coding Questions
Topic: display image
Replies: 27
Views: 3424

Re: display image

It's somewhere in there, but I can't find it. I've looked. Over & over.
It's a simple question, can you provide a simple example?
by Sailor
Wed Jan 12, 2022 9:02 pm
Forum: Coding Questions
Topic: display image
Replies: 27
Views: 3424

display image

I'm very new to this language. For right now, all I want to do is load an image and display it. I can't find a topic that is this rudimentary, so ... help?