create pdf png for preview with tallcomponents