Hi, Am 13.02.2013 23:08, schrieb Florian Fleischer:
hi, thx for the quick answer .... here comes the pdf.....
It didn't make it ot the mailing list due to some restrictions, but I got it as you cc'ed me.
-------------------------------------------------------------------------------- *Von:* Andreas Lehmkuehler <[email protected]> *An:* [email protected] *Gesendet:* 22:47 Mittwoch, 13.Februar 2013 *Betreff:* Re: Why is PDFBox deleting a rectangle line when converting to Image file Hi, Am 13.02.2013 19:36, schrieb Florian Fleischer: > hi, > I try to convert a pdf to an image file.... it works fine, but it deletes a line in one of the rectangles.... I can't figure out why..... > > plse see also refernce http://stackoverflow.com/questions/14860311/why-is-pdfbox-deleting-a-rectangle-line-when-converting-to-image-file Maybe an issue with the resolution of the target image. But without having a hand on the pdf this is just a guess. Can you provide us with the pdf in question?
It works fine for me using PDFReader and PDFToImage. Maybe you should try the ImageIOUtil class coming with PDFBox to save the image. It provides a simple method to using a specific resolution, which is IMHO the key to solve your issue.
> regards > > > Florian
BR Andreas Lehmkühler

