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

Function is_image_file

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

Source from the content-addressed store, hash-verified

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"))
280
281 if args.input_folder:
282 input_folder = os.path.abspath(args.input_folder)

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected