ImageMagick has a bug which prevents the use of arbitrary strings involving percent signs in output filenames. For example, say if I wanted to use "%d.jpg" as an output filename. The code implies that
convert source.jpg %%d.jpg
would be the way to go, however, this produces an output file called ...
Search found 3 matches
- 2011-01-10T05:42:17-07:00
- Forum: Bugs
- Topic: %% in output filename does not work properly
- Replies: 1
- Views: 5659
- 2010-04-23T08:41:34-07:00
- Forum: Bugs
- Topic: Backslash escaping in GlobExpression()
- Replies: 3
- Views: 7215
Re: Backslash escaping in GlobExpression()
I see you committed a fix in r1719. The fix doesn't appear to work, I assume you didn't test it. May I suggest additionally applying something along the lines of the following patch?
Index: magick/token.c
===================================================================
--- magick/token.c ...
Index: magick/token.c
===================================================================
--- magick/token.c ...
- 2010-04-22T05:17:38-07:00
- Forum: Bugs
- Topic: Backslash escaping in GlobExpression()
- Replies: 3
- Views: 7215
Backslash escaping in GlobExpression()
Backslash escaping is completely broken in GlobExpression(). I have confirmed this in IM 6.5.1 (from Ubuntu) and I have read the code in trunk which strongly suggests that this bug continues up to the current HEAD. There is code there, but all it does is removes the character following the backslash ...