-
-
Notifications
You must be signed in to change notification settings - Fork 123
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
Picture Resize #262
Comments
Actually: RainLoop does not resize the picture. In ?admin go to extensions and install CKEditor. It might work for you. |
I have tested this again. The window for editing the resolution appears behind the e-mail. When does the email minimize to get to the editor window. This error happens only in Brave browser in Firefox this does not happen. But in all browsers you have a white border under the email. As I have already tried to show in the screenshot above. |
I would like to support the idea of an actual resize of the attached files as option. These days, with most cameras, photos are way bigger than what is accepted by most mail servers. At most you can attach 2 or 3 before reaching a 10MB limit. Sometimes you would like to send 10 without preserving best quality. It would be great if automatic resize was an option. |
@yeupou indeed!
Resizing is like: const canvas = document.getElementById("canvas");
const ctx = canvas.getContext("2d");
// step 1 - resize to 75%
const tmp_c = document.createElement('canvas');
const tmp_ctx = tmp_c.getContext('2d');
// Set the width & height to 75% of image
tmp_c.width = img.width * 0.75;
tmp_c.height = img.height * 0.75;
// step 2, resize to temporary size
tmp_ctx.drawImage(img, 0, 0, tmp_c.width, tmp_c.height);
// step 3, resize to final size
ctx.drawImage(oc, 0, 0, tmp_c.width * 0.75, tmp_c.height * 0.75, 0, 0, canvas.width, canvas.height); |
Hi, would like to replace rainloop completely with snappy. Do you think you can get rid of the error I showed above? Would be really nice |
For now all images that are pasted will get resized to max 1024px |
See #1593 |
in the original Rainloop there is the possibility to include images directly into the email and to change the size. Will you add this feature again? That would be great
The text was updated successfully, but these errors were encountered: