Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
text in the movie not clear

Subject: text in the movie not clear

From: nman2084

Date: 15 May, 2011 17:03:04

Message: 1 of 1

I am making a movie out of 5 PNG images using movie2avi, the images contain the title and pcolor plot. But the title in the image is not clear, i meant the text font. Since i am using windows 7, none of the compression format work (getting error) other than 'none'.

Here is the code:
clear M ;

for i=1:5
    s = int2str(i);
    fileName = strcat({'fig'},{s},{'.png'});
    fileName = cell2mat(fileName);
    [X,map] = imread(fileName) ;
    M(i) = getframe;

movie2avi(M, 'demo.avi', 'compression', 'none', 'fps', 1, 'quality', 100);

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us