0

I trying save image with the command getframe but resolution is very low, so I can not give zoom.

For now I'm using the code:

[arq,dir] = uiputfile('*.jpg','Output Files');
fileName=fullfile(dir,arq);
f=getframe(handles.axes1);
[x,map]=frame2im(f);
imwrite(x,fileName,'jpg');

I need save in JPG and also need save the label (x,y) in graph. How can I do this?

There is another command better than the getframe?

4

0 回答 0