import { Storage } from "https://deno.land/x/appwrite@12.1.0/mod.ts";
Get file preview
Get a file preview image. Currently, this method supports preview for image files (jpg, png, and gif), other supported formats, like pdf, docs, slides, and spreadsheets, will return the file icon image. You can also pass query string arguments for cutting and resizing your preview image. Preview is supported only for image files smaller than 10MB.
Parameters
optional
gravity: ImageGravityoptional
output: ImageFormat