Picture loadfromfile without extension - detect image type
Hello,
I'm having an issue.
We store all our documents externally, including images.
To avoid filename conflicts we rename all files to guid files without extension. We keep a reference in the database with the original filename including the extension and the target filename (guid without extension).
Now I have a report that needs to load images from the file system so I pass the path to the file.
The loadfromfile tries to load the image but gives an error unknow picture extension.
My question: is it possible to have the picture loaded in the picture object giving a filename without extension (fastreport detects the image type)?
Thx,
Dominique