Skip to content

Identicon.saveAsSvg gives empty result #3

Description

@mcnckc

Could you please provide an example, of how to work with an Identicon.saveAsSvg funtion?
I'm trying it in android, as follows:

val icon = Identicon.fromValue("Hello", size = 64)
val stream = ByteArrayOutputStream()
icon.saveAsSvg(stream)
Log.d("Debug", "Recieved " + stream.toByteArray().size)

and the received bytearray appears to be empty.
Library is obtained with implementation 'io.github.thibseisel.identikon:identikon-android:1.0.0'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions