Base64 Image Encoder

版本 1.0.0.1 (2.5 KB) 作者: Michael Katz
Encode a MATLAB (R) figure or file on disk as a string in Base64
2.4K 次下载
更新时间 2016/9/1

查看许可证

编者注: This file was selected as MATLAB Central Pick of the Week

Base64img takes a MATLAB figure and encodes it as a JPEG in a base64 string. This string can be used directly in a web page to display an image without an image file (in a subset of browsers only- 32 bit Windows and Linux).
Base64file takes a file on disk and encodes it as a base64 string.

This submission uses the Apache Commons Codec library to perform the encoding http://commons.apache.org/codec/

引用格式

Michael Katz (2024). Base64 Image Encoder (https://www.mathworks.com/matlabcentral/fileexchange/24514-base64-image-encoder), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Call Web Services from MATLAB Using HTTP 的更多信息
致谢

启发作品: Model Review Tool

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.1

Updated license

1.0.0.0