Andreas Lind
Andreas Lind
Yeah, looks like the parser doesn't handle semicolons within `url(...)`. One possible workaround is to add quotes around the url: ```css @import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400&display=swap'); ``` Or you can percent-encode the semicolon:...
> Another way to think about it is that we want a subset mode that only specific strings are needed to be rendered. Ie. a true `--text`. I'll think about...
There's also https://github.com/lovell/attention -- and talk about adopting features from it directly in sharp: https://github.com/lovell/sharp/issues/295
[Added support](https://github.com/papandreou/express-processimage/commit/85fcfe2e118dbe4d90720e3f71f0c40b67d79d6e) for `resize=x,y&crop=entropy` and `resize=x,y&crop=attention` using the sharp 0.16.0+ feature (https://github.com/lovell/sharp/issues/295). Released in express-processimage 7.3.0.
I don't know how it compares to smartcrop.js (which would be harder to integrate), but it looks very promising :)
Hmm, that sounds really weird -- that shouldn't be possible. You don't happen to be using a pre-0.4.0 version of https://github.com/papandreou/express-compiless as well, do you?
How exactly are you reproducing this?
Hmm, that seems to work fine for me, although I'm running Ubuntu 22.10. What does your `/usr/share/zoneinfo/zone.tab` look like?
Hmm, I tried overwriting my own `/usr/share/zoneinfo/zone.tab` with that, but I still cannot reproduce the error :thinking:
Hi! As you've found, the `sharpCache` option maps directly to http://sharp.dimens.io/en/stable/api/#sharpcacheoptions -- but unfortunately libvips' operation cache only applies to files loaded from disc, which doesn't happen with express-processimage, because...