Search found 289 matches

by whugemann
2012-01-21T00:20:13-07:00
Forum: Users
Topic: no decode delegate for this image format `test.pdf'
Replies: 15
Views: 50777

Re: no decode delegate for this image format `test.pdf'

"WAMP" is just an Acronym for Windows, Apache, MySQL, PHP. There are several WAMPs, see http://en.wikipedia.org/wiki/Comparison_of_WAMPs , so which package are you talking about? The source of error surely is the interplay between IM and GS. I guess you will have tested a simple IM command...
by whugemann
2012-01-20T08:37:04-07:00
Forum: Users
Topic: no decode delegate for this image format `test.pdf'
Replies: 15
Views: 50777

Re: no decode delegate for this image format `test.pdf'

What WAMP package you are using? I've just checked and also found Apache version 2.2.21. Thus my configuration is pretty much like yours, except for the GS version. Some time ago I encountered some problems in the collaboration of GS 9.x and IM, so I stuck with version 8.70 (and not 8.64 as I mentio...
by whugemann
2012-01-19T23:34:51-07:00
Forum: Users
Topic: no decode delegate for this image format `test.pdf'
Replies: 15
Views: 50777

Re: no decode delegate for this image format `test.pdf'

I've just tested it under Windows XP SP3. I freshly installed XAMPP 1.7.7 [PHP 5.3.8]. It works just fine with IM 6.7.4-7 and GS 8.64. I easily converted a PDF into a PNG. Instead of dumping any output to this forum, you should perhaps give some more information about your Windows version (32 bit, I...
by whugemann
2012-01-19T22:19:17-07:00
Forum: Users
Topic: Excract images from pdf/scan/etc
Replies: 4
Views: 8593

Re: Excract images from pdf/scan/etc

See especially the section http://www.imagemagick.org/Usage/windows/#auxiliary. Reading it anew I have to correct myself that pdfimages is not only intended for the extraction of JPEG images, but will in fact extract all raster images from a PDF, if it's not protected by an unknown password.
by whugemann
2012-01-19T01:47:38-07:00
Forum: Users
Topic: no decode delegate for this image format `test.pdf'
Replies: 15
Views: 50777

Re: no decode delegate for this image format `test.pdf'

The path to the Ghostsript DLL is read from the registry at runtime and there seems to be something wrong when you read the registry via Apache (aka XAMPP). You should check where the debug outputs of the two approaches (command line vs. XAMPP) deviate. Could it be that WAMP is not granted the same ...
by whugemann
2012-01-16T13:44:42-07:00
Forum: Users
Topic: Detection of x-axis and y-axis on a diagram
Replies: 8
Views: 14794

Re: Detection of x-axis and y-axis on a diagram

This does work, indeed, although it's very slow. I drew a simply 7x7 gif showing a black cross, then performed the following command: compare -metric RMSE -subimage-search plug3p.gif cross.gif null: and if gave the correct coordinates, i.e. 60,9, obviously referring to optimal placement of the upper...
by whugemann
2012-01-16T06:34:13-07:00
Forum: Users
Topic: Detection of x-axis and y-axis on a diagram
Replies: 8
Views: 14794

Re: Detection of x-axis and y-axis on a diagram

I think this should work if you search for the crosses in the edges of the frame which exist only four times in the image. If you cut the image to quarters and then search for the cross via Compare, the textual output should provide the right coordinates. With these coordinates you could just draw t...
by whugemann
2012-01-14T09:58:15-07:00
Forum: Users
Topic: CYGWIN and -liquid-rescale, how do I make it work ?
Replies: 3
Views: 8324

Re: CYGWIN and -liquid-rescale, how do I make it work ?

I've just tested it in a normal CMD box and got the same error. It seems like the delegate is not part of the precompiled Windows version until now, see http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=20166 . This has probably nothing to do with Cygwin. If the developers decided ...
by whugemann
2012-01-12T04:57:46-07:00
Forum: Users
Topic: Domain user vs Local user
Replies: 2
Views: 9691

Re: Domain user vs Local user

When converting PS and PDF files, IM relies on Ghostscript. I believe that the GS installation path is looked up in the registry at runtime, see http://www.imagemagick.org/Usage/windows/#IM_setup . It seems like you get the wrong path when working remotely. As a start, I would try to invoke GS alone...
by whugemann
2012-01-08T08:10:39-07:00
Forum: Users
Topic: EXIF data and globbing
Replies: 0
Views: 3221

EXIF data and globbing

I have just studied http://www.imagemagick.org/Usage/photos/#exif and experimented with various globbing expression. I found that identify -format "%[EXIF:Date*]" hc.jpg yields no results, but identify -format "%[EXIF:*Date*]" hc.jpg does. I would rather expect the former express...
by whugemann
2012-01-05T11:16:21-07:00
Forum: Users
Topic: PDF to JPG : images cropped without reason
Replies: 14
Views: 32820

Re: PDF to JPG : images cropped without reason

I found two problems, but both were simple configuration incompatibilities. ghostscript is called gswin32c.exe and gswin64c.exe depending on which version. either change the xml or copy the exe (create a copy of gswin32c.exe and call it gswin64c.exe or vise versa). The other problem was the -q swit...
by whugemann
2012-01-05T11:12:28-07:00
Forum: Users
Topic: PDF to JPG : images cropped without reason
Replies: 14
Views: 32820

Re: PDF to JPG : images cropped without reason

I found two problems, but both were simple configuration incompatibilities. ghostscript is called gswin32c.exe and gswin64c.exe depending on which version. either change the xml or copy the exe (create a copy of gswin32c.exe and call it gswin64c.exe or vise versa). The other problem was the -q swit...
by whugemann
2012-01-04T10:23:38-07:00
Forum: Users
Topic: Adjusting the size of an image based on a second image
Replies: 5
Views: 12533

Re: Adjusting the size of an image based on a second image

But a problem arouse : the DOS batch variables do not allow non-integer values Can that be changed or something? DOS environment variables just store strings, which IM's fx operator may interpretate as real values, see http://www.imagemagick.org/Usage/windows/#calculations . You are right in so far...
by whugemann
2012-01-04T10:18:19-07:00
Forum: Users
Topic: PDF to JPG : images cropped without reason
Replies: 14
Views: 32820

Re: PDF to JPG : images cropped without reason

If it is scans that are wrapped into a PDF, it's better to use PDFimages to extract them again, which happens lossless in this case. If you are lucky, every page is a single JPEG. (If you're not, the scans were cut into horizontal stripes before they were wrapped into the PDF.) So give PDFimages a t...
by whugemann
2012-01-02T18:48:46-07:00
Forum: Developers
Topic: IM limitation and the Windows registry
Replies: 3
Views: 9961

Re: IM limitation and the Windows registry

Right now, IM's Windows setup programm seems to write registry keys exclusively to HKCU instead of HKLM (at least version 6.7.4-2 on my Vista computer). This breaks code like presented in http://www.imagemagick.org/Usage/windows/#debugging , where the installation path is read from the registry. Is ...