Search found 13 matches

by discretiongrove
2013-02-24T22:01:55-07:00
Forum: Users
Topic: Converting PDF to image results in hidden differences
Replies: 20
Views: 17856

Re: Converting PDF to image results in hidden differences

According to my installation it's 9.05. When I open the console it says "GPL Ghostscript 9.05 (2012-02-08)". Update: Interesting, this site http://pages.cs.wisc.edu/~ghost/ has GS up unto 9.02, Sourceforge has 9.05 as the latest version(so I think that's where I downloaded it) but there's even a lat...
by discretiongrove
2013-02-24T17:53:46-07:00
Forum: Users
Topic: Converting PDF to image results in hidden differences
Replies: 20
Views: 17856

Re: Converting PDF to image results in hidden differences

Hey there, I'll be doing some other tasks now so I'd go back here once I have some free time again. I just came here to confirm to you that both PNG and TIFF has their transparency retained when converting the PDFs. You've done lots for me, this is the least I can do(hey, thanks! :) ). Here's the PD...
by discretiongrove
2013-02-22T00:07:14-07:00
Forum: Users
Topic: Converting PDF to image results in hidden differences
Replies: 20
Views: 17856

Re: Converting PDF to image results in hidden differences

Wow, I did not notice that the next reply is on a new page. pnmraw huh? I'll try that one.

Actually I'm converting PDFs to multiple images. The PDF contains more than 2 pages.
by discretiongrove
2013-02-21T20:00:29-07:00
Forum: Users
Topic: Converting PDF to image results in hidden differences
Replies: 20
Views: 17856

Re: Converting PDF to image results in hidden differences

Well, I tried changing that configuration to pngraw and when I tried to convert the PDF to PNG I got this error: Unknown device: pngraw Unrecoverable error: undefined in .uninstallpagedevice About my conversion to JPG I just use the simplest conversion method in ImageMagick convert PDF.pdf PDF.jpg I...
by discretiongrove
2013-02-21T18:08:02-07:00
Forum: Users
Topic: Converting PDF to image results in hidden differences
Replies: 20
Views: 17856

Re: Converting PDF to image results in hidden differences

Hi snibgo, I'm drawing the black boxes through PIL. Now that you made an example of it, I haven't tried using ImageMagick to draw the black boxes. Hi fmw42, well I did just that but the problem is if some of the elements are really close to each other then the whites get differences too. See the ima...
by discretiongrove
2013-02-21T01:08:28-07:00
Forum: Users
Topic: Converting PDF to image results in hidden differences
Replies: 20
Views: 17856

Re: Converting PDF to image results in hidden differences

Hey there, I've finally duplicated the errors. Now I think I'm correct in assuming that there are phantom colors that surround the text that are invisible to the naked eye. Here are the PDFs: http://totaldrench.files.wordpress.com/2013/02/pdf1.pdf http://totaldrench.files.wordpress.com/2013/02/pdf2....
by discretiongrove
2013-02-20T23:30:33-07:00
Forum: Users
Topic: Converting PDF to image results in hidden differences
Replies: 20
Views: 17856

Re: Converting PDF to image results in hidden differences

Update: I tried converting to PNG and TIF and here are the results: PNG - converting to this format and comparing them through the ImageMagick commands I specified above resulted in a value of 64. It is also worth noting that the output of the difference is the same as the JPG version. TIF - convert...
by discretiongrove
2013-02-20T23:14:26-07:00
Forum: Users
Topic: Converting PDF to image results in hidden differences
Replies: 20
Views: 17856

Re: Converting PDF to image results in hidden differences

I'm sorry if I'm not clear. Now that you've mentioned it, the fuzz factor could affect my comparisons. Using a fuzz factor of 5 would not detect a stray dot or a comma as a difference then? Here's the verbose information of the PDF that I got using ImageMagick: PDF1 Image: 1.pdf Format: PDF (Portabl...
by discretiongrove
2013-02-20T22:43:24-07:00
Forum: Kudos and Rants
Topic: Thanks ImageMagick! Truly Magical!
Replies: 0
Views: 19046

Thanks ImageMagick! Truly Magical!

I've been looking for a way to test PDFs without having to rely on human intervention by automating stuff and I thought of converting the PDFs as images to compare them using other means. Well, ImageMagick is the simplest and best solution out there, best of all, it's free! I tried Ghostscript but i...
by discretiongrove
2013-02-20T22:34:01-07:00
Forum: Users
Topic: Converting PDF to image results in hidden differences
Replies: 20
Views: 17856

Re: Converting PDF to image results in hidden differences

Hey there, this is quite an update. I don't know how but it seems that if I use ImageMagick to compare and do this:

Code: Select all

compare -metric AE -fuzz 5% 1A.jpg 1B.jpg output.jpg
The value returned is 0 meaning there are no differences! :)
by discretiongrove
2013-02-20T22:29:33-07:00
Forum: Users
Topic: Converting PDF to image results in hidden differences
Replies: 20
Views: 17856

Re: Converting PDF to image results in hidden differences

I tried comparing the two images using ImageMagick and viewing the differences by specifying a difference image output and here are the results which are the same as Beyond Compare's: http://i1359.photobucket.com/albums/q791/BLGotSoul/i4_zpsbb95a395.jpg http://i1359.photobucket.com/albums/q791/BLGot...
by discretiongrove
2013-02-20T19:53:17-07:00
Forum: Users
Topic: Converting PDF to image results in hidden differences
Replies: 20
Views: 17856

Re: Converting PDF to image results in hidden differences

The Ghostscript installed seems to be 9.05. How would one be able to discern if an image is indeed CMYK? I tried saving the images into different file formats such as BMP, PNG and GIF and I think with some of them the discrepancies seem to get reduced but it never goes away completely. The PDF does ...
by discretiongrove
2013-02-20T18:27:40-07:00
Forum: Users
Topic: Converting PDF to image results in hidden differences
Replies: 20
Views: 17856

Converting PDF to image results in hidden differences

Hi there. I'm new with ImageMagick and have been using it to convert PDFs to jpgs to compare them through Python's Imaging Library(PIL). However, when I do the compare two supposedly identical images don't match. There's an option in PIL to show the difference and the difference is shown as white in...