Search found 9 matches

by ajfclark
2016-05-22T22:16:22-07:00
Forum: Bugs
Topic: ImageMagick on armhf fails to read labels or captions from file
Replies: 17
Views: 9094

Re: ImageMagick on armhf fails to read labels or captions from file

Interesting. I went back and downloaded the source tarball that the armhf deb package was built from. If I compile that, caption:@- operates as expected: pi@raspberrypi:~/src/ImageMagick-6.8.9-9 $ ./utilities/convert -background lightblue -fill blue -pointsize 12 -size 320x caption:@- caption_file ...
by ajfclark
2016-05-22T20:55:26-07:00
Forum: Bugs
Topic: ImageMagick on armhf fails to read labels or captions from file
Replies: 17
Views: 9094

Re: ImageMagick on armhf fails to read labels or captions from file

This is just telling you where your policy.xml file reside, not what is in it. What do you get from cat /etc/ImageMagick-6/policy.xml It was copied from one machine to the other via scp and they both have the same md5sum so they are identical. The only non comment lines in the policy map is ...
by ajfclark
2016-05-22T19:42:34-07:00
Forum: Bugs
Topic: ImageMagick on armhf fails to read labels or captions from file
Replies: 17
Views: 9094

Re: ImageMagick on armhf fails to read labels or captions from file

amd64: aclark@corydoras:~$ convert -list resource File Area Memory Map Disk Thread Throttle Time -------------------------------------------------------------------------------- 49152 7.8779GB 3.6684GiB 7.3369GiB unlimited 4 0 unlimited aclark@corydoras:~$ armhf: pi@raspberrypi:~ $ convert -list ...
by ajfclark
2016-05-22T19:25:08-07:00
Forum: Bugs
Topic: ImageMagick on armhf fails to read labels or captions from file
Replies: 17
Views: 9094

Re: ImageMagick on armhf fails to read labels or captions from file

I suspect (though I could be wrong) that "-" from the keyboard is an operating system facility, not an IM facility. I think IM sees "-" and asks the O/S for input from stdin. The O/S then resolves that into a pipe or the keyboard or whatever. Fred: in XML, <!-- ... --> denote comments, which should ...
by ajfclark
2016-05-22T18:45:45-07:00
Forum: Bugs
Topic: ImageMagick on armhf fails to read labels or captions from file
Replies: 17
Views: 9094

Re: ImageMagick on armhf fails to read labels or captions from file

Ah-ha! It does allow reading from an actual file though, just not from STDIN or piped in data. This resolves my actual issue, but I'm interested why caption:@- doesn't work as expected.

Do I need a special policy entry to allow reading from STDIN?
by ajfclark
2016-05-22T18:21:45-07:00
Forum: Bugs
Topic: ImageMagick on armhf fails to read labels or captions from file
Replies: 17
Views: 9094

Re: ImageMagick on armhf fails to read labels or captions from file

Your policy.xml file may preclude your use of @. See the recent comments about enhanced security in the Developer section regarding the new fixes and policy.xml. Ok, so the policy.xml file is different on the two machines which might explain the reason convert isn't prompting for a string, however ...
by ajfclark
2016-05-22T06:29:52-07:00
Forum: Bugs
Topic: ImageMagick on armhf fails to read labels or captions from file
Replies: 17
Views: 9094

Re: ImageMagick on armhf fails to read labels or captions from file

On Windows, the construct "caption:@-" when there isn't a pipe will wait for keyboard entry, terminated by ctrl-Z. I don't know if that works on all platforms. Reading from files should work on all platforms, I suppose. This is exactly what I was expecting it to do, and it does do on one of my ...
by ajfclark
2016-05-22T06:28:41-07:00
Forum: Bugs
Topic: ImageMagick on armhf fails to read labels or captions from file
Replies: 17
Views: 9094

Re: ImageMagick on armhf fails to read labels or captions from file

convert -background lightblue -fill blue -pointsize 12 -size 320x caption:@- caption_file.gif From where is the standard in coming? The console. Your policy.xml file may preclude your use of @. See the recent comments about enhanced security in the Developer section regarding the new fixes and ...
by ajfclark
2016-05-20T23:49:20-07:00
Forum: Bugs
Topic: ImageMagick on armhf fails to read labels or captions from file
Replies: 17
Views: 9094

ImageMagick on armhf fails to read labels or captions from file

I have been having some issues getting captions to work with imagemagick on an armhf machine. As per http://www.imagemagick.org/Usage/text/#caption_paragraphs I was trying to get the captions to read in from a file. On my amd64 machine, the following works and prompts on stdin for the caption ...