Search found 9 matches

by alex@shopnation.com
2016-09-08T19:50:31-07:00
Forum: Bugs
Topic: Identify fails for remote URL
Replies: 7
Views: 9091

Re: Identify fails for remote URL

I poked around the code here: https://github.com/ImageMagick/libxml/blob/master/uri.c
and decided to workaround this issue by manually URL encoding the following characters before passing the URL to IM:

Code: Select all

{}|\^[]`
by alex@shopnation.com
2016-09-01T18:41:47-07:00
Forum: Bugs
Topic: Identify fails for remote URL
Replies: 7
Views: 9091

Re: Identify fails for remote URL

Is there any way to disable interpretation/globbing the file name/url with IM? We are using the im4java library which calls IM on the command line and would prefer IM to download the files instead of rolling our own file management code and/or calling curl manually. Also I just found out the IM is ...
by alex@shopnation.com
2016-08-31T12:11:32-07:00
Forum: Bugs
Topic: Identify fails for remote URL
Replies: 7
Views: 9091

Re: Identify fails for remote URL

curl also has issues with this url: alexs-MacBook-Pro:~ alex$ curl 'http://images.destinationmaternity.com/dmc?set=ImageURL[2651696cu.jpg],Imagesize[thumb]&call=url[file:sizer]&sink' > test.jpg curl: (3) [globbing] bad range in column 57 unless I add the -g option to disable globbing alexs-MacBook ...
by alex@shopnation.com
2016-08-30T16:35:11-07:00
Forum: Bugs
Topic: Identify fails for remote URL
Replies: 7
Views: 9091

Re: Identify fails for remote URL

Note sure what this has to do with the security issue. I guessed that its something with the URL characters and got this command to work (note brackets are URL encoded): e7450-gd5tf72:keys alex$ identify 'http://images.destinationmaternity.com/dmc?set=ImageURL%5B2651696cu.jpg%5D,Imagesize%5Bthumb%5D ...
by alex@shopnation.com
2016-08-30T12:34:48-07:00
Forum: Bugs
Topic: Identify fails for remote URL
Replies: 7
Views: 9091

Identify fails for remote URL

Identify fails for remote URL. curl, wget, chrome, etc.. get the image OK. image url: http://images.destinationmaternity.com/dmc?set=ImageURL[2651696cu.jpg],Imagesize[thumb]&call=url[file:sizer]&sink e7450-gd5tf72:Downloads alex$ identify -version Version: ImageMagick 6.9.4-9 Q16 x86_64 2016-06-13 ...
by alex@shopnation.com
2014-06-11T21:43:46-07:00
Forum: Bugs
Topic: OS X wrong image signature
Replies: 0
Views: 4047

OS X wrong image signature

I am getting an unexepcted image signature on OS X. Stranger is the fact that I get different output depending on how IM was installed... I also asked my coworkers to run the command (all use OS X) and they also got the wrong result. Arch Linux, Windows, and Amazon Linux give the correct output (I ...
by alex@shopnation.com
2014-06-11T20:18:15-07:00
Forum: Bugs
Topic: WriteBlob Failed
Replies: 3
Views: 9247

Re: WriteBlob Failed

Still having this problem. Decided to work around it by having IM write to a temp file and then read it in java. Here is one other thing I found: I was able to "fix" this issue by using some nasty java reflection hacks to put a sleep right after the convert process was started, but right before the ...
by alex@shopnation.com
2014-06-02T17:06:01-07:00
Forum: Bugs
Topic: WriteBlob Failed
Replies: 3
Views: 9247

Re: WriteBlob Failed

I'm not 100% sure what IM is writing to in this case, but I think its a pipe that is read by the java process. The machine is a amazon c3.large (2 cpus 3.75 GB memory). /tmp is at 2% usage of 14 GB. I moved the unit test that was failing to another part of the file, which caused a different test ...
by alex@shopnation.com
2014-05-30T17:39:15-07:00
Forum: Bugs
Topic: WriteBlob Failed
Replies: 3
Views: 9247

WriteBlob Failed

We are having ImageMagick randomly fail on our production and jenkins server (Amazon Linux AMI release 2014.03). At least one image unit test fails (out of 36) about 75% of the time on jenkins. We cannot reproduce this on our local machines (OS X 10.9.3). In the unit test we are reading the image ...