Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Arno Welzel Newsgroups: comp.lang.php Subject: Re: web page to image Date: Mon, 10 Oct 2011 09:19:49 +0200 Organization: A noiseless patient Spider Lines: 33 Message-ID: <4E929C95.60303@arnowelzel.de> References: <74de1a18-820b-4985-899d-737b2fb8b655@u6g2000vbo.googlegroups.com> <60u397hp19d95qdsfcshc8tus0broop2sb@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Info: mx04.eternal-september.org; posting-host="KSNaR21y99BgGFPoSQKzUg"; logging-data="3601"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+M/54gXrVjJHETd9BMphrL6asmpYO7H90=" User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 In-Reply-To: Cancel-Lock: sha1:OfzReNFlRGT2phYS0MN+7STD3s8= Xref: x330-a1.tempe.blueboxinc.net comp.lang.php:3357 The Natural Philosopher, 2011-10-09 21:43: > bobm3@worthless.info wrote: >> On Sat, 8 Oct 2011 17:39:53 -0700 (PDT), bob >> wrote: >> >>> I want to turn a web page into a 768x1024 image using PHP. For >>> instance the script might load http://www.example.com/ and output a >>> 768x1024 image. Anyone know how to do this? >> >> I do this at work regularly for training/demonstration purposes. I >> use a gnome screen capture program which allows me to capture the >> entire desktop, current window or even a marked area and save the >> capture in any image format I desired. Then these captured images can >> be printed, emailed, included, even put in a presentation. Captured >> imaged looks as good as the real thing. > > yeah but that's a manual process innit? > > not under software control... gnome-screenshot can also be used as a command line tool with parameters to do screenshots without user interaction. See for examples. -- Arno Welzel http://arnowelzel.de http://de-rec-fahrrad.de