Skip to content

Commit

Permalink
Merge pull request #221 from maliMirkec/main
Browse files Browse the repository at this point in the history
Fix for issue 220 where SVG as broken because the Buffer is Uint8Array.
  • Loading branch information
zachleat authored Oct 1, 2024
2 parents 0779299 + f7866c3 commit 2f8d196
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions sample/sample-issue-220.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
const eleventyImage = require("../img");

(async () => {
let results = await eleventyImage("https://images.ctfassets.net/qbmf238cr6te/2ExPY7uYyafazH0IfFnpTD/610bce5faa1598685f2985d2062dcf1f/heyflow-logo.svg", {
formats: [null],
widths: [null],
sharpOptions: {
unlimited: true
}
});

console.log( results );
})();

0 comments on commit 2f8d196

Please sign in to comment.