saveasExact(I,filen​ame,format,dims)

버전 1.0.0.0 (2.26 KB) 작성자: Bogdan Dzyubak
Save image to jpg/tiff/png with exact dimensions/no broder
다운로드 수: 45
업데이트 날짜: 2017/7/3

라이선스 보기

A wrapper function to save matrices/figures as jpg, tiff, png and other formats using exact pixel dimensions and without the white border. Core save as and print functions generally rescale the image and add a white border (e.g. 256x256 becomes 1500x900) which can be inconvenient for quantitative applications such as generating inputs to machine learning. This function is a convenience wrapper based on MatlabCentral and StackOverflow answers about this issue.

인용 양식

Bogdan Dzyubak (2025). saveasExact(I,filename,format,dims) (https://kr.mathworks.com/matlabcentral/fileexchange/63616-saveasexact-i-filename-format-dims), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2014b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Morphological Operations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

Added set(gca,'position',[0 0 1 1],'units','normalized') to do tight figure fit on Matlab installs not set up to always fit tightly.