(path)
| 27 | |
| 28 | |
| 29 | def _check_image_file(path): |
| 30 | img_end = {"jpg", "bmp", "png", "jpeg", "rgb", "tif", "tiff", "gif", "pdf"} |
| 31 | return any([path.lower().endswith(e) for e in img_end]) |
| 32 | |
| 33 | |
| 34 | def get_image_file_list(img_file): |
no outgoing calls
no test coverage detected