Changeset 193 for oup/current/Global
- Timestamp:
- May 26, 2007, 4:24:55 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
oup/current/Global/OniImgClass.pas
r192 r193 56 56 begin 57 57 InitImage(singleimg); 58 CloneImage(FImages[Index ], singleimg);58 CloneImage(FImages[Index-1], singleimg); 59 59 ConvertImage(singleimg, ifX8R8G8B8); 60 60 rect.Left := 0; … … 424 424 else 425 425 ConManager.Connection[ConnectionID].LoadRawFile(fileid, $A0, TStream(data)); 426 427 // data.Seek(0, soFromBeginning); 428 // data.SaveToFile('m:\test.txmp'); 429 426 430 data.Seek(0, soFromBeginning); 427 431 result := LoadMultiImageFromStream(data, FImages); 428 432 data.Free; 429 433 { 434 if result then 435 begin 436 for i := 0 to High(FImages) do 437 begin 438 data := TMemoryStream.Create; 439 data.Write(FImages[i].Bits^, FImages[i].Size); 440 data.Seek(0, soFromBeginning); 441 data.SaveToFile('m:\test.txmp.'+IntToStr(i)); 442 data.Free; 443 end; 444 end; 445 } 430 446 if not result then 431 447 begin
Note:
See TracChangeset
for help on using the changeset viewer.