The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: How to save .jpg file into .pgm
Replies: 1   Last Post: Dec 6, 2012 8:09 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Rustam Ahmed

Posts: 1
Registered: 12/6/12
Re: How to save .jpg file into .pgm
Posted: Dec 6, 2012 8:09 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

[pathstr, new_file_name, ext] = fileparts(file_name);
new_file_name=strcat(pathstr, new_file_name, '.pgm');
imwrite(MM, new_file_name, 'pgm');

Caterpillar <> wrote in message <eef6499.-1@webx.raydaftYaTP>...
> hi there, could someone give me a hint on
> how to save jpg file into pgm file?
> Thanks

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.