For the first task you need Drawing Canvas object - paste your image onto the canvas, save snapshot, and then you can read pixel R G B A values from the snapshot.
As for converting numbers etc. - some things may be possible with Construct expressions, for others you can use Javascript code.
Set myNumber to Browser.ExecJS("......")