Use this script to convert image files into data URI scheme so that the image itself can be embedded into the image tag.
>> data = imdata('foo.png');
>> html = ['<img src="' data "'>'];
>> html
'<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUg...">'
인용 양식
Thomas Spriestersbach (2026). imdata (https://kr.mathworks.com/matlabcentral/fileexchange/69332-imdata), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R2018b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
- MATLAB > External Language Interfaces > Web Services with MATLAB > Call Web Services from MATLAB Using HTTP >
Help Center 및 MATLAB Answers에서 Call Web Services from MATLAB Using HTTP에 대해 자세히 알아보기
태그
| 버전 | 게시됨 | 릴리스 정보 | |
|---|---|---|---|
| 1.0.0 |
