在PDF中生成最小QRCode的方法是什么?
我读到Form XObject可以帮助添加一个图像,并在不同位置的pdf上多次显示。因此,考虑到这一点,如何可能绘制一个黑色正方形并正确定位它。
我找不到能做这件事的人。
在PDF中生成最小QRCode的方法是什么?
我读到Form XObject可以帮助添加一个图像,并在不同位置的pdf上多次显示。因此,考虑到这一点,如何可能绘制一个黑色正方形并正确定位它。
我找不到能做这件事的人。
这里是一个最小的例子,因为单像素最好设置为单色,但三色RGB在基本PDF中要容易得多
并不是像,可在此处找到https://github.com/GitHubRulesOK/MyNotes/blob/master/demo.pdf
0 obj
<</Length 320/Type/XObject/Subtype/Image/Width 27/Height 27/BitsPerComponent 8/ColorSpace/DeviceRGB/Filter[/ASCIIHexDecode/FlateDecode]>>
stream
789ce5924b1280300843bdffa5ebcee9e447ecb62c1cace491826bdd1b8f8aef
d39e844a00ca1387cd5aee1e08a1b2291b2f7ee0d0356a80bf3c07ed2e84ddc9
67b3e51c0742e90d38c1760364491e0b0365c2afcc6fae0fb96c976972747002
0ea581d2ad9c55e68481bba93ac3ae9d5bee520b0a576395ac194d0620cbc715
8f4070cb8903ba167cbbd1a4d8b1ff2d4b9397c40bdffcd373>
endstream
endobj
但是一个较小的独立文件更适合作为邮票模板,所以你可以根据需要更改图案或颜色,然后在各处盖章。
%PDF-1.7
%‰«Íï
1 0 obj <</Pages 2 0 R/Type/Catalog>> endobj
2 0 obj <</Count 1/Kids[3 0 R]/Type/Pages>> endobj
3 0 obj <</Contents 4 0 R/MediaBox[0 0 72 72]/Parent 2 0 R/Resources<</XObject<</Im0 5 0 R>>>>/Rotate 0/Type/Page>> endobj
4 0 obj <</Length 37>>
stream
q
72 0 0 72 0 0 cm
/Im0 Do
Q
q
Q
q
Q
endstream
endobj
5 0 obj
<</BitsPerComponent 8/ColorSpace[/Indexed/DeviceRGB 3<000000FFFFFF010101FF0000>]/Width 25/Height 25/Length 1270/Subtype/Image/Filter/ASCIIHexDecode>>
stream
0101010101010101010101010101010101010101010101010101010101010101
0101010101010101010101010101010101010101020202020202020101010201
0101020202020202020101010102010101010102010101010100010201010101
0102010101010201020202010201010101020101020102020201020101010102
0102030201020102010101010102010203020102010101010201020202010201
0201020202010201020202010201010101020101010101020102020201020102
0101010101020101010102020202020202010201020102010202020202020201
0101010101010101010101020201020201010101010101010101010100010202
0202010101020201020102020202020101010101010101020102010100010101
0102020102020102010001010101020101020201000101010100010202010102
0101010101010101010101010101010102020101020101010202010101010101
0101010101010101020102020102010101010101000101010101010101010101
0102020101010101010100010101010101010202020202020201010201010201
0001010102010101010101020101010101020102010202010101010101020101
0101010102010202020102010202010101010202010101010101010101020102
0302010201020101010101020102010101010101010102010202020102010202
0101010101010101010101010101010201010101010201010201010201010102
0202010101010101020202020202020101020202020100010101010001010101
0101010101010101010101010101010101010101010101010101010101010101
0101010101010101010101010101010101>
endstream
endobj
xref
0 6
0000000000 65536 f
0000000015 00000 n
0000000060 00000 n
0000000111 00000 n
0000000234 00000 n
0000000320 00000 n
trailer
<</Size 6/Root 1 0 R>>
startxref
1774
%%EOF
as single dots it can be scaled to any size without increasing number of bytes, and generally more efficient than any SVG variant.
How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...
Looking for solution to extract content from a PDF file (using console tool or a library). It will be used on server to produce on-line e-books from uploaded PDF files. Need to extract following ...
This is a bit more of a fun question than a serious one, but how does the Adobe PDF format make documents so... portable? I just created a small Word document, 235kb in size, containing multiple ...
How can I export an HTML table in my page as PDF and/or XLS? (preferably using JS (+jquery))
I am using a Java library called PDFBox trying to write text to a PDF. It works perfect for English text, but when i tried to write Russian text inside the PDF the letters appeared so strange. It ...
Possible Duplicate: Convert HTML + CSS to PDF with PHP? How can I convert an HTML page (via $cURL or something) to a PDF file?
Are there any free tools that I can use to convert a PDF document into an XPS document? Although a nice programmatic API would be nice, I m not opposed to shelling out to a command line tool to do ...
I need to develop a service able to convert MS Office and Open Office documents to PDF. And the PDF`s also need to be commentable when opened in ADOBE Reader. I have used a piece of software from www....