pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Hanowski <g...@enventive.com>
Subject Re: Can pdfbox find a dimension in a pdf drawing, zoom up on it, highlight it, and create an image file?
Date Wed, 20 Mar 2019 14:39:52 GMT
That's just an example to help people understand what a dimension is and 
what I'm trying to accomplish.  The real pdf drawings are proprietary so 
can't show them.  But they will not be screen shots.  They will be PDF 
drawings generated by the CAD (Computer Aided Design) systems.

Greg

On 3/20/2019 1:45 AM, Tilman Hausherr wrote:
> That's just an image in a PDF. No way to find that dimension 
> programmatically (one could use OCR, with all the difficulties)
>
> Tilman
>
> Am 19.03.2019 um 22:18 schrieb Greg Hanowski:
>> Ok, I've uploaded it to here:
>>
>> http://www.tekknow.net/MoneyMachine/drawing.pdf
>>
>> I want to be able to programmatically zoom up on the "4 +/- 0.2" 
>> dimension, for example, highlight it in some way (Put a transparent 
>> yellow over it, or change the color of it), then create an image file 
>> of the zoomed up view.
>>
>> On 3/19/2019 2:35 PM, Tilman Hausherr wrote:
>>> Hi,
>>>
>>> nothing attached, you need to upload it somewhere. It would be 
>>> useful to have the PDF too. If you can't share it, then please 
>>> create a dummy. Btw I don't have Adobe Professional, only the reader.
>>>
>>> Tilman
>>>
>>> Am 19.03.2019 um 21:29 schrieb Greg Hanowski:
>>>> I've pasted a screenshot of an engineering drawing.  Dimensions are 
>>>> the numbers that define distances between two points.  I want to be 
>>>> able to programmatically zoom up on the 12.000 dimension, for 
>>>> example, highlight it in some way (Put a transparent yellow over 
>>>> it, or change the color of it), then an image file of the zoomed up 
>>>> view.
>>>>
>>>> **
>>>>
>>>> On 3/19/2019 1:33 AM, Tilman Hausherr wrote:
>>>>> Am 18.03.2019 um 22:40 schrieb Greg Hanowski:
>>>>>> We get pdf engineering drawings from suppliers.  We need to 
>>>>>> programmatically zoom up on a specified dimension, highlight it,

>>>>>> and create an image file of the zoomed up view.  How to specify

>>>>>> the dimension is unknown. Some dimensions might have the same 
>>>>>> text so not sure how to differentiate.  Suggestions welcome.  Can

>>>>>> pdfbox do this? 
>>>>>
>>>>>
>>>>> With "dimension" do you mean a rectangle coordinate or this 
>>>>> viewport thing? (An exotic feature of PDF)
>>>>>
>>>>> "Zoom up" - do you want to make it bigger? Or do you just mean to 
>>>>> cut it out?
>>>>>
>>>>> Highlight = ? Put a yellow over it?
>>>>>
>>>>> It is possible to crop on a specific area by modifying the cropbox 
>>>>> of a page, then only the cropped area will be seen. It's also 
>>>>> possible to highlight by filling a rectangle and blending this on 
>>>>> top.
>>>>>
>>>>> Tilman
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
>>>>> For additional commands, e-mail: users-help@pdfbox.apache.org
>>>>>
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
>>> For additional commands, e-mail: users-help@pdfbox.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
>> For additional commands, e-mail: users-help@pdfbox.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Mime
View raw message