Search found 4 matches

by gopsmaheta99
2017-07-17T04:23:45-07:00
Forum: IMagick
Topic: How to count pdf color or bw pages using php except imagemagic?
Replies: 5
Views: 10297

Re: How to count pdf color or bw pages using php except imagemagic?

i found this one and its working fine but the count of color pages and b/w pages are not showing proper comparing to convert command used for separate pdf pages to image and checking into image. Can anyone help me ? $result = exec('convert ./uploads/images/temporders/'.$filename.' -colorspace HSL -f...
by gopsmaheta99
2017-07-12T01:37:11-07:00
Forum: IMagick
Topic: How to count pdf color or bw pages using php except imagemagic?
Replies: 5
Views: 10297

Re: How to count pdf color or bw pages using php except imagemagic?

Thank you again to helping me out. I got that no need to convert each page of pdf into image but suppose i have 10 page pdf how can i get value for separate page. For pdf page 1 -> color pdf page 2 -> b/w pdf page 3 -> color hence 2 color page and one b/w page. $result = $imagick2->readImage($inputF...
by gopsmaheta99
2017-07-12T00:54:25-07:00
Forum: IMagick
Topic: How to count pdf color or bw pages using php except imagemagic?
Replies: 5
Views: 10297

Re: How to count pdf color or bw pages using php except imagemagic?

Thanks for reply. I got your point but suppose i have 5 page pdf then how can i check how many pages are color and how many are black& white.?? I want separate value for each page. Can you help me with this because i stuck on this issue since last month. I have 5000 page pdf and it runs on server it...
by gopsmaheta99
2017-07-11T00:13:17-07:00
Forum: IMagick
Topic: How to count pdf color or bw pages using php except imagemagic?
Replies: 5
Views: 10297

How to count pdf color or bw pages using php except imagemagic?

I have one function to first conver each pdf page as image and then check into image that is colored or not . So below executed command takes time because it in for loop and it cause server hang or takes it down. So i want to found alternative way for it. function getPDFInfo($file, $product_id) { tr...