-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for other image formats (#95)
* Upgrade packages (#86) Co-authored-by: Marvin Sextro <[email protected]> * Support JPEG and other image formats; remove pngjs dependency (#93) * Support JPEG and other image formats; remove pngjs By using native Canvas to render images it was possible to remove dependency on external libraries to support image formats while supporting more formats like JPEG, GIF and WEBP for the QR image * Constrain images to 2 Mpx Co-authored-by: Marvin Sextro <[email protected]> * Upgrade packages Co-authored-by: Marvin Sextro <[email protected]> Co-authored-by: iBobo <[email protected]>
- Loading branch information
1 parent
de82c49
commit cc7fddb
Showing
5 changed files
with
942 additions
and
869 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
/// <reference types="next" /> | ||
/// <reference types="next/types/global" /> | ||
/// <reference types="next/image-types/global" /> | ||
|
||
// NOTE: This file should not be edited | ||
// see https://nextjs.org/docs/basic-features/typescript for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.