Считает быстро. Правда Акробат придется покинуть.Features include: count words
плагин PDF Paper StatsNo extra 3rd party software required for this to work.
Acrobat Plug-in that provides statistical counts of the number of words, characters (with or without spaces), pages and images.
<hit type="Image" page="PAG0" llx="92.824" lly="602.452" urx="181.146" ury="735.655">
<imagestate image_id="IMG133" v_ppi="299.993" h_ppi="299.993"></imagestate>
Забавно, если выполнить экшн питстопаС площадью, занятой картинками
my $_ = `c:\\pdftk.exe $ARGV[0] output - uncompress`;
my $S = 0;
while ( /
((?:\+|-)?(?:\d+(?:\.\d*)?))\s
(?:(?:\+|-)?(?:\d+(?:\.\d*)?)\s){2}
((?:\+|-)?(?:\d+(?:\.\d*)?))\s
(?:(?:\+|-)?(?:\d+(?:\.\d*)?)\s){2}
cm\n\/\w+\sDo
/gx)
{
$S += $1 * $2
};
printf "%s %.0f %s", "\n\nLooks like total pictures area is", $S/72/72*2.54*2.54, "sq cm\n";