On 13.02.2019 11:40, LacaK wrote:
and in code I use for example:MS := TStaticMemoryStream.Create; MS.SetPointer(buffer, bufferLen); MS.Position := 0; Bitmap.LoadFromStream(MS); MS.Free;
Btw, you can omit "MS.Position := 0;", since it is already zero for a new stream. Yuriy. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel