File README-ffmpegimagethumbnailer.md of Package ffmpegthumbnailer

# ffmpegimagethumbnails

Extended ffmpegthumbnailer to support image files.

ffmpeg has wide multimedia file support, not only for video but for images too.

It will help with limited native thumbnail support, if not yet any.

## Support Images format (Tested on thunar)
- pcx 
- psd
- qoi
- apng
- dpx

Test it before adding more support images.

Not all will produce thumbnails because non-standard MIME types.


## How to test
### Install test apps (recommend using thunar)

`` $ sudo zypper install ffmpegthumbnailer thunar tumbler ``

### Choose image support and download sample files
See reference to get info for FFmpeg image support.

### make file from thumbnails and put at /usr/share/thumbnailers/{namefile}.thumbnailer
Example file:

```
[Thumbnailer Entry]
TryExec=ffmpegthumbnailer
Exec=ffmpegthumbnailer -i %i -o %o -s %s -f
MimeType=image/{mimetypes}
```

See reference to get info for MIME types.

### After put thumbnailer files, close thunar, re-open it and see success or not

`` $ thunar -q ``

`` $ thunar ``

### After success, put a new mime in the spec file.

`` for imgmime in {newmimetype} etc etc ; do ``


## Reference
[FFmpeg Image Format Supports](https://www.ffmpeg.org/general.html#Image-Formats)
[Summary about images format and sample files](http://fileformats.archiveteam.org/wiki/Graphics)
[Completely MIME types info](https://www.digipres.org/formats/mime-types/)
[Standard MIME types](https://www.iana.org/assignments/media-types/media-types.xhtml#image)
openSUSE Build Service is sponsored by