image format conversion with source code
Image format conversion
Step1. Just read the image
Step2. Fullfile() function
Build full file
name from parts
fullfile
replaces
all forward slashes (/
) with backslashes (\
) on Windows. On UNIX platforms, the backlash (\
) character is a valid character in file names and is not replaced.fullfile
does not trim leading or trailing
separators. fullfile
collapses inner repeated file separators
unless they appear at the beginning of the full file specification. fullfile
also collapses relative directories
indicated by the dot symbol, unless they appear at the end of the full file
specification. Relative directories indicated by the double-dot symbol are not
collapsed.
Step 3.
Just write the image of any extension.
Comments
Post a Comment