imprint

reads an image file and prints it. Useful for converting tiff files to pdf and eps using matlab
632 Downloads
Updated 7 Apr 2011

View License

% imprint % Print an image file
%
% imprint(Filename,varargin)
%
% Reads the image file 'Filename' and prints the image using the print
% options in varargin. See the print command for more information on the
% available options.
%
% Note
% The printed image will use the resolution of the image. This can be
% overrided by including the '-rXXX' print switch
%
% Operation
% Reads an image file using 'imread' and 'iminfo' and plot the data
% on an invisible figure using 'image'. The figure is then printted
% using the 'print' command.
%
% Example
% % Convert tiff file to pdf
% Filename = 'Tester.tiff'
% nFilename = 'Tester'
% imprint(Filename,'-dpdf',nFilename,'-painters')
%
% % Convert tiff file to eps
% Filename = 'Tester.tiff'
% nFilename = 'Tester'
% imprint(Filename,'-depsc2',nFilename,'-painters')
%
% See also
% imprint print imread iminfo image
%

%% Author Information
% Pierce Brady
% Smart Systems Integration Group - SSIS
% Cork Institute of Technology, Ireland.
%

Cite As

Pierce Brady (2024). imprint (https://www.mathworks.com/matlabcentral/fileexchange/30991-imprint), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Convert Image Type in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0