Add check for HEIF file to converter to convert HEIF images to jpg
This commit is contained in:
parent
c379a936e2
commit
77bbb1ee84
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue