quill-image-resize-module icon indicating copy to clipboard operation
quill-image-resize-module copied to clipboard

Actual resize possible?

Open koraysels opened this issue 5 years ago • 5 comments

is it possible to actually resize the base64 string after for example a POST to server ? now even if a user resizes a 4000px wide image. It stays that big. isntead of actually resizing..

koraysels avatar Aug 22 '19 12:08 koraysels

I am looking for this too. The main reason I need this is to reduce the size of the image in kb, not just how it looks in the editor.

I tried setting a max-width in the CSS, but the full-size image is still stored.

bradstdev avatar Mar 10 '20 14:03 bradstdev

Interested too!

ifocus22 avatar Apr 01 '20 15:04 ifocus22

I am creating email templates but its saving the full size image after resizing

vin33t avatar Apr 07 '20 11:04 vin33t

Hi, I recommend using https://www.npmjs.com/package/quill-image-compress, it should resize img on upload to fit max width and height and compress it. Resize after upload has no effect on file size.

vdias38 avatar May 01 '20 19:05 vdias38

I don't want to compress the image, I want to save the changed dimensions of the image

vin33t avatar May 13 '20 17:05 vin33t