在图片框中显示bmp [英] Display bmp in picturebox

查看:74
本文介绍了在图片框中显示bmp的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

展开 | 选择 | Wrap | 行号

推荐答案

缓解大写锁定;)


你能详细描述它是如何工作的吗?你提到它的运行,但你所说的只是它不起作用。图像显示不正确,或根本不显示?是否会抛出异常?


发布更多信息,我们会看到我们可以做些什么来帮助你:)


哦,还放松!在一个问题上很容易解决......它总是发生在我身上。试着退后一步,试着清醒一下,也许会做一些其他的事情,然后在你来的时候再回过头来。有时这就是你所需要的一切,而那些一直在躲避你的东西变得更加清晰。
Ease up on the caps lock ;)

Can you please describe in a little more detail how it''s not working? You mention it runs, but all you said is that it doesn''t work. Does the image display incorrectly, or not at all? Is there an exception being thrown?

Post a bit more information and we''ll see what we can do to help you out :)

Oh also, relax! It''s easy to get worked up over a problem... it happens to me all the time. Try to step back and try to clear your head, maybe do something else for a while, then come back to it when you''re more come. Sometimes that''s all you need and things that have been eluding you become more clear.


它正在运行,但只是获取文件的路径,但是不显示图片,有时会说这不是位图文件 。

i应该通过其heder信息获取bmp文件,然后逐个像素地显示它

i有足够的时间记录,:(

谢谢
it''s running but only get the path of file but don''t display picture,sometimes say "this is not a bitmap file" .
i should get bmp file by its heder information then display it pixel-by-pixel
i have note enough time ,:(
thanks


好吧,你的程序会输出那条消息......看起来它是以下条件下的其他条件:

Well, your program outputs that message... it looks like it''s the else condition to the following if block:

展开 | 选择 | Wrap | 行号


这篇关于在图片框中显示bmp的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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