取消
显示结果 
搜索替代 
您的意思是: 

Include portion of existing PDF document in my vibration report


@Coryman wrote:

 

Can anybody help me get the front end of this task working?

All of the suggestions so far involve cutting and pasting while the document is still an adobe document.  That's not what I need.

All of the suggestions above is just convert PDF to PNG, then load and cut as you need, something like that:

Screenshot 2023-01-12 10.33.26.png

You must have ImageMagick with GhostScript installed, of course. Then you can play and adjust density and probably resample parameters to get suitable resolution. This will work if you need "hard copy" of the header without parsing any data.

 

0 项奖励
11 条消息(共 12 条)
361 次查看


@Coryman wrote (paraphrasing😞

So, I'm not looking to

1) create a pdf document,

2) import it into LabVIEW as an image and

3) take the top 25% from it. 

4) The bottom 75% is created by my code from saved data files.


I would:

1) create a pdf document in LabVIEW (with a PDF library or in Word and then save as or print to PDF),

3) with 25% standard stuff created by my code,

4) and 75% created by my code from saved data files.

 

I've been involved in PDF creation for 20 years, at times knowing the spec pretty much by heard. This use case comes up frequently.

 

PDF files are simply not suitable as a template.

 

PDF Forms are more suitable for that, but you'd need to implement a lot of the PDF specification and PDF Forms specification on top of that.

 

Converting a PDF to PNG is terrible, as you'd go from vector graphics to raster graphics.

0 项奖励
12 条消息(共 12 条)
349 次查看