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