qtconsole icon indicating copy to clipboard operation
qtconsole copied to clipboard

Copied images don't make it through email

Open boxboy opened this issue 8 years ago • 1 comments

I am using the Qt Console on Mac running Python 3.5 Using iPython with inline plotting.

If I make a plot and right-click "Copy Image". I can then paste into an email using Outlook. The image will appear in line with the email but when the receiver gets the email the image is missing. If I send to myself through gmail the image makes the trip. In the email received by Outlook there is a box with question mark indicating it knows there should be an image but no data was transmitted.

It seems like this is a difficult issue to track down but thought I'd share

boxboy avatar Sep 11 '17 18:09 boxboy

Thanks for reporting. I'm no expert with qtconsole, but it would seem that if you are able to send the image to yourself and everything works, I would think it is highly probable that the issue lies somewhere between and including your email client and that (and OS/etc.) of your recipient, and is very unlikely to have much to do with qtconsole. Therefore, are you able to somehow isolate this issue to qtconsole specifically, and not your recipient, images in general, your email client, your and your recipients' email providers, Python, iPython, your OS, etc? If any of these things change the outcome (such as sending the email through a different provider or a different recipient, as you've already done), then it would seem unlikely that the issue lies with qtconsole,

The only possibility I can naively think of would be something malformed in the PNG (or whatever) that some software handles better than others. However, knowing Microsoft's abysmal history of standards compatibility, particularly with PNG, SVG, etc, I'd tend to suspect Outlook as the culprit over something in the iPython/JuPyter stack. Best of luck!

CAM-Gerlach avatar Dec 12 '17 23:12 CAM-Gerlach