Base64 Image Encoder

Encode a MATLAB (R) figure or file on disk as a string in Base64

Al momento, stai seguendo questo contributo

Nota dell'editore: 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/

Cita come

Michael Katz (2026). Base64 Image Encoder (https://it.mathworks.com/matlabcentral/fileexchange/24514-base64-image-encoder), MATLAB Central File Exchange. Recuperato .

Riconoscimenti

Ispirato: Model Review Tool

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.0.0.1

Updated license

1.0.0.0