CutyCapt - A Qt WebKit Web Page Rendering Capture Utility
CutyCapt - A Qt WebKit Web Page Rendering Capture Utility CutyCapt CutyCapt is a small cross-platform command-line utility to capture WebKit's rendering of a web page into a variety of vector and bitmap formats, including SVG, PDF, PS, PNG, JPEG, TIFF, GIF, and BMP. See IECapt for a similar tool based on Internet Explorer. Samples Here are some samples of CutyCapt generated renderings: PNG Snapshot of http://digg.com PNG Snapshot of http://csszengarden.com/?cssfile=/209/209.csspage=0 SVG Snapshot of http://silverlight.net PDF Snapshot of http://silverlight.net Status CutyCapt has a number of known quirks, most of which are caused by problems with Qt and/or WebKit. For example, Qt double-escapes % characters in addresses, meaning those cannot be loaded. Use of with caution. Also note that plugins probably do not work at the moment. Requirements CutyCapt depends on Qt 4.4.0+. Download CutyCapt-Win32-2008-06-11.zip (6MB, .exe for Win32 systems) Source code The source code is available in the SVN repositorty (download tarball). Usage Open a command prompt and ask for help: % CutyCapt --help ----------------------------------------------------------------------------- Usage: CutyCapt --url=http://www.example.org/ --out=localfile.png ----------------------------------------------------------------------------- --help Print this help page and exit --url=url The URL to capture (http:...|file:...|...) --out=path The target file (.png|pdf|ps|svg|jpeg|...) --out-format=f Like extension in --out, overrides heuristic --min-width=int Minimal width for the image (default: 800) --max-wait=ms Don't wait more than (default: 90000, inf: 0) --delay=ms After successful load, wait (default: 0) --user-styles=url Location of user style sheet, if any --header=name:value request header; repeatable; some can't be set --method=get|post|put Specifies the request method (default: get) --body-string=string Unencoded request body (default: none) --body-base64=base64 Base64-encoded request body (default: none) --app-name=name appName used in Use...
全文 | Detail, 來源 | Source
沒有留言:
張貼留言