How to save image using Matlab

Matlab Can save image in hard disk in any format using imwrite command.

imwrite(image_name,'path/image_name.jpg','jpg');

imwrite is command used to save image in hard disk.

image_name is name of image.

path is dir where you want to save image.

example :-
if you want have image named test in jpg format in naikgroup folder in D drive.

imwrite(test,'D:\naikgroup\test.jpg','jpg');

One Comment

Add your comments here

Back to Top