How to Generate Thumbnail from Image or Video?

Hello everyone,

I’m building a simple gallery app and I’m having trouble starting with the gallery menu, I need it to view images/videos thumbnails in which their paths are written and loaded in a text file, loading and saving paths list is ok I’m just having difficulties translating those paths into thumbnails…

Also is it preferable to generate a small size thumbnail during adding to reduce loading times? if so how to achieve that? and worst case scenario how to get an Image/Video preview directly? and how to display them in a gallery-like view?

Any asset from the asset store may help?

Thank You,

ffmpeg has some functions that enable you to take thumbnails of video fairly easily. Displaying them in a “gallery-like” view is a bit vague and probably a bit more involved than you might be thinking.

1 Like