zend framework - Zend_Pdf how to reduce the loading time of images? -
i built pdf document based on database records of 2 related tables. mastertable contains shopdata logos. in records of course don't save image itself, pathinfo. detailtable contains meeting dates, no problems one.
if start building pdf document takes time. tried alternatives:
- if limit records 10 works quite well, takes long load.
- if don't limit timeout.
- if annotate statements try without logos works fine
my question is, there possibility preload, caching or else zend_pdf minimize loading time?
if images contain transparent backgrounds, take long time render in zend_pdf. try removing transparent backgrounds (if possible) , see if makes difference. if helps, use gd library or imagemagick replace transaparent backgrounds white backgrounds logos being added database.
Comments
Post a Comment