Skip to content

Add image base64 helpers#575

Merged
treeform merged 1 commit intomasterfrom
add-image-base64
Apr 30, 2026
Merged

Add image base64 helpers#575
treeform merged 1 commit intomasterfrom
add-image-base64

Conversation

@treeform
Copy link
Copy Markdown
Owner

Summary

  • add pixie/imagebase64 with Image.encodeBase64() and decodeBase64()
  • decode plain base64 image data or data:*;base64,... URLs
  • add dedicated base64 tests and expose helpers through bindings

Closes #550.

Tests

  • nim check src/pixie/imagebase64.nim
  • nim check src/pixie.nim
  • nim r tests/test_base64.nim
  • nim r tests/tests.nim

@treeform treeform merged commit 0fc4ef0 into master Apr 30, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Request for Image.getBase64()

1 participant