Back

image quality not taking effect

  • 1
  • Storage
  • Cloud
Examinor
28 Mar, 2024, 04:44

I want a reduced quality of image but not getting it, still getting original image

TypeScript
 async getFilePreview(fileId : string){
          try {
            const fileUrl = await this.storage.getFilePreview(conf.BUCKET_ID,
              fileId,
              2000,2000,'top',10
              )
              return fileUrl
          } catch (error) {
            console.log(error);
            
          }
         }```
TL;DR
Developers want to reduce image quality but are still getting the original image when using the provided code.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more