Mercurial > libervia-backend
view sat/plugins/__init__.py @ 3066:2cc2f65379f7
core: added imageCheck and imageResize methods:
imageCheck will give a report on image, notably it will tell if it's too big and needs to
be resized before a transfer.
imageResize will create a new image with the requested size and return a path to it.
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 29 Oct 2019 20:38:39 +0100 |
parents | f7deb1c36b47 |
children | 11003f9f92fb |
line wrap: on
line source
# XXX: the Monkey Patch is here and not in src/__init__ to avoir issues with pyjamas compilation # TODO: remove this when changes are merged in Wokkel from sat_tmp.wokkel import install install()