Skip to content

Commit

Permalink
Version 2.6.1
Browse files Browse the repository at this point in the history
Updated Image32 library
  • Loading branch information
carloBarazzetta committed Feb 15, 2022
1 parent 58db382 commit 8adb651
Show file tree
Hide file tree
Showing 23 changed files with 3,676 additions and 3,708 deletions.
4 changes: 1 addition & 3 deletions Ext/SVGIconImageList/Image32/source/Img32.Fmt.QOI.pas
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function TImageFormat_QOI.LoadFromStream(stream: TStream; img32: TImage32): Bool
px: TARGB;
b1, b2: byte;
dst: PARGB;
src, endSrc: PByte;
src: PByte;
srcTmp: TArrayOfByte;
begin
Result := false;
Expand All @@ -132,8 +132,6 @@ function TImageFormat_QOI.LoadFromStream(stream: TStream; img32: TImage32): Bool
stream.Read(srcTmp[0], size);
src := @srcTmp[0];
end;
endSrc := src;
inc(endSrc, size - qoi_padding_size);

Move(src^, desc, SizeOf(TQOI_DESC));
inc(src, SizeOf(TQOI_DESC));
Expand Down
Loading

0 comments on commit 8adb651

Please sign in to comment.