MCPcopy
hub / github.com/nadermx/backgroundremover / is_video_file

Function is_video_file

backgroundremover/cmd/cli.py:275–276  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

273 background_image = r(args.backgroundimage)
274
275 def is_video_file(filename):
276 return filename.lower().endswith((".mp4", ".mov", ".webm", ".ogg", ".gif"))
277
278 def is_image_file(filename):
279 return filename.lower().endswith((".jpg", ".jpeg", ".png", ".heic", ".heif"))

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected