File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 12
12
13
13
"""
14
14
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
17
17
try :
18
18
from jpegio import JpegDecoder
19
19
except ImportError :
31
31
__version__ = "0.0.0+auto.0"
32
32
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ImageLoad.git"
33
33
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 ]]:
38
40
"""
39
41
Loads a JPG image from the open ''file''.
40
42
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