单张图像图片清单 [英] Single Image & Image List
问题描述
当前,我的成像程序对单个图像使用第三方成像控制,图像列表显示.
Currently my imaging program use 3'rd party imaging control for single image & image list display.
在"Paint"中像铅笔一样绘制应该在单个图像上完成.
Drawing like Pencil in the Paint should be done on the single image.
我想用Visual Studio提供的.NET控件替换这些第三方成像控件.
I want to replace these 3'rd party imaging control with the .NET control which Visual Studio provides.
我附上了程序的屏幕截图.
I attached screenshot of my program.
在我看来,单个图像可以用PictureBox代替,但是我对图像列表一无所知.
It seems to me that single image can be replaced with PictureBox, but I have no idea regarding Image List.
我可以使用哪个.NET控件替换当前的第三方控件?
Which .NET control can I use to replace current 3'rd party control?
有人可以给我一些想法吗?
Can anybody give me some idea?
推荐答案
imageList是图像列表,因此您可以使用List< Image>或List< Bitmap>存储一些全尺寸或重新采样(缩略图)的图像.
well an imageList is a List of images, so you could use a List<Image> or a List<Bitmap> to store a few fullsized or resampled (thumbnail) images.
如果要将列表显示为目录的缩略图视图,我建议使用数据库来存储缩略图,因为重新加载比重新处理目录中的所有图像以获得拇指大小要快得多.要存储在列表中的图像 或DisplayControl.
If you want to display the list as a view of thumbnails of a directory, I recommend using a DataBase to store the thumbnails, since reloading then would be much faster than re-processing all images in a directory to get thumb-sized images to store in a List or a DisplayControl.
此致
Thorsten
Thorsten
这篇关于单张图像图片清单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!