开发者

Delphi 6 / 7 Access Violation on TImage design time load

I'm trying to load a jpg file which is 604KB big 开发者_如何学运维into a TImage component on a vanilla TForm but the load causes it to fail with an access violation:

Access violation at address 402372AD in module vcljpg60.bpl. Write of address 0904000

I just tried it in Delphi 7 and the same is true except the vcl is 70 instead of 60 and the address is slightly different

Does anyone know of a bug in Delphi around jpg files?

Many thanks for any input on this cheers Colin


maybe you problem is due to the colorspace of your JPEG file. Delphi has issues displaying JPEG images that have been encoded using CMYK instead of RGBencoding.

Check this Enhanced JPEG implementation which fix the problem with the CMYK colorspace. also you can check this similar question Problem with showing some JPG files in Delphi.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜