Thursday, December 08, 2005

Matlab: save figure to BMP(eps) file

1. Save the current figure to BMP file:
imwrite(frame2im(getframe),['startimg1.bmp']);

2. Save the image matrix to eps file:
temp3 = ['d_img', num2str(n), '.eps']; print('-depsc2', temp3);

No comments:

Post a Comment