从DIB到BITMAP [英] From DIB to BITMAP

查看:163
本文介绍了从DIB到BITMAP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人;
我正在从扫描仪中读取内容,并且想要从intpr转换为位图,然后将其显示在图像列表中....
任何帮助...
问候...

Dear All;
I am reading from the scanner and I want to convert from intpr to bitmap and then display them in image list ....
any help...
regards...

推荐答案

请参阅本文 [ ^ ]在这里CP.它的注释中还有一些其他选择.
See this article[^] here in CP. There are some extra alternatives in the comments of it.


感谢您的帮助:
但是现在我将位图添加到列表视图后,将其从图像列表添加到列表视图,
并且我在listView1_SelectedIndexChanged
上添加了一个功能
thank you for your help :
but now I am adding it to listview from the imagelist after adding the bitmap to the listview,
and I have added a function on listView1_SelectedIndexChanged
private void listView1_SelectedIndexChanged(object sender, EventArgs e)
    {
        for (int k = 0; k < listView1.CheckedIndices.Count; k++)
        {
                     pictureBox1.Image = imageList1.Images[listView1.CheckedIndices[k]];
            pictureBox1.Visible = true;
            pictureBox1.Size = new Size(200, 256);
        }

    }




但它给出的图像尺寸很小,溶出度低
扫描时如何看到真实的图像升华??
问候...




but it is giving a small picture size with low riselution
how can I see the real image riselution as it is scanned???
regards...


这篇关于从DIB到BITMAP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆