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
Post a Comment