how to my indexed imgage as png file

2 Ansichten (letzte 30 Tage)
Anusha
Anusha am 30 Okt. 2013
Kommentiert: Anusha am 31 Okt. 2013
[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?

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by