Closed daco closed 7 years ago
I always get a png image, even when loading a jpg. This is my second attempt to fix this with a regex on the data uri string. Now using a substring because the data uri can be very long and the regex will not perform very well on long strings.
thanks!
I always get a png image, even when loading a jpg. This is my second attempt to fix this with a regex on the data uri string. Now using a substring because the data uri can be very long and the regex will not perform very well on long strings.