Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compress Image with Max Size without use upload #107

Open
pj-alvarado10 opened this issue Aug 3, 2023 · 10 comments
Open

Compress Image with Max Size without use upload #107

pj-alvarado10 opened this issue Aug 3, 2023 · 10 comments
Labels

Comments

@pj-alvarado10
Copy link

I need to compress an image and get compressed image with a max size. I have the image uploaded before, then I can not use uploadAndGetImageWithMaxSize(), then I use directly the function compressFile() but the last one doesn't have the option to put a max size like function parameter.

Is there a way to just call the file compression function but with a maximum final file size, without calling an upload function?

Thank you.

@LCseniordev
Copy link

Same for me. We have a dropzone and then crop functionality before compression.

Can you please advice on how to achieve Max Size compression in that flow?

Thanks in advance!

@dfa1234 dfa1234 added the willfix will be fixed asap label Nov 9, 2023
@dfa1234
Copy link
Owner

dfa1234 commented Nov 9, 2023

The only complication is to define what will be the input for the this compress function. If the upload is done externally, or using the upload function from the library? Maybe we need to support both

@mer30boy
Copy link

I also have a similar need. After uploading the photo, we perform a series of different processing operations and finally we need to compress it to the maximum size.
When do you think this feature will be available?
Thanks in advance!

@jaimink
Copy link

jaimink commented Jun 7, 2024

Waiting for this feature update. Any estimated timeline?

@dfa1234
Copy link
Owner

dfa1234 commented Jun 10, 2024

Waiting for this feature update. Any estimated timeline?

It's asked multiple times, so let say by the end of the week

@webdevrepo
Copy link

Waiting for this feature update. Any estimated timeline?

It's asked multiple times, so let say by the end of the week

Looking forward to hear an update on this..

@dfa1234
Copy link
Owner

dfa1234 commented Jul 16, 2024

missed last time. should have been done 1 month ago. This week for sure 😎

@webdevrepo
Copy link

Hey David, @dfa1234 anything new now. Im sure you have a lot of things to do, but it would be really great to see an update here.

@dfa1234
Copy link
Owner

dfa1234 commented Jul 22, 2024 via email

@dfa1234 dfa1234 mentioned this issue Jul 22, 2024
@dfa1234
Copy link
Owner

dfa1234 commented Jul 22, 2024

Code is being published, version 18.1.2

If someone in the thread feel like helping, please raise a flag is anything broke or something, I went on "yolo mode" for this one, with little test to speed up.

@dfa1234 dfa1234 added done and removed enhancement willfix will be fixed asap labels Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants