Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you display a png ? #11

Open
didibus opened this issue Feb 15, 2019 · 0 comments
Open

Can you display a png ? #11

didibus opened this issue Feb 15, 2019 · 0 comments

Comments

@didibus
Copy link

didibus commented Feb 15, 2019

Hey, I'm trying to display a png, but it doesn't seem to work.

I'm doing #unrepl/mime {:content-type "image/png" :content chart} where chart is a base64 encoded byte array of the png's content. I also tried with Base64 mime encoder, also did not work.

Now, I'm a bit confused, because if you just do: #unrepl/mime {:content-type "image/png" :content "123"} it shows the broken image logo as a result. So it is making believe that it should work, but it isn't it seems.

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

No branches or pull requests

1 participant