Add check for HEIF file to converter to convert HEIF images to jpg

This commit is contained in:
Theresa Gresch 2019-07-04 18:38:26 +02:00
parent c379a936e2
commit 77bbb1ee84

View file

@ -36,7 +36,7 @@ func (c *Converter) ConvertAll(path string) {
mediaFile, err := NewMediaFile(filename)
if err != nil || !mediaFile.IsRaw() {
if err != nil || !(mediaFile.IsRaw() || mediaFile.IsHEIF()) {
return nil
}