Changeset 127 for oup/current/Global


Ignore:
Timestamp:
Mar 23, 2007, 6:14:40 PM (18 years ago)
Author:
alloc
Message:
 
Location:
oup/current/Global
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • oup/current/Global/OniImgClass.pas

    r124 r127  
    618618      size := size + (x * y * bpp) div 8;
    619619    until (x = minside) or (y = minside);
     620    if FStoreType = 9 then
     621    begin
     622      repeat
     623        x    := x div 2;
     624        y    := y div 2;
     625        size := size + (x * y * 16) div 8;
     626      until (x = 1) or (y = 1);
     627    end;
    620628  end;
    621629  Result := size;
  • oup/current/Global/RawList.pas

    r124 r127  
    345345      datasize := datasize + (x * y * bpp) div 8;
    346346    until (x = minside) or (y = minside);
     347    if storetype = 9 then
     348    begin
     349      repeat
     350        x    := x div 2;
     351        y    := y div 2;
     352        datasize := datasize + (x * y * 16) div 8;
     353      until (x = 1) or (y = 1);
     354    end;
    347355  end;
    348356
Note: See TracChangeset for help on using the changeset viewer.