Browse Source

Merge pull request #121 from PhillipLangMartinez/feature/increase-size-images-compression

increase maxWidth image
q-apps
AlphaX-Projects 2 years ago committed by GitHub
parent
commit
c36ec1c43d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      qortal-ui-plugins/plugins/core/components/ChatPage.js

2
qortal-ui-plugins/plugins/core/components/ChatPage.js

@ -2697,7 +2697,7 @@ class ChatPage extends LitElement {
await new Promise(resolve => {
new Compressor( image, {
quality: .6,
maxWidth: 500,
maxWidth: 1200,
success(result){
const file = new File([result], "name", {
type: image.type

Loading…
Cancel
Save