1、首先转换为eps
jpeg2ps compile to exec file
./jpeg2ps -p a4 a.jpg -o x.eps
2、从eps转换到pdf
ps2pdf -dDownsampleColorImages=true x.eps out.pdf
1、首先转换为eps
jpeg2ps compile to exec file
./jpeg2ps -p a4 a.jpg -o x.eps
2、从eps转换到pdf
ps2pdf -dDownsampleColorImages=true x.eps out.pdf