Multiwfn forum

Multiwfn official website: http://sobereva.com/multiwfn. Multiwfn forum in Chinese: http://bbs.keinsci.com/wfn

You are not logged in.

#1 2022-02-07 17:17:26

Hans
Member
Registered: 2018-10-24
Posts: 10

Transparent images using VMD

Hello.
Using Multiwfn it is possible to get transparent images by setting itransparent=1 in settings.ini.
I am wondering if it is possible to get transparent images using the VMD program.
For example, to the left of the attached image is an image with transparency obtained with Multiwfn, and to the right is an image obtained with VMD.
I can't find a way to get an image with transparency using VMD. Could you tell me if this is possible?


attached.png

Offline

#2 2022-02-07 21:58:59

sobereva
Tian Lu (Multiwfn developer)
From: Beijing
Registered: 2017-09-11
Posts: 1,639
Website

Re: Transparent images using VMD

Hello,

Set background color to e.g. pink. Then render the figure using VMD. After that, open the image file by Photoshop, choose Select > Color Range, then click pink region to select background region, and then delete corresponding part, the background will be removed.

You can also use the freely available Irfanview (http://www.irfanview.com) to realize this aim, see this tutorial:
Plotting Multiwfn logo (electron localization function of Li6) with transparent background
https://youtu.be/E7lAGac3aDM

Offline

Board footer

Powered by FluxBB