File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212
1313"""
1414
15- #A separate try for jpegio. Not every board supports it and this import may fail.
16- #If that happens an ImportError with a proper message needs to be raised
15+ # A separate try for jpegio. Not every board supports it and this import may fail.
16+ # If that happens an ImportError with a proper message needs to be raised
1717try :
1818 from jpegio import JpegDecoder
1919except ImportError :
3131__version__ = "0.0.0+auto.0"
3232__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ImageLoad.git"
3333
34- def load (file : BufferedReader ,
35- * ,
36- bitmap : BitmapConstructor ,
37- ) -> Tuple [Bitmap , Optional [ColorConverter ]]:
34+
35+ def load (
36+ file : BufferedReader ,
37+ * ,
38+ bitmap : BitmapConstructor ,
39+ ) -> Tuple [Bitmap , Optional [ColorConverter ]]:
3840 """
3941 Loads a JPG image from the open ''file''.
4042 The JPG must be a Baseline JPG, Progressive and Lossless JPG formats are not supported.
You can’t perform that action at this time.
0 commit comments