Description
🚀 Feature
Let's say I'm using the picture preview function, but I only want to rotate my Image by 180 without resizing it. Currently, I would have to use the following request:
storage.getFilePreview(imageId, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 180);
I believe it would be easier to just use an Object, which would allow you to specify which parameters you want, without needing a row of undefined.
Have you spent some time to check if this issue has been raised before?
Yes. I asked in the Discord server and I also found issue #292 but it seems to be closed even though that feature is not implemented. I hope I didn't miss anything.
Have you read the Code of Conduct?
Yes.
Pitch
I believe this feature would improve readability and ease of use since you could just use
storage.getFilePreview(imageId, {rotation: 180});
Furthermore, I believe that this will become necessary, as Appwrite gets more features as someday it wouldn't make sense to use that much undefined.