The source files (.BMP or .JPG) are the size 640 X 480 or bigger. I need to make the picture visible on screen. So far no problem. What I need is a peace of the picture copied into a new file (the size has to be 200 X 140).
1) Is it possible to place a rectangle on top of the picture (200 X 140) so it can be moved by the mouse to the correct position in to the picture.
2) If question one is answered with yes. Is it possible to copy the part of the picture inside the rectangle to a new file (.BMP or .JPG).
3) Is it possible to reduce the colors from 24 bits to 8 bits (256 colors), otherwise the size of the file will be to big (.BMP) or is this by .JPG no problem. The size of the new file has to be arround 30 Kb maximum. How do I have to do that.
Is it possible to give a little example of the procedures and funtions needed to do this (to select the part of the picture, to save the part into a new file and to reduce the colors if nescesary).
Thanks in advance,
PS Sorry for my poor English.