Previously in Black of Space....
I am having memory issues with simply scaling the images up by factors of 10 and 100. Therefore, a solution needs to be found or zooming in will not happen.
And Now the Continuation
My current thinking is to split the images into grids of images, 256 rows and 256 collumns. Then each one can be scaled independently and ignored if it is off the screen. A simplified version, with only 3 rows and 3 columns, is shown:
This would allow me to use each image as its own rectangle, and only scale/render it if it is on screen. This means that the total memory consumption should be low enough not to pose problems and will allow zooming in to the 1 pixel = 1 meter scale.
This would be applied to all the images except for units, which are small enough to not pose an issue. The drawing and scaling for the compound image scheme is not complex, however splitting the images is the hard task.
Have you ever tried splitting an image manually? It's too tedious. I need a tool or GIMP script that will do it for me, but have not been able to find any yet. Imagesplitter is promising, but I do not have 24 dollars.
I simply need to find or write a program or script that automatically splits images via a grid. Although the grid does not need to be perfect, my code can tolerate irregular chunks, the task of splitting the image into hundreds to thousands of images is not doable by hand.
If you know of a program that can make my life easier, please let me know.
Good show, Thank you for watching BoS, and I want your feedback!