如题!我用Image读取出来时图片还很正常,但保存出来就失真了,不管到数库中,还是保存到文件当中,都一样,哪个大哥大姐,帮忙搞定

解决方案 »

  1.   

    每个ICon中有许多张Bitmap的,你是怎么保存的?
    能不能把代码贴出来呢?
      

  2.   

    每个ICon中有许多张Bitmap的,你是怎么保存的?
    能不能把代码贴出来呢?
      

  3.   

    每个ICon中有许多张Bitmap的,你是怎么保存的?
    能不能把代码贴出来呢?
      

  4.   

    每个ICon中有好几张bitmap的,你是怎么保存的呢?
    能否把代码贴出来让大家帮你看看
      

  5.   

      if savepicturedialog1.Execute then
        image1.Picture.Icon.SaveToStream(SavePictureDialog1.FileName);数据库是在网上找的资料
          with   ADOQuery1   do
          begin
              if Active then Close;
              sql.Clear;
              sql.Add('select * from gameicon where id = 2');
              try open;
              except exit;
              end;
              if IsEmpty then
                Append
              else
                Edit;          ms:= TMemoryStream.Create;
              try
                image1.Picture.Bitmap.SaveToStream(ms);
                ms.Position:=   0;
                FieldByName('ID').AsInteger:=   2;
                TBlobField(fieldbyname('Ico')).LoadFromStream(ms);
                post;
              finally
                ms.Free;
              end;
          end;   
      

  6.   

    Image1.Picture.Bitmap.PixelFormat := pf24bit; // 试试