I am running Dark Basic Professional Version 1.071 under Windows 7, 64 bit.
I need a method to:
(1) Load a 'picture' of size 8872 x 6472 pixels,
(2) Extract a sub-picture from it using specified coordinates x1,y1 (upper left hand corner) and x2,y2 (lower right hand corner),
(3) Save the resulting sub-picture to a file.
I use the word 'picture' to mean bitmap, image, sprite, or combinations thereof - whatever will accomplish my goal.
I plan to use this method in a loop to generate a series of sub-pictures. I do not need to display anything on the screen, as I am only interested in the resulting files.
Any help or advice would be greatly appreciated. Thank you all.