ppDBImage and auto image format selection
Hi!
I have been using RBuilder since version 5. Now I'm using Delphi 7 +
RBuilder Pro 11
I know this has been asked several times, but have searched and I didn't
find anything...
A database graphic or blob field can contain different image formats (BMP,
JPEG, GIF, PNG, etc...) and developers have to 'detect' image format by
code.
However, AFAIK, RBuilder can't 'detect' the image format and we need to
pre-set it during design time.
So the obvious question is... Is it possible, or will it be possible, to let
Report Builder auto detects image format and change ir at runtime so a
single report file (.rtm files for example) to be compatible with any image
format automatically? Most users use different image formats in a simple
database.
Is there any alternative method to get it?
Thanks!
--
Santy
I have been using RBuilder since version 5. Now I'm using Delphi 7 +
RBuilder Pro 11
I know this has been asked several times, but have searched and I didn't
find anything...
A database graphic or blob field can contain different image formats (BMP,
JPEG, GIF, PNG, etc...) and developers have to 'detect' image format by
code.
However, AFAIK, RBuilder can't 'detect' the image format and we need to
pre-set it during design time.
So the obvious question is... Is it possible, or will it be possible, to let
Report Builder auto detects image format and change ir at runtime so a
single report file (.rtm files for example) to be compatible with any image
format automatically? Most users use different image formats in a simple
database.
Is there any alternative method to get it?
Thanks!
--
Santy
This discussion has been closed.
Comments
ReportBuilder currently cannot automatically determine which image format is
being loaded via DBImage automatically. This is a feature we are strongly
considering for the next major release of ReportBuilder.
In order to do this now, you would need to open the raw image data and try
to process the information given (most likely at the beginning/header).
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com