Code covered by the BSD License  

Highlights from
Base64 Image Encoder

Base64 Image Encoder

by

 

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

base64test.m
%% Demo file for base64 image encoding
% Loads a MATLAB image (peaks), encodes it in base64
% and takes advantage of the web browser's support for 
% base64-encoded images (win32 platform only).

surf(peaks)
base64img;
close(gcf);

Contact us