convert a pgm image to jpg Matlab -


i'm trying convert image found here pgm image jpg can't. i've tried answer of question found here didn't work. so, if please advise.

the problem in file-header:

pf 640 480 9757 

according wikidepida , this man page file should use p2 (for graymap) instead of pf (which seems invalid in cases):

p2 640 480 9757 

with little change (made in text editor) file opens fine.


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -