gulp-base64 icon indicating copy to clipboard operation
gulp-base64 copied to clipboard

Error message not shown when file too large

Open rattrayalex opened this issue 10 years ago • 1 comments

Hi,

Some of my fonts weren't embedding, despite the logs printed out from debug=true saying they were being encoded. When I set the maxImageSize to Infinity, the fonts were embedded. There were no logs or error messages printed explaining why the fonts were not being embedded, which would be a helpful thing.

It would also be nice to mention the default maxImageSize in the documentation.

Thanks!

rattrayalex avatar Jan 04 '15 12:01 rattrayalex

:+1: After noticing in the docs that no default for maxImageSize was set I wasn't expecting that my large font file be excluded. And agree this should be in the debug logs as I checked these first. Thanks.

thomaswelton avatar Jul 17 '15 08:07 thomaswelton