Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
How to save images EXACTLY as it would be saved manually by pushing the "save" button?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello,
I have been saving images by click on the "save" button and save images generated as jpg files manually. Now I have a large amount of images to process and would want to automate the process. I have tried commands such as imwrite, saveas, etc. but none of these would save my image as it would by doing it manually. By that I meant the format of the images would always be different. Is there a command to save images EXACTLY as it would saved by pushing the "save as" button manually?
Thanks a lot!
0 Kommentare
Antworten (1)
Richard Zappulla
am 17 Jan. 2017
Not sure if you have tried the print( ) command, however, I find it useful. If you are unfamiliar with the command, there is a code snippet below.
ezplot('sinc(x)'), axis tight
[fname, path] = uiputfile('*.jpg', 'Where do you want to save the file?');
print('-djpeg', '-r300', fullFile(path, filename))
0 Kommentare
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!