Express version of PB for Download ? + pixel read example ?

Everything else that doesn't fall into one of the other PB categories.
vmars316
Enthusiast
Enthusiast
Posts: 474
Joined: Fri Jun 29, 2012 12:24 am
Contact:

Express version of PB for Download ? + pixel read example ?

Post by vmars316 »

Hello & Thanks ,

Is there an Express version of PB ,
or a trial PB version for Download ?

Also , I am interested in an example of pixel reading .
Basically , load in an image , and then scan it pixel be pixel and report the hex value of each pixel .
Has anyone done this sort of thing ?

...vmars
vmars.us Win11 x64 , Martin Guitar 000-16 (1995)
"All things in moderation , except for love and forgiveness."
User avatar
falsam
Enthusiast
Enthusiast
Posts: 648
Joined: Wed Sep 21, 2011 9:11 am
Location: France
Contact:

Re: Express version of PB for Download ? + pixel read exampl

Post by falsam »

Hello vmars316 :)
vmars316 wrote:a trial PB version for Download ?
Yes
:arrow: http://purebasic.com/download.php

➽ Windows 11 64-bit - PB 6.21 x64 - AMD Ryzen 7 - NVIDIA GeForce GTX 1650 Ti

Sorry for my bad english and the Dunning–Kruger effect 🤪
juror
Enthusiast
Enthusiast
Posts: 249
Joined: Mon Jul 09, 2007 4:47 pm
Location: Courthouse

Re: Express version of PB for Download ? + pixel read exampl

Post by juror »

What were you using in 2012 when you were programming in PureBasic?
vmars316
Enthusiast
Enthusiast
Posts: 474
Joined: Fri Jun 29, 2012 12:24 am
Contact:

Re: Express version of PB for Download ? + pixel read exampl

Post by vmars316 »

juror wrote:What were you using in 2012 when you were programming in PureBasic?
Not sure , that computer is dead .
Now have "thinkpad carbon x11 non-touch Win7" .

Anyways , is there a "pixel read example" ?
Thanks
vmars.us Win11 x64 , Martin Guitar 000-16 (1995)
"All things in moderation , except for love and forgiveness."
PB Fanatic
User
User
Posts: 49
Joined: Wed Dec 17, 2014 11:54 am

Re: Express version of PB for Download ? + pixel read exampl

Post by PB Fanatic »

vmars316 wrote:I am interested in an example of pixel reading .
Basically , load in an image , and then scan it pixel be pixel and report the hex value of each pixel .

Code: Select all

w=5
h=5
CreateImage(1,w,h)

StartDrawing(ImageOutput(1))

For y=0 To h-1
  For x=0 To w-1
    Plot(x,y,Random(255))
    Debug "Color of pixel at "+x+","+y+" = "+Hex(Point(x,y))
  Next
Next

StopDrawing()
vmars316
Enthusiast
Enthusiast
Posts: 474
Joined: Fri Jun 29, 2012 12:24 am
Contact:

Re: Express version of PB for Download ? + pixel read exampl

Post by vmars316 »

falsam , PB Fanatic ;

Thanks , very helpful !
I just purchased PB x64 (personal) & quite hopeful about it .
I am very impressed with your abundance of examples and
your excellent documentation .

I am retired (hobbys include : guitar & programming) & write freeware also , nothing fancy .
Here's one ( http://www.portablefreeware.com/index.php?id=2333 )

Thanks again
...vmars (Vern)
vmars.us Win11 x64 , Martin Guitar 000-16 (1995)
"All things in moderation , except for love and forgiveness."
User avatar
TI-994A
Addict
Addict
Posts: 2791
Joined: Sat Feb 19, 2011 3:47 am
Location: Singapore
Contact:

Re: Express version of PB for Download ? + pixel read exampl

Post by TI-994A »

vmars316 wrote:I just purchased PB x64 (personal) & quite hopeful about it.
Hello Vern, and welcome back to PureBasic.

Just FYI, your recent purchase actually entitles you to the entire PureBasic suite, including the versions for Windows, Mac and Linux, for both x32 and x64. And it comes with a lifetime of upgrades too. :D
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel :D
vmars316
Enthusiast
Enthusiast
Posts: 474
Joined: Fri Jun 29, 2012 12:24 am
Contact:

Re: Express version of PB for Download ? + pixel read exampl

Post by vmars316 »

That's great TI-994A , Thanks
vmars.us Win11 x64 , Martin Guitar 000-16 (1995)
"All things in moderation , except for love and forgiveness."
Post Reply