ckormanyos / mandelbrot

High-precision Mandelbrot fractal iterations in C++ template code
Boost Software License 1.0
6 stars 3 forks source link

Iteration output for later coloring #129

Closed S-Streulicht closed 2 weeks ago

S-Streulicht commented 4 months ago

Sugestion: store as png pictures. Benefit:

Potential steps:

ckormanyos commented 4 months ago

Potential steps:

  • Make png lib runing
  • Use boost-gil with png to output the current picture (prove of principle)
  • store raw iterations as second picture

Hi @S-Streulicht I appreciate all of the ideas above.

These first three in particular seem rather straightforward and I/we could likely handle them in one simple effort.

S-Streulicht commented 3 months ago

building the defaultconfiguration from pnglib (libpng16.dll) is straight forward after retargeting to VS2022. Clone: https://github.com/pnggroup/libpng.git https://github.com/madler/zlib.git Retarget there are a a few warnings treated like errors: relative path to h-file: #include "..\pngpriv.h"-> include directory: \libpng unnassary #ifdef PNG_ARM_NEON_IMPLEMENTATION unfortunatel the lib simes to be subceptable to Spectre (https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/c5045?view=msvc-170) -> disable the warning by the flag: /wd5045

fine tuning for our putpose is needed in the libpng\pnglibconf.h file. Next step I'll try is include the lib generation into the mandelbrot project.