Code: Select all
grep -c -i "/image" thisfile.pdf
Code: Select all
grep -c -i "/image" thisfile.pdf
That's brilliant! Makes for a lovely hack. I'll try with a few pdf files and see what works best; thanks for the lead!! I'll update this when I find something out.whugemann wrote:A quick check by myself offered "image/width" as a possible string to search for.
Could you please suggest how this might work? I'm not so good with SED and i'm not sure what to search for.whugemann wrote:As PDF is pure ASCII text, you could use a simple text processor such as SED or even the operating system's text filter commands to perform this job
So LCMS is missing then yeah?DELEGATES bzlib fontconfig freetype jpeg jng png rsvg tiff x11 xml wmf zlib
fmw42 wrote:You have to do that via fx escapes. seeYou Sir are amazing! I didn't find the mean.r/g/b references in the -format page! THANK YOU!!
http://www.imagemagick.org/Usage/transform/#fx_escapes
and
http://www.imagemagick.org/script/fx.php