(imgfile)
| 57 | |
| 58 | |
| 59 | def getImageFileName(imgfile): |
| 60 | name, ext = os.path.splitext(imgfile) |
| 61 | ext = ext.lower() |
| 62 | return [name, ext] |
| 63 | |
| 64 | def get_contain_resolution(image, size): |
| 65 | '''same code as Pillow ImageOps.contain()''' |
no outgoing calls
no test coverage detected