Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

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 <huishi.ca@gmail.com> 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]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.