mediamonks / fast-image-sequence

The fast-image-sequence-renderer is a powerful package that allows you to display a sequence of images at a high frame rate on your website. It can be used to create smooth animations, 360 product views or video-like sequences from a series of images. Zero dependencies.
https://www.npmjs.com/package/@mediamonks/fast-image-sequence
16 stars 1 forks source link

Image Sequence Streaming: Request to Contribute to Fast Image Sequence Renderer #38

Open kimhongyeon opened 3 months ago

kimhongyeon commented 3 months ago

Hello,

I am a web frontend developer from Korea and I have been using the Fast Image Sequence Renderer extensively.

Recently, my company requested that I play thousands, even tens of thousands of captured images in a sequence like a video. Although I could convert them into a video format and use the video tag, due to internal constraints, I had to develop a solution by stitching the images together.

That’s when I found the Fast Image Sequence Renderer, and it has been incredibly useful. It’s really fast, has no dependencies, and is very performance-efficient. I am truly grateful for this tool.

However, I recently received a new requirement for streaming.

Fast Image Sequence Renderer, as it stands, is difficult to add frames to once initialized. It requires reinitialization to add more frames, which is inefficient and complicates the code since new images keep coming in over a short period, characteristic of streaming.

So, I forked the project and created a new public method called addMoreFrames. It works really well.

I would like to contribute this addMoreFrames feature to the Fast Image Sequence Renderer project by submitting a PR.

Thank you.

reindernijhoff commented 2 months ago

Thanks for your post and the PR! I'm glad you like the fast-image sequence; that's nice to hear.

kimhongyeon commented 2 months ago

Thank you for appreciating my PR.

The answers to your questions are included in the PR Reply, so you can refer to them there!