当前位置: 动力学知识库 > 问答 > 编程问答 >

background - Changing black pixels to be transparent in matlab

问题描述:

First, I'm new to matlab, so thanks in advance for any help.

I have a .png image that I have overlayed onto another image. How can I make only the black pixels on the .png image transparent? I have looked around and no one seems to specifically address this question clearly. I was trying to use either the 'BackgroundColor' function or alphadata.

thanks

网友答案:

Use EXPORT_FIG submission from the File Exchange.

I believe it supports background color transparency for PNG files.

分享给朋友:
您可能感兴趣的文章:
随机阅读: