Skip to content

Design an new Image class for receive images with different sizes. #1871

@su-chang

Description

@su-chang

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

We can download image by this method toFileBox(), but we can not choice the image quality. Sometime we need compressed image only.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Maybe we could set a param for toFileBox(), just like this way : toFileBox(compressed: boolean): FileBox, and the default param value is true.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

If you agree with me, I will create a PR for it.

[enhancement]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions