Count white color
Posted: 2012-07-11T11:23:11-07:00
Hello,
Windows user, last version installed.
Reading this link searching a method to identify when my Production fail to generate a PDF file.
Think that counting how many WHITE there is i can easily identify bad file from good one.
Need to count how many white there is, maybe in percert value. Post thumb to help understand problem:

http://static.repubblica.it/laprovincia ... rr/bad.jpg
and pdf files:
http://static.repubblica.it/laprovincia ... r/good.pdf
http://static.repubblica.it/laprovincia ... rr/bad.pdf
Find interesting reply in old post:
cconvert bad.pdf -fill white -opaque white -fill black +opaque white -format "%%[fx:100*mean]" info:
but can't understand how read value.
Anyone can help please?
thank you,
m.
Windows user, last version installed.
Reading this link searching a method to identify when my Production fail to generate a PDF file.
Think that counting how many WHITE there is i can easily identify bad file from good one.
Need to count how many white there is, maybe in percert value. Post thumb to help understand problem:

http://static.repubblica.it/laprovincia ... rr/bad.jpg
and pdf files:
http://static.repubblica.it/laprovincia ... r/good.pdf
http://static.repubblica.it/laprovincia ... rr/bad.pdf
Find interesting reply in old post:
cconvert bad.pdf -fill white -opaque white -fill black +opaque white -format "%%[fx:100*mean]" info:
but can't understand how read value.
Anyone can help please?
thank you,
m.