how to my indexed imgage as png file

2 次查看(过去 30 天)
[cdata cmap]=imread("pc.gif");
How i save this image and view this?
Also i save this image as png file?
How it is possible?

采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2013-10-30
[cdata cmap]=imread('pc.gif');
imshow(cdata,cmap)%display your image
imwrite(cdata,cmap,'pc.png')
  2 个评论
Anusha
Anusha 2013-10-31
Error using imwrite (line 459) Can't open file "pc" for writing. You may not have write permission.
Anusha
Anusha 2013-10-31
i clear the error.. got output thank you

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by