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

How to render frame to img tag if outputType is jpg/jpeg #26

Open
JasonBoy opened this issue Nov 6, 2020 · 2 comments
Open

How to render frame to img tag if outputType is jpg/jpeg #26

JasonBoy opened this issue Nov 6, 2020 · 2 comments

Comments

@JasonBoy
Copy link

JasonBoy commented Nov 6, 2020

if I set outputType to some image instead of canvas, the return value is ContentStream, how Can I use it to render in <img/> tag?

@yzevm
Copy link

yzevm commented Nov 16, 2020

@nosed07
Copy link

nosed07 commented Sep 27, 2022

@YegorZaremba , I was able to install everything as expected. But still I have my doubts how to use the frameData[0].getImage() as src for an tag.

By the way, if I install your fork, it wont pick up gif-frames in var gifFrames = require('gif-frames');

Thanks

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

3 participants