Can it be integrated with JavaScript BPG decoder?
Closed this issue · 3 comments
vi commented
I look for static album generators that can do BPG.
As browsers don't usually support new picture formats, BPG offers a JavaScript decoder that adds this feature without browser support.
But that turns usual <img>
s to <canvas>
, so it does not typically works with galleries.
Jack000 commented
imagemagick does support BPG so it shouldn't be a problem. Canvas is not a big issue either, but to get it all working you'd need to make a custom theme that had the javascript decoder.
Given the niche nature of the format, maybe just fork the repo? I think this may not be in the scope of the main project.
Danfrost1 commented
What does all this code mean?
vi commented
Which code? bpgdec8.js
?