Author Topic: [Fixed] Convert dds to png into a stream  (Read 105 times)

Offline Shira

  • Imaging User
  • *
  • Posts: 1
    • View Profile
[Fixed] Convert dds to png into a stream
« on: 3 May 2019, 19:01:14 »
Hi, I am able to load a .dds file and save it to a .png, but how can do I to onto a stream instead?

This generates an empty file:

Code: [Select]
Var Img: TImageData;
      tm: TMemoryStream;

  tm := TMemoryStream.Create;
  LoadImageFromFile('Z:\', Img);

Edit: found the issue, '.png' -> 'png'
« Last Edit: 3 May 2019, 22:46:36 by Shira »