读取图象时,出现JPEG Error #52 错误??
如下的语句:
(fieldbyname('image') as TBlobField ).savetofile(extractfilepath(application.ExeName)+'photo.jpg');
JPEGImage1.Picture.LoadFromFile(extractfilepath(application.ExeName)+'photo.jpg');

解决方案 »

  1.   

    http://community.borland.com/article/images/20433/jpeg_errors.zip
      

  2.   

    先把Image1加载一张jepg的图片先((我也遇到过这个问题,,image控件要在Load Jepg的图片后才能显示jepg的,,这时你就会看到程序自动uses jepg单元了。((((((不过好像看过一张贴子能通过几句代码直接解决这个问题,但后来死也找不到了
      

  3.   

    to elilor:
    这些错误信息与错误号的对应关系呢?
      

  4.   

    Type in an Jpeg Error Number: 52Not a JPEG file: starts with 0x%02x 0x%02x