No BSD License  

Highlights from
fig2jpg

Be the first to rate this file! 2 Downloads (last 30 days) File Size: 543 Bytes File ID: #20608

fig2jpg

by Ravi Chityala

 

08 Jul 2008 (Updated 09 Jul 2008)

convert fig files in a directory to jpg files

| Watch this File

File Information
Description

This program converts a set of fig files located in a directory in to jpg files. The program runs through the directory and gets a list of fig file names. These files are then read using the ‘openfig’ command and the output is written using ‘saveas’ command. For example, a file named 'image.fig' will be read and saved as 'image.fig.jpg'.

The only variable that needs to be changed is the figdirectory

Bonus: You can use the parsing directory structure to read any kind of files located in a directory.

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.5 (R2007b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
image generation Ravi Chityala 22 Oct 2008 10:09:17
figure Ravi Chityala 22 Oct 2008 10:09:17
images Ravi Chityala 22 Oct 2008 10:09:17
jpeg Ravi Chityala 22 Oct 2008 10:09:17
figure Zarnuji 03 May 2011 13:01:42

Contact us at files@mathworks.com