View Issue Details

IDProjectCategoryView StatusLast Update
0000780JEDI VCL00 JVCL Componentspublic2003-03-25 16:13
ReporterSHCAssigned Touser72 
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0000780: BitmapToMemoryStream Error
DescriptionThe 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;
TagsNo tags attached.

Activities

SHC

2003-03-10 21:11

reporter   ~0001799

Was mistaken, to read follows so:
While translating from 24bit in 8bit the size of a file remains as for 24bit.

user72

2003-03-25 16:13

  ~0001867

Thanks. Fixed in CVS

Issue History

Date Modified Username Field Change