Moving an image workspace from memory to the hard drive
I'm wanting to render an oversize image line-by-line or block-or-block directly to the hard drive, but I'm having trouble finding how and with what packages. I've seen ImageIO which can only perform basic tasks, e.g. it can only encode completed images residing in the memory to an output file. I can have the program run calculations to predict the resolution of the completed image to write in the metadata before outputting the visual data. I was just hoping someone could at least point me to some good resources -- packages, classes, online tutorials, whatever -- that will help me accomplish this. Thank you.
Re: Moving an image workspace from memory to the hard drive
What will be written to the disk file for the selected pixels of an image? Say the first row/line of pixels in the image is white, what would be written to the file?
Re: Moving an image workspace from memory to the hard drive
The image is essentially monochrome. I'm trying to render an image of the first 1000 lines of Pascal's Triangle and I've rendered each line of the triangle to a series of output images. They're all simply black text on white background. (I was actually only able to render 924 rows, then I started hitting memory caps and I was figuring that solving one problem would ultimately lead to solving -- or at least being able to solve -- the other.) The output so far is 924 non-overlapping .BMPs measuring 1868750x20px and I simply wish to concatenate these together into one oversized image to be parsed by a zooming application, e.g. Zoomify, Gigapan, et. al.
I understand this doesn't directly answer your question, but hopefully it provides a clearer context.
Re: Moving an image workspace from memory to the hard drive
Quote:
concatenate these together into one oversized image to be parsed by a zooming application,
Sorry, I have no ideas on how to do that.