|
||
The ProImage ImageAssembler class and templates are a great way to add text to images.
They are simple to use and work quite well.
However you do need to take care in how you plan to use them in your applications.
If you are using a non-destructive method of adding text (such as the one illustrated in our section about using the CODE template), then you can safely add text at any time and as often as needed.
However if you are updating the original file in the storage medium, then you should NOT use the automatic method (so that the image gets updated EVERY time someone views the FORM) if you are using JPG images.
The JPG format is what is known as a "lossy" format.
The long and short of that is basically that every time you save the file, the image quality deteriorates a bit more.
If you need to update the physical image, your best bet is to design your application so that the user clicks a button to add the text to the image on demand. This will preserve the image quality.
The good news is that you have both the CODE template and the BUTTON control template available. It is just a matter of picking which one works best in your program and deciding where to use it.