Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've made a madnelbrot set generator in C and I've rendered a massive 100,000 square pixel image and its come out to be 30GBs big. My computer has 4GBs ram, how long should it take to load it? Thanks for the help.

share|improve this question
    
Could you cut it up somehow? –  Jakob Weisblat Jan 15 '13 at 21:45
    
You tell me, is it possible to cut up bmp images? –  Jordan Brown Jan 15 '13 at 21:46
    
How did you store those 30GB in memory before rendering into a .bmp? –  Jakob Weisblat Jan 15 '13 at 21:48
    
I;m sure there's a way to cut it up and render it in multiple files separately from the program - I don't know how though ~ sorry. –  Jakob Weisblat Jan 15 '13 at 21:49
    
An optimisation I've made is to make a data file for every mandelbrot so that if I change the color or something then it loads really quickly and the data file for this was only 2GBs big –  Jordan Brown Jan 15 '13 at 21:53
show 3 more comments

2 Answers

It is impossible to load an uncompressed 30GB bitmap with only 4GB of RAM.

There may be a program that exists, similar to a text editor that can view a portion of a file at once, that can stream and view a portion of this image without loading it in it's entirety. I don't know of any specifically though.

share|improve this answer
    
thats a bummer. Preview is trying very hard at the moment, would it be possible for a program like that to render a scaled down version and alow me to navigate it? –  Jordan Brown Jan 15 '13 at 21:45
    
Well it could put it all on your page file (virtual memory) it's going to be painfully slow though... –  Kyle Jan 15 '13 at 21:46
    
thats good news. The data file took 1/2 a day and the file took a full day to write so if I can get it loaded in <Day then thats ok –  Jordan Brown Jan 15 '13 at 21:48
1  
I'd take Kyle's comment with a grain of salt. This is absolutely not feasible in the real world. If you want to scale it down, I'm sure there are plenty of programs that can do that for you. –  Bigbio2002 Jan 15 '13 at 23:38
add comment

I did something similar to this years ago, just checked and it was 7.5 gigapixels (yours is 10). Judging by what I wrote back then, it is possible to open such a large photo from within Photoshop, although mine created a 60GB temporary file, so you need some spare hard drive space.

I uplodaded it to a website dedicated to high resolution panoramas, although if you download similar software, it should hopefully work from your computer. Here's a link to the result I got, it's not the most ideal way of viewing a photo but it pretty much needs to be done for such large images - http://gigapan.com/gigapans/76165

Edit: Sorry, didn't quite realise how old the question was

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.