How to save a large fractal image with a minimum memory size?

I am currently working on fractals, and when it comes to fractals, details are imperative. However, since I use Java, I run out of empty space when I get about 2000x2000px. Yes, I could increase a lot of space, but this is not a very elegant solution.

So my question is: Are there any image formats where I could write pixel data, how do I calculate it? If there are several, which ones are the easiest to understand? (Java libraries only support recording entire images at a time, from what I know).

Thanks!

+2
source share
2 answers

Well, there is always BMP. You can find some simple links to the BMP file format in wotsit .

+1
source

I think the best way to achieve this is to split the image into small square areas and render each one separately. Then try recompiling the tiles into one large image according to the suggestions in this thread. . The answer involves using JAI to assemble the tiles in a streaming fashion, rather than loading everything into memory right away.

+7
source

All Articles