Skip to content

Commit

Permalink
Add support for images in webp format
Browse files Browse the repository at this point in the history
  • Loading branch information
p3k committed Dec 30, 2023
1 parent c38ed1e commit 1db17b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 2023 December 30

* Fix initialization of MarkDown in UIKit editor
* Add support for images in webp format

## 2023 August 26

Expand Down
2 changes: 2 additions & 0 deletions code/Image/Image.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ Image.getFileExtension = function(type) {
case 'image/png':
case 'image/x-png':
return '.png';
case 'image/webp':
return '.webp';
}
return null;
}
Expand Down

0 comments on commit 1db17b2

Please sign in to comment.