Relative Content

Tag Archive for delphidelphi-11-alexandria

Converting ticks to a TDatetime in Delphi

In a Delphi (11.3) VCL program, I’m using a method to convert 63856301629552021 ticks to a TDateTime. I know Delphi works with a TDateTime from 12/30/1899 and I tried using TimeSpan := TTimeSpan.FromTicks(Ticks);, but without any success.
Here’s the function I’m calling:

Convert multiple single page TIFF files into one multi-page TIFF using Delphi VCL

In a Delphi (11.3) VCL program, I’m trying to create a multi-page TIFF file from individual TIFF pages. At first, I was able to successfully combine all the individual TIFF’s into one TIFF, but the pages just overlayed each other, and it was only 1 page. I want to output 1 TIFF with more than one page. So the output file path is valid and writable and the file is not locked by another user. Here’s the code: