2 begginers question about images (want to save as bmp and
Posted: Wed Jun 11, 2003 12:08 am
Hi,
Iv never done nothing with images in PB, so maybe my questiosn are to basic.
1.- I want to save one image in the imagegadget as bmp
2.- I want to get every pixel on the imagegadget in a array
3.- Im trying to change the color of a image (my question 2 is about this). The image is black and white and maybe i want to do it green and white or red and white etc.
Its some kind of gradient (in fact is a type of 3d button) and i want to change the colors of the 'gradient'.
I do this same thing a time ago in VB using an array to read every pixel on the image and changing for its equivalent on a different gradient.
Can anybody imagine an easier way?
Thanks in advance:P
Iv never done nothing with images in PB, so maybe my questiosn are to basic.
1.- I want to save one image in the imagegadget as bmp
2.- I want to get every pixel on the imagegadget in a array
3.- Im trying to change the color of a image (my question 2 is about this). The image is black and white and maybe i want to do it green and white or red and white etc.
Its some kind of gradient (in fact is a type of 3d button) and i want to change the colors of the 'gradient'.
I do this same thing a time ago in VB using an array to read every pixel on the image and changing for its equivalent on a different gradient.
Can anybody imagine an easier way?
Thanks in advance:P