[poppler] poppler get bounding box of whole content

Albert Astals Cid aacid at kde.org
Wed May 29 14:39:44 PDT 2013


El Dimecres, 29 de maig de 2013, a les 21:54:43, Mihai Niculescu va escriure:
> Hi,
> 
> I am trying to get the bounding box of all content in a page(text,
> images, tables, etc) in poppler, but I can’t figure this out.
> For example, I want to dublicate the result given by ghostscript:
> 
>              gs -sDEVICE=bbox golfer.ps
> 
>   prints out
> 
>              %%BoundingBox: 0 25 583 732
> 
>              %%HiResBoundingBox: 0.808497 25.009496 582.994503 731.809445
> 
> How can this be done with poppler?

Is that the "real" bounding box or one of the pdf boxes (crop, bleed, etc)?

Cheers,
  Albert

> 
> Thanks,
> Mihai
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler


More information about the poppler mailing list