how to my indexed imgage as png file

1 visualizzazione (ultimi 30 giorni)
Anusha
Anusha il 30 Ott 2013
Commentato: Anusha il 31 Ott 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?

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Images in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by