how to my indexed imgage as png file

조회 수: 1 (최근 30일)
Anusha
Anusha 2013년 10월 30일
댓글: Anusha 2013년 10월 31일
[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