mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 04:59:26 +02:00
* Support for image comment in TARGA
This commit is contained in:
parent
eaa0c67cd9
commit
9de3e6b588
@ -156,6 +156,8 @@ begin
|
||||
begin
|
||||
SetLength(Identification,Header.IDLen);
|
||||
Stream.Read(Identification[1],Header.Idlen);
|
||||
If Length(Identification)<>0 then
|
||||
Img.Extra[KeyIdentification]:=Identification;
|
||||
end;
|
||||
If Toword(Header.MapLength)>0 then
|
||||
ReadPalette(Stream);
|
||||
|
Loading…
Reference in New Issue
Block a user