Skip to main content

C++ - v0.1.0

Released: 2026-05-29 GitHub Release

⚠ BREAKING CHANGES

  • core: img2num::labels_to_svg now returns std::string instead of char*. Callers using the C++ API must update their code to capture the return value as std::string and remove any associated std::free / delete[] calls. Callers using the C binding (cimg2num) are unaffected at the ABI level but should use img2num_free_svg to deallocate the returned buffer.
  • api: remove draw_contour_borders from labels_to_svg (#283)

✨ Features

  • example-app: (React) add GlassModal and upgrade Editor page (saving, histories, fullscreen, bug fixes) (#278) (d46a4c9)
  • library, bindings, examples: C bindings, C & C++ shared libs, C & C++ example apps (#263) (bb2403e)
  • python: enable Python bindings via pybind11 and add console-py example (#307) (294ae53)
  • unified image_to_svg function as complete pipeline (#335) (bdba68c)

🐛 Bug Fixes

  • gpu: handle fallback when no GPU is available (#286) (3d312ff)
  • graph-memory-leak: fix memory leak caused by shared_ptr(s) (#295) (33605a5)
  • webgpu: increase buffer limit beyond 256MB (#302) (fe3cf5a)

⚡ Performance Improvements

  • gpu: add WebGPU acceleration with automatic fallback to CPU (#272) (c385319)
  • optimize graph functions to reduce processing time ~2x (#290) (0f372bb)

♻️ Refactoring

  • api: remove draw_contour_borders from labels_to_svg (#283) (eee9b31)
  • core: update labels_to_svg to return std::string (#333) (a71e3b1)