Converting HTML Page to an image
Posted: Wed Dec 29, 2004 10:25 am
i have written an application. users save a case by a web form. when users finish the case they close the report and print it.
the application must not let the user to print an open case files. to achieve this goal the application locates an background image on the print page if the case file is still open. but printing a background image is depend on ie's options (the option must be enabled). by default this option is disabled. it's hard to say everone enabling the option. so my background image is never printed.
i need a different way. for example: converting html page (including background image) to image file (jpeg,gif). i have explored whether this way is possible with PHP ChartDirector, but i couldn't find anything.
anyone suggest me an idea?
my PHP environment is PHP 4.3.8 + apache 1.3.28 + FreeBSD 4.9
the application must not let the user to print an open case files. to achieve this goal the application locates an background image on the print page if the case file is still open. but printing a background image is depend on ie's options (the option must be enabled). by default this option is disabled. it's hard to say everone enabling the option. so my background image is never printed.
i need a different way. for example: converting html page (including background image) to image file (jpeg,gif). i have explored whether this way is possible with PHP ChartDirector, but i couldn't find anything.
anyone suggest me an idea?
my PHP environment is PHP 4.3.8 + apache 1.3.28 + FreeBSD 4.9