MuPDF 1.23.0 Documentation0xff); // Do the actual rendering. dev = fz_new_draw_device(ctx, fz_identity, data->pix); fz_run_display_list(ctx, list, dev, fz_identity, bbox, NULL); fz_close_device(ctx, dev); } fz_always(ctx) fz_drop_device(ctx = fz_new_list_device(ctx, list); // Run the page to that device. fz_run_page(ctx, page, dev, fz_identity, NULL); // Close the device neatly, so everything is flushed to␣ ˓→the list. fz_close_device(ctx createAnnotation("Stamp") annot.setRect([10, 600, 200, 700]) annot.setAppearance(null, null, mupdf.Matrix.identity, [ 0, 0, 100, 100 ], ˓→{}, "0 1 0 rg 10 10 50 50 re f") annot = page.createAnnotation("Stamp")0 码力 | 245 页 | 817.74 KB | 8 月前3
MuPDF 1.25.0 Documentation0xff); // Do the actual rendering. dev = fz_new_draw_device(ctx, fz_identity, data->pix); fz_run_display_list(ctx, list, dev, fz_identity, bbox, NULL); fz_close_device(ctx, dev); } fz_always(ctx) fz_drop_device(ctx MuPDF Documentation, Release 1.25.0 (continued from previous page) fz_run_page(ctx, page, dev, fz_identity, NULL); // Close the device neatly, so everything is flushed to␣ ˓→the list. fz_close_device(ctx createAnnotation("Stamp") annot.setRect([10, 600, 200, 700]) annot.setAppearance(null, null, mupdf.Matrix.identity, [ 0, 0, 100, 100 ], ˓→{}, "0 1 0 rg 10 10 50 50 re f") annot = page.createAnnotation("Stamp")0 码力 | 259 页 | 1.11 MB | 8 月前3
MuPDF 1.24.0 Documentation0xff); // Do the actual rendering. dev = fz_new_draw_device(ctx, fz_identity, data->pix); fz_run_display_list(ctx, list, dev, fz_identity, bbox, NULL); fz_close_device(ctx, dev); } fz_always(ctx) fz_drop_device(ctx MuPDF Documentation, Release 1.24.0 (continued from previous page) fz_run_page(ctx, page, dev, fz_identity, NULL); // Close the device neatly, so everything is flushed to␣ ˓→the list. fz_close_device(ctx createAnnotation("Stamp") annot.setRect([10, 600, 200, 700]) annot.setAppearance(null, null, mupdf.Matrix.identity, [ 0, 0, 100, 100 ], ˓→{}, "0 1 0 rg 10 10 50 50 re f") annot = page.createAnnotation("Stamp")0 码力 | 249 页 | 830.15 KB | 8 月前3
PyMuPDF 1.12.2 documentationselect() Examples setMetadata() Example setToC() Example insertPDF() Examples Other Examples Identity IRect Remark IRect Algebra Examples Link linkDest Matrix Remarks 1 Remarks 2 Matrix Algebra index next | previous | PyMuPDF 1.12.2 documentation » Classes Annot Colorspace Document Identity IRect Link linkDest Matrix Outline Page Pixmap Point Shape Rect © Copyright 2015-2018, below). Parameters: matrix (Matrix) – a matrix to be used for image creation. Default is the fitz.Identity matrix. colorspace (Colorspace) – a colorspace to be used for image creation. Default is fitz.csRGB0 码力 | 387 页 | 2.70 MB | 1 年前3
PyMuPDF 1.24.2 Documentationlets you zoom, rotate, distort or mirror the outcome. Page.get_pixmap() by default will use the Identity matrix, which does nothing. In the following, we apply a zoom factor of 2 to each dimension, which # zoom factor 2 in each dimension pix = page.get_pixmap(matrix=mat) # use 'mat' instead of the identity matrix 73 PyMuPDF Documentation, Release 1.24.2 Since version 1.19.2 there is a more direct way any raster graphic elements embedded therein). Instruction svg = page.get_svg_image(matrix=fitz.Identity) delivers a UTF-8 string svg which can be stored with ex- tension “.svg”. 11.10. How to Create0 码力 | 565 页 | 6.84 MB | 1 年前3
MuPDF 1.22.0 Documentation0xff); // Do the actual rendering. dev = fz_new_draw_device(ctx, fz_identity, data->pix); fz_run_display_list(ctx, list, dev, fz_identity, bbox, NULL); fz_close_device(ctx, dev); } fz_always(ctx) fz_drop_device(ctx = fz_new_list_device(ctx, list); // Run the page to that device. fz_run_page(ctx, page, dev, fz_identity, NULL); // Close the device neatly, so everything is flushed to␣ ˓→the list. fz_close_device(ctx countPages(); for (var i = 0; i < n; ++i) { var page = doc.loadPage(i); var pixmap = page.toPixmap(Identity, DeviceRGB); pixmap.saveAsPNG("out" + (i+1) + ".png"); } Use device API to draw graphics and save0 码力 | 175 页 | 698.87 KB | 8 月前3
waitress Documentation v1.4.0Transfer-Encoding: identity eventhough identity was valid in RFC2616, it was removed in RFC7230. Please update your clients to remove the Transfer-Encoding header if the only transfer coding is identity or update update your client to use Transfer-Encoding: chunked instead of Transfer-Encoding: identity, chunked. While validating the Transfer-Encoding header, Waitress now properly handles line-folded Transfer-Encoding X_FORWARDED_PROTO header, but only if the client address matches trusted_proxy. Default: http ident Server identity (string) used in "Server:" header in responses. Default: waitress backlog The value waitress0 码力 | 48 页 | 54.34 KB | 1 年前3
waitress Documentation v2.1.1Transfer-Encoding: identity eventhough identity was valid in RFC2616, it was removed in RFC7230. Please update your clients to remove the Transfer-Encoding header if the only transfer coding is identity or update update your client to use Transfer-Encoding: chunked instead of Transfer-Encoding: identity, chunked. Please see the security advisory for more information: https://github.com/Pylons/waitress/security/adv X_FORWARDED_PROTO header, but only if the client address matches trusted_proxy. Default: http ident Server identity (string) used in "Server:" header in responses. Default: waitress backlog The value waitress0 码力 | 53 页 | 58.27 KB | 1 年前3
waitress Documentation v2.1.0Transfer-Encoding: identity eventhough identity was valid in RFC2616, it was removed in RFC7230. Please update your clients to remove the Transfer-Encoding header if the only transfer coding is identity or update update your client to use Transfer-Encoding: chunked instead of Transfer-Encoding: identity, chunked. Please see the security advisory for more information: https://github.com/Pylons/waitress/security/adv X_FORWARDED_PROTO header, but only if the client address matches trusted_proxy. Default: http ident Server identity (string) used in "Server:" header in responses. Default: waitress backlog The value waitress0 码力 | 52 页 | 57.95 KB | 1 年前3
waitress Documentation v1.4.3X_FORWARDED_PROTO header, but only if the client address matches trusted_proxy. Default: http ident Server identity (string) used in "Server:" header in responses. Default: waitress backlog The value waitress passes prefixed with this value to be stripped of the prefix. Default is the empty string. --ident=STR Server identity used in the ’Server’ header in responses. Default is ’waitress’. Tuning options: --threads=INT Transfer-Encoding: identity eventhough identity was valid in RFC2616, it was removed in RFC7230. Please update your clients to remove the Transfer-Encoding header if the only transfer coding is identity or update0 码力 | 103 页 | 259.25 KB | 1 年前3
共 281 条
- 1
- 2
- 3
- 4
- 5
- 6
- 29













