Search found 2 matches
- 2019-02-07T17:24:23-07:00
- Forum: Bugs
- Topic: %d escape problem when used with Image Property Percent Escapes
- Replies: 2
- Views: 8825
- 2019-02-07T13:18:12-07:00
- Forum: Bugs
- Topic: %d escape problem when used with Image Property Percent Escapes
- Replies: 2
- Views: 8825
%d escape problem when used with Image Property Percent Escapes
Minimal example that exhibits the problem:
convert rose: 'rose_%d.png'
# Resulting filename: rose_0.png (as expected)
convert rose: -set filename:mysize "%wx%h" 'rose_%[filename:mysize]_%d.png'
# Resulting filename: rose_70x46_%d0.png
# Why is '%d' in the output filename?
# Expected: rose_70x46_0 ...
convert rose: 'rose_%d.png'
# Resulting filename: rose_0.png (as expected)
convert rose: -set filename:mysize "%wx%h" 'rose_%[filename:mysize]_%d.png'
# Resulting filename: rose_70x46_%d0.png
# Why is '%d' in the output filename?
# Expected: rose_70x46_0 ...