On Wed, Jan 30, 2013 at 12:28 PM, Florian Fleischer <flosser...@yahoo.de>wrote:
> Hi, > > I am wondering if it is possible with PDFBox to get the coordinates of a > graphic object such as Rectangle, Line etc.... if not, is there any > chance to wait for it in a new version of PDFBox. > Best Regards > PDF creates Text (normally single characters), Paths (one or more curves which may or may not be straight lines and may or may not be closed or intersecting), and Pixel (Bit) maps. There are no rectangles or lines or circles as such. You have to guess these from the paths. We do this in http://bitbucket.org/petermr/pdf2svg and other sibling projects. We aim to extract high-level graphical objects from these paths. It's all F/OSS - you are welcome to use what we have so far. I am not aware of others doing the same at least in Open projects. P. > Florian -- Peter Murray-Rust Reader in Molecular Informatics Unilever Centre, Dep. Of Chemistry University of Cambridge CB2 1EW, UK +44-1223-763069