Commit e38dee8
Chris Dowling
Allow image/jpg as well as image/jpeg
Passing a jpg data URI with the wrong data header currently causes an
error from getJpegSize. This commit replaces 'jpg' with 'jpeg' in the
data URI and removes that error1 parent 5502399 commit e38dee8
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
143 | 146 | | |
144 | 147 | | |
145 | 148 | | |
| |||
0 commit comments