简体   繁体   English

如何用Delphi打开PIC图形文件

[英]How to open a PIC graphic file with Delphi

I have images saved into a old database and I trying to convert them to BMP. 我将图像保存到旧数据库中,并尝试将它们转换为BMP。 Some of them have a header 01 00 00 01 and I cannot open because in accordance with the information given in File signatures this images are PIC files . 其中一些标题为01 00 00 01,我无法打开,因为根据文件签名中给出的信息,这些图像是PIC文件。 Anybody knows how to open a PIC image with delphi. 有人知道如何用delphi打开PIC映像。 TBitmap, TPNGObject, TMetafile, TIcon and TJPEGImage doesn't work. TBitmap,TPNGObject,TMetafile,TIcon和TJPEGImage不起作用。

Thanks in advance 提前致谢

Mike Lischke's GraphicEx Library can open .PIC files. Mike Lischke的GraphicEx Library可以打开.PIC文件。

I'm sure there are other libraries around that can open .PIC files, but that's the first one I found. 我确定周围还有其他库可以打开.PIC文件,但这是我发现的第一个。

I would first verify that they are valid images. 我首先要验证它们是有效的图像。 Try dumping to file with .pic extension and open with Irfanview. 尝试使用.pic扩展名转储到文件并使用Irfanview打开。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM