Loading a background image at runtime
Hello,
I am using D7 and Rb 11.05.
I have a report with some background images.
To keep the rtm report size small I am using jpeg format, but this
raises a visualization problem previewing the report
with low resolution screens (my customers have old hardware
unfortunately..).
I could use bitmap but this increases the size of the report source.
What if I dynamically load the images at runtime ?
In this way I could deploy the bitmaps separately, keeping report size
small and having good quality in preview.
Which is the best approach ? Using bitmap from the db ?
But can a TppDbImage be used as a background ?
Or would it be better using a TppImage (like I am doing now)
and reading the files from the file system ?
Is this operation "rap-suppported " ?
Which option is better in your opinion ?
thanks for any tip/advice
bye
Nicola
I am using D7 and Rb 11.05.
I have a report with some background images.
To keep the rtm report size small I am using jpeg format, but this
raises a visualization problem previewing the report
with low resolution screens (my customers have old hardware
unfortunately..).
I could use bitmap but this increases the size of the report source.
What if I dynamically load the images at runtime ?
In this way I could deploy the bitmaps separately, keeping report size
small and having good quality in preview.
Which is the best approach ? Using bitmap from the db ?
But can a TppDbImage be used as a background ?
Or would it be better using a TppImage (like I am doing now)
and reading the files from the file system ?
Is this operation "rap-suppported " ?
Which option is better in your opinion ?
thanks for any tip/advice
bye
Nicola
This discussion has been closed.
Comments
One option would be to place the image component inside the PageStyle of the
report and manually load your images into those components at runtime. This
would simply be a matter of loading the file into its Picture property.
This could also be done with DBImages as well with less code.
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com