It's possible. TIFF supports 1-bit per pixel format. JPG only supports 8-bpp grayscale or 24-bpp RGB image. Plus JPEG compression is designed to compress photos.www.fengyuan.com

解决方案 »

  1.   

    已经找到生成图像同样大小JPEG文件的方法,但放大时图像失真。只能在显示时缩放图像了。
      

  2.   

    Image img = Image.FromFile(file);
    int hr = Convert.ToInt32(img.HorizontalResolution/100 );
    int vr = Convert.ToInt32(img.VerticalResolution/100);

    Image originalSize = new Bitmap(Convert.ToInt32(img.Width / hr),Convert.ToInt32(img.Height/vr));
    Graphics gph = Graphics.FromImage(originalSize);
    gph.DrawImage(img,0,0,originalSize.Width,originalSize.Height);
    gph.Save();
    pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize ;
    pictureBox1.Image = originalSize;
    img.Dispose();
    img = null;