Copying images from Xnview MP to email clients

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

Post Reply
crimle
Posts: 9
Joined: Tue Sep 11, 2018 12:22 pm

Copying images from Xnview MP to email clients

Post by crimle »

- Open an image with Xnview MP
- Copy it to the clipboard by pressing [Ctrl]+[Shift]+[c]

1. Open Thunderbird
- Open a new email
- Insert the image from the clipboard to the email message by pressing [Ctrl]+[v]
→ This adds a thin grey line above the image.
→ Inserting the image without Xnview MP being involved, the image has no grey line above
→ See screenshot

2. Open Outlook
- Open a new email
- Insert the image from the clipboard to the email message by pressing [Ctrl]+[v]
→ The image has horizontal stripes and does look really bad
→ See screenshot

How can I prevent this? Is this a bug with Xnview MP? Or is this issue related to my computer's clipboard?

Thank you and kind regards
Chris
Attachments
2024-09-16-img-copied-from-XnViewMP-to-Outlook.png
2024-09-16-img-copied-from-XnViewMP-to-Thunderbird.png
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Copying images from Xnview MP to email clients

Post by xnview »

it seems that your image is 32bits, and client doesnt support it
Pierre.
crimle
Posts: 9
Joined: Tue Sep 11, 2018 12:22 pm

Re: Copying images from Xnview MP to email clients

Post by crimle »

It is indeed true that the image is 32bits. But Thunderbird obviously supports 32bit images. Example:
The very same image was inserted twice (see screenshot):
On the left is the image, that was inserted using Drag & Drop.
On the right is the same image, that was copied from Xnview using [Ctrl]+[Shift]+[c] and inserted using [Ctrl]+[v].
The image that was copied from Xnview has a gray line above.
2025-02-06-Xnview-Image-in-Thunderbird.png
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Copying images from Xnview MP to email clients

Post by xnview »

right, i can reproduce with Thunderbird. But in other apps, it's good and the image copied in clipboard seems to be good...
Pierre.
crimle
Posts: 9
Joined: Tue Sep 11, 2018 12:22 pm

Re: Copying images from Xnview MP to email clients

Post by crimle »

xnview wrote: Tue Feb 11, 2025 7:01 am right, i can reproduce with Thunderbird. But in other apps, it's good and the image copied in clipboard seems to be good...
I am not able to fully agree. I tried the same image with Microsoft Word 365.
On the left is the image, that was inserted using Drag & Drop.
On the right is the same image, that was copied from Xnview using [Ctrl]+[Shift]+[c] and inserted using [Ctrl]+[v].
The image that was copied from Xnview has many stripes and looks regrettable. It's much worse than in Thunderbird.
2025-02-11-xnview-word.png
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Copying images from Xnview MP to email clients

Post by xnview »

crimle wrote: Tue Feb 11, 2025 1:44 pm The image that was copied from Xnview has many stripes and looks regrettable. It's much worse than in Thunderbird.
alpha channel is not supported in Word
Pierre.
crimle
Posts: 9
Joined: Tue Sep 11, 2018 12:22 pm

Re: Copying images from Xnview MP to email clients

Post by crimle »

You say «But in other apps, it's good and the image copied in clipboard seems to be good...»

I tried Microsoft Word 365, Microsoft Outlook 365, Photoshop Elements and Thunderbird. None of these apps is suitable for pasting images from Xnview. Which apps do you recommend?

I do not know what an «alpha channel» is. And I wonder what should be done to improve the result. Should Microsoft, Adobe and Thunderbird work on their products? Or should users stop copying images from Xnview to other apps using the clipboard? Is the issue eventually being caused by the clipboard? If I first save the image to the harddisk and then insert it Drag & Drop, this works fine, but doing so is in some cases a little bit clumsy.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Copying images from Xnview MP to email clients

Post by xnview »

Your image has transparency in alpha channel (32bits), and these apps don't support, only 24bits image. So you need to convert your image (change color depth) in XnView before to copy it
Pierre.
crimle
Posts: 9
Joined: Tue Sep 11, 2018 12:22 pm

Re: Copying images from Xnview MP to email clients

Post by crimle »

Ok, I have no doubt that this is true. But what I do not understand:

The image looks perfect when it is dragged & dropped into Word, Outlook, Photoshop Elements and Thunderbird, despite the fact that «it has transparency in alpha channel (32bits)».
Only when it's copied from Xnview using the clipboard, it becomes kind of awful.
Xnview seems to apply some changes to the image at the moment it is copied to the clipboard.
If Xnview would do nothing else than forward the image untouched (unprocessed) to Word 365, Microsoft Outlook 365, Photoshop Elements and Thunderbird via the clipboard, these changes to the image would not happen, would they?
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Copying images from Xnview MP to email clients

Post by xnview »

crimle wrote: Mon Feb 17, 2025 7:43 am The image looks perfect when it is dragged & dropped into Word, Outlook, Photoshop Elements and Thunderbird, despite the fact that «it has transparency in alpha channel (32bits)».
Only when it's copied from Xnview using the clipboard, it becomes kind of awful.
Xnview seems to apply some changes to the image at the moment it is copied to the clipboard.
If Xnview would do nothing else than forward the image untouched (unprocessed) to Word 365, Microsoft Outlook 365, Photoshop Elements and Thunderbird via the clipboard, these changes to the image would not happen, would they?
When you use drag&drop, the file path is copied not image data.
you can test by using 'Edit>Copy to Clipboard>Filename and path'
Pierre.
Post Reply