View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000780 | JEDI VCL | 00 JVCL Components | public | 2003-03-10 14:45 | 2003-03-25 16:13 |
Reporter | SHC | Assigned To | user72 | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000780: BitmapToMemoryStream Error | ||||
Description | The function BitmapToMemoryStream works incorrectly. While translating from 24bit in 8bit the size of a stream remains as well as for 8bit. The decision, change at whom there is an access to CVS: *** JvGraph.pas Mon Feb 24 11:02:18 2003 --- JvGraph.pas.new Tue Mar 11 01:27:24 2003 *************** *** 1456,1462 **** Result := TMemoryStream.Create; try Result.Write(P^, Length); ! Result.Write(Bits^, ImageSize); Result.Position := 0; except Result.Free; --- 1456,1462 ---- Result := TMemoryStream.Create; try Result.Write(P^, Length); ! Result.Write(Bits^, ImageSize div 3); Result.Position := 0; except Result.Free; | ||||
Tags | No tags attached. | ||||