Bug 80245

Summary: Scale/resize images before attaching
Product: [Applications] kmail2 Reporter: marktd
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: annma, bgrolleman, bugs, kde, mightyiampresence, montel, richard.bos
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In: 4.10
Sentry Crash Report:

Description marktd 2004-04-24 04:39:02 UTC
Version:            (using KDE KDE 3.2.1)
Installed from:    RedHat RPMs

It would be very convenient if, when attaching image files, the image could be scaled before attaching.  E.g. when attaching an image to an email, a dialog would allow selecting something like "Full Size" and three of four "X x Y" sizes, or perhaps even just "Small", "Medium", etc.  Sensible defaults could be selected for any additional image properties (jpeg quality, etc.) or perhaps an "advance" tab could allow tuning of these paramaters.  This scaling would leave the original file untouched, only effecting the the attachment itself.

This would be *so* much more convenient than scaling the image by hand into a temporary file in another program just in order to attach a smaller version to an email - everyone with digital camera would thank you!
Comment 1 Richard Bos 2004-04-25 21:14:32 UTC
What a coincidence, I just wanted to create a wish item
to ask for this feature.  It comes with the famous OS
from redmond, where you can right click on a image or
images after which 'copy to email program' must be selected.

That pops up a dialogue asking whether the images must be
scaled or leave as is.  The dialog has an advanced part
that asks for the size (small, medium, big) of image(s) that
are going to be attached.  (now you know where it comes
from ;)

It's similar to the attach to email service menu, but with more
functionality...:
http://www.kde-look.org/content/show.php?content=11234
Comment 2 Mikael 2004-05-28 13:30:24 UTC
Happy to see that this feature is already in the wishlist !
I just installed Kmail for my parents and their biggest concern is to send digital photos. With this feature, they could really get it done because file management is already a big pain so I just don't dare to speak about image resizing nor do I want them to pollute the network with huge images :)
Comment 3 Shahar Or 2007-04-12 00:47:03 UTC
Just wanted to add myself! It really is a good feature - someone please pick it up! :) how about adding a "scale" column with a checkbox to the attachments table at the bottom of the message writer window, next to the "sign" and "compress" columns?

Thanks a bunch! My mother would also be thankful for this!
Comment 4 Philip Rodrigues 2007-04-17 23:54:23 UTC
You might be interested in the digikam photo sending feature, which does this. It works sort of the other way round - you choose the photos you want in digikam, then select the "send photos" option (I forget the exact name), and it runs a kmail composer with the scaled photos attached.
Comment 5 Shahar Or 2007-04-18 13:42:33 UTC
This is great advice, Philip - thanks!

While this will be useful, especially since my mom does use digikam, this feature should be implemented into kmail in my opinion.
Comment 6 Bas Grolleman 2007-06-28 12:42:18 UTC
The digikam feature is nice, but it should work with drag and drop, I mostly get this scenario. 

1. Someone sends me email about subject A
2. I open KPhotoalbum vind pictures about Subject A
3. Open with krita, resize, save to /tmp
4. Repeat when multiple foto's are concerned
5. Attach in mail

Skipping step 3 and 4 by just selecting multiple foto's and dragging them to the compose window would be not only saving time, but also make me attach photo's more often. 

If we do get a dialog, something like "Small", "Medium"  and "Original" would be nice, it would be even nicer if these values can be changed in the configuration screen. Poweruser could change it then, and people who don't care could use the defaults. 



Comment 7 Matthias Loitsch 2009-02-16 11:55:06 UTC
I also want to stress the importance of this feature!
This kind of feature is how kde/linux can get the edge over other OSs.
Most of the time, when people send me photos, they are extremely oversized. And that's not because they want it that way, but because they don't know better.
And when I'm sending photos, I really find it annoying to open a photo editor just to resize it.
Comment 8 Björn Ruberg 2009-12-21 00:24:49 UTC
*** Bug 103074 has been marked as a duplicate of this bug. ***
Comment 9 Anne-Marie Mahfouf 2011-11-30 17:36:35 UTC
Reassigning to KMail2
Comment 10 Laurent Montel 2012-11-14 07:37:49 UTC
Will implemented in 4.10.
Comment 11 Laurent Montel 2012-12-04 10:56:35 UTC
Fixed in 4.10
Comment 12 Richard Bos 2012-12-04 11:06:02 UTC
Thanks.  Looking forward to 4.10 :)
Comment 13 Laurent Montel 2012-12-04 11:11:52 UTC
It's a first step. Will continue to improve it in 4.11.