Forum: Multimedia
by Klaus01,
17. Mai 2019
.. die MemoryStream Klasse hat eine Methode write und eine weiterer writeBuffer.
Hier kannst du die Daten übergeben.
Grüße
Klaus
Forum: Multimedia
by Klaus01,
16. Mai 2019
wenn Du das gedrehte BMP als jpg speichern willst musst Du das Bitmap einer jpg Instanz zuweisen. Die TJpegImage Klasse hat auch eine Methode um in einen Stream zu schreiben.
var
jpg: TJpegImage;
bmp: TBitmap;
mStream: TMemoryStream;
begin
try
jpg := TJpegImage.Create;
try
Forum: Multimedia
by Klaus01,
16. Mai 2019
How do you rotate the image?
Do you rotate it by changing the orientation tag in jpg header?
This can be done directly in the memorystream by modifying the appropriate bytes.
Best regards
Klaus