Page 1 of 1

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

Posted: Fri Jan 09, 2015 9:42 pm
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

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

Posted: Fri Jan 09, 2015 9:48 pm
by falsam
Hello vmars316 :)
vmars316 wrote:a trial PB version for Download ?
Yes
:arrow: http://purebasic.com/download.php

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

Posted: Fri Jan 09, 2015 10:56 pm
by juror
What were you using in 2012 when you were programming in PureBasic?

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

Posted: Fri Jan 09, 2015 11:15 pm
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

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

Posted: Sat Jan 10, 2015 12:52 am
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()

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

Posted: Sat Jan 10, 2015 2:13 am
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)

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

Posted: Sat Jan 10, 2015 7:16 am
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

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

Posted: Sat Jan 10, 2015 4:56 pm
by vmars316
That's great TI-994A , Thanks