林 智子
2011-03-18 08:34:13 UTC
Dir Sir,
We are using ImageMagick-6.5.9-10.
When we convert with -resize option, we find the following problems:
1) % convert -resize 48x14 f1.pgm f2.pgm
% display f2.pgm
When display command displays the converted image, f2.pgm, the
image cannot be displayed well.
2) % convert -resize 48x14 -compress none f1.pgm feep3.pgm
% display f3.pgm
When display command displays the converted image, f3.pgm,
the image is blurred.
f1.pgm is as follows:
% cat f1.pgm
P2
24 7
63
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 12 0 0 0 0 0 29 29 29 29 0 0 46 46 46 46 0 0 63 0 0 0 0
0 12 0 0 0 0 0 29 0 0 0 0 0 46 0 0 0 0 0 63 0 0 0 0
0 12 12 12 0 0 0 29 29 29 0 0 0 46 46 46 0 0 0 63 63 63 63 0
0 12 0 0 0 0 0 29 0 0 0 0 0 46 0 0 0 0 0 63 0 0 63 0
0 12 12 12 12 0 0 29 29 29 29 0 0 46 46 46 46 0 0 63 63 63 63 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
%
We want to know how to fix these problems.
Best Regards,
----
Tomoko Hayashi
E-Mail: ***@u-aizu.ac.jp
We are using ImageMagick-6.5.9-10.
When we convert with -resize option, we find the following problems:
1) % convert -resize 48x14 f1.pgm f2.pgm
% display f2.pgm
When display command displays the converted image, f2.pgm, the
image cannot be displayed well.
2) % convert -resize 48x14 -compress none f1.pgm feep3.pgm
% display f3.pgm
When display command displays the converted image, f3.pgm,
the image is blurred.
f1.pgm is as follows:
% cat f1.pgm
P2
24 7
63
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 12 0 0 0 0 0 29 29 29 29 0 0 46 46 46 46 0 0 63 0 0 0 0
0 12 0 0 0 0 0 29 0 0 0 0 0 46 0 0 0 0 0 63 0 0 0 0
0 12 12 12 0 0 0 29 29 29 0 0 0 46 46 46 0 0 0 63 63 63 63 0
0 12 0 0 0 0 0 29 0 0 0 0 0 46 0 0 0 0 0 63 0 0 63 0
0 12 12 12 12 0 0 29 29 29 29 0 0 46 46 46 46 0 0 63 63 63 63 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
%
We want to know how to fix these problems.
Best Regards,
----
Tomoko Hayashi
E-Mail: ***@u-aizu.ac.jp