Samurai_Crow,
I wish that converting ARGB to RGBA was the main issue.
In the Datatype Object in order to get the pixel data from the bitmap we use PDTM_ READPIXELARRAY and PDTM_WRITEPIXELARRAY.
Using these functions with PBPAFMT_ARGB works fine. Using them with RGBA causes errors.
It may be caused by an internal problem in one of the libraries. I suspect I should start looking in Picture.datatype Library. Not sure at the moment.
So far I have located ReadPixelArray & WritePixelArray functions and I am looking at the two functions to see if there is a copy data problem.
It may take a little while till I identify what could possibly cause the alpha values to all be set to '0xff' but I'm getting closer to the truth.
I suspect it is an initialization error then failure to copy the real alpha values.
For example, in ReadPixelArray: (notice the initial value for alpha is 0xff).
/* Copy picture data pixel by pixel */
UBYTE r=0, g=0, b=0, a=0xff;
The good news is that everything else in BMPX picture datatype is working including the Load and Save functions for BMP and BMPX.
The only thing not working is alpha transparency until I figure out exactly why it isn't displaying correctly. But I'll solve that problem.
But I know how to create a cool blue neon effect. Just copy 'FF' (255) to all the Blue Values.